How to see the structure of db2 table??
Answers were Sorted based on User's Feedback
Answer / kc
SELECT colName,TypeName FROM SYSCAT.COLUMNS WHERE TABSCHEMA = <database> AND TABNAME =<tablename>
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / s
Select the catalog table SYSIBM.SYCOLUMNS for a particular
table.
Is This Answer Correct ? | 21 Yes | 26 No |
Answer / prem
Use the Describe command
eg: Describe table <tablename>
Is This Answer Correct ? | 38 Yes | 47 No |
Answer / ram prajapati
select * from SYSIBM.SYCOLUMNS where tbname='tablename';
run this querry... or
go to dclgen .... option m.11.2 in the ispf command prompt n
see the structure directly in any mentioned ps file
Is This Answer Correct ? | 11 Yes | 20 No |
How can you get the number of rows impacted by the last executed query?
Is db2 a programming language?
What is the maximum number of tables that can be stored on a Partitioned Table Space ?
What does an outer join do?
How does db2 sample database connect?
i hav created a program and moved to production but failed to create the table which is been used in the program. the program shows error as soon as it is moved or installed in production or shows error during its runtime. what is the sqlcode for this error
What is innodb buffer pool?
In a single table,How to retrieve a employee-id of an employee who works in more than one department?
What is DYNSLT keyword? How do you perform selection using DYNSLT
Before you give the explain statement, what are the prerogatives?
what is different three logs in DB2?
Define sqlca.