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
How can we read records for specific member in CL? AND rpg?
How do I change the column size in db2?
How do I add a column to a table in db2?
How to restart a DB2 program?
What are the various isolation levels possible?
Why do we bind in db2?
What action db2 takes when a program aborts in the middle of a transaction?
Is db2 relational database?
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well
What are union and union all?
What is commit in db2?
How does coalesce work?
What is the difference between drop table and delete table?
What is the difference between plan and package in db2?
Mention data types used in db2 ?