If there is no row in Emp table with Ename as Raghava and
you run the below queries in SPUFI.

1.select Ename from EMP wher Ename = 'raghava'
2.Select count(*) from EMP where Ename = 'raghava'

What is SQLCODE shown up in SPUFI

Answer Posted / guest

For 1st query the sql code will +100
for second query the count is zero and sql code is 0

Is This Answer Correct ?    30 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to execute stored procedures?

854


What is the use of reorg in db2?

825


What is load utility in db2?

893


What os does db2 run on?

752


What's The Percentage Free Space ?

962


Is db2 relational database?

739


Can you tell me how can you find out the # of rows updated after an update statement?

868


What is alias in db2?

803


What is consistency token in db2?

875


What is null indicator in db2?

843


What do you mean by storage group (stogroup)?

771


List down the types of triggers in the db2 database?

784


Are view updateable?

821


What is the use of dclgen in db2?

802


What are the various data types available in db2?

819