how to u check the query is executing or not ?where will u check for sqlcode ?

Answer Posted / lu

OH man...everytime, you execute a sql statement, u have to
check you SQLCODE = 0 or not = 0....this a basic using DB2,
Oracle....

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What os does db2 run on?

574


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

630


On which levels locks can be applied?

659


What are the two types of logging in the db2 database? Explain them.

582


How can you quickly find out the # of rows updated after an update statement?

634






Mention the various locks that are available in db2.

616


Can we insert update delete in view?

579


What is host variable?

597


How to find schema of a table in db2?

572


What is sqlca’s maximum length?

678


What is the max length of sqlca?

768


What is innodb buffer pool?

564


Can you use max on a char column?

638


How do you eliminate duplicate values in db2?

688


What parameters are used to control the free space in DB2?

642