db2-luw Questions

6

Solved

I am trying to rename a table in db2 like so rename table schema1.mytable to schema2.mytable but getting the following error message: the name "mytable" has the wrong number of qualifiers.. SQL...
Blowtube asked 15/11, 2013 at 15:8

3

Solved

I am using db2 9.5 i have created a column in table which is created successfully but i am not able to update table column and getting following error [Error] Script lines: 1-1 -----------------...
Mulch asked 5/12, 2013 at 9:25

2

Solved

I have a DB2 database (let's call it mydb) that I would like to delete. However, when I do db2 drop db mydb I get back SQL1035N The operation failed because the specified database cannot be con...
Brahear asked 29/6, 2016 at 9:50

1

Solved

I am trying to create a user-defined function that returns a table in DB2. Here is what I have so far. This is a table that I use: CREATE TABLE "CORPDATA"."EMPLOYEE" ( "EMPNO" CHAR(6) NOT NULL, ...
Racquelracquet asked 16/8, 2017 at 18:4

7

Is there a built in function for comma separated column values in DB2 SQL? Example: If there are columns with an ID and it has 3 rows with the same ID but have three different roles, the data shou...
Ferrick asked 25/8, 2011 at 10:7

4

Solved

I need a query which will output a list of dates between two given dates. For example, if my start date is 23/02/2016 and end date is 02/03/2016, I am expecting the following output: Date ---- 23...
Broyles asked 23/2, 2016 at 13:21

2

Solved

I want to know the columns (names) which belong to each unique constraint. I can easily find the constraints and the tables names in syscat.tabconst. However I can't find the columns names.
Estellaestelle asked 7/7, 2015 at 14:36

4

Solved

I am having problem with DB2. I just installed the db2 as a db2admin and with a password. When i try to connect to database it is success full and while running any simple select query it give me f...
Catholicism asked 19/10, 2009 at 13:33
1

© 2022 - 2024 — McMap. All rights reserved.