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 |
what is the input to PLAN? what is the input to DBRM?
What are the various locks available?
How can you display the current date & current time ?
What is a predicate?
What does the RUNSTATS Utility do?
how can u nderstand the sql stmts executed successfully or not ?
How can we retrieve the total number of records in RPG & CLLE?
What is load utility in db2?
what is sql abend code -801,-802?
What is null indicator in cobol db2?
Are view updateable?
How could one combine a set of incremental image copies into a single copy?