How to know the primary key of a table without defining the
primary key in the table?
Answer Posted / ambika
u can use sysibm.syskeys to view the primary key of a
particular table provided if u have declared any attribute
as NOT NULL. if there are multiple columns of such kind u
the above procedure wont help.
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
i tried to copy some records from microsoft excel to as-400 physical file through "Bosanova" emulation. Out of 14000 records only 12000 records copies and subsequently programe started to hang. Then, i closed the program forcefully. I did' under stand the problem. Also when i try to compile the physical file it is showing as "The file in use". How to overcome this problem?
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
Explain packages.
What is a page in db2?
Describe major components of db2?
What do you mean by commit and rollback?
What is the syntax for FETCH in DB2 ?
How do I create a view in db2?
What is sqlca’s maximum length?
When reorg is used?
How do you pull up a query which was previously saved in qmf?
Can we update view in db2?
What is load utility in db2?
What is innodb buffer pool?
How can you find out the # of rows updated after an update statement?