Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / 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

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

Answer / raghavan.jcs

In both case, It will show SQLCODE +100.
As No row found condition is satisfied here

Is This Answer Correct ?    10 Yes 12 No

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

Answer / ekalavya

In Both the cases it's ZERO.

Is This Answer Correct ?    1 Yes 15 No

Post New Answer

More DB2 Interview Questions

Can we install 2 different versions of Db2 on same mainframe?

3 Answers  


When would you prefer to use VARCHAR?

3 Answers  


wt is view ? wht r the restrictions for view ?

3 Answers   Verizon,


What is the syntax of SELECT statement when embedded in a COBOL program?

2 Answers  


What is cursor?

2 Answers  


What is universal database?

0 Answers  


What is a data page?

1 Answers  


Can All Users Have The Privilege To Use The SQL Statement Select (DML)?

1 Answers  


What is QUIESCE?

2 Answers  


Can DASD types assigned to storage groups be intermixed (i.e., 3350s and 3380s)?

1 Answers  


What is the information associated with sysibm.syslinks table?

0 Answers  


What is the use of db2?

0 Answers  


Categories