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 / krishna
2)when using count(*) it give always sql code 0 only
1)depending upone the rows if rows are their give 0
if not give 100
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
List down the types of triggers in the db2 database?
How do you select a row using indexes in db2?
What is ibm db2 used for?
What is the use of commit in db2?
What is nvl in db2?
Which is faster delete or truncate?
Explain in brief how does db2 determine what lock-size to use?
How does db2 sample database connect?
Explain the function of data manager.
Why select is not preferred in embedded sql programs?
what is a corelated subquerry?
What is a plan and package in db2?
Name the various locking levels available?
before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?
Where can you declare a cursor in a cobol-db2 program?