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...


In SPUFI suppose you want to select maximum of 1000 rows,
but the select returns only 200 rows. What are the 2
SQLCODEs that are returned?



In SPUFI suppose you want to select maximum of 1000 rows, but the select returns only 200 rows. Wh..

Answer / rajesh melwani

Spufi returns two SQLCODEs as following:
{1} Return code of query
{2} Return code based on limit of Spufi

In the above case, if rows returned are less than limit,
then SQLCODE will be +0 for {1} and +100 for {2}.

If rows fetched are more but because of Spufi limit only
few rows are displayed and +0 will be returned for {1} and
{2}.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More DB2 Interview Questions

What are some SQL aggregates and other built-in functions?

2 Answers  


db2 restart logic ?

1 Answers   DELL, HTC, UHG,


what are the max. & min. no. of partitions allowed in a partition tablespace?

2 Answers   IBM,


What do the initials DDL and DML stand for and what is their meaning?

2 Answers  


What is the purpose of the SDSNLOAD dataset in the STEPLIB while running DB2 programs?

2 Answers  


What is a NULL value? What are the pros and cons of using NULLS?

2 Answers  


What is the physical storage length of the data types date, time, and timestamp?

0 Answers  


How can you count the number of rows from a table tab?

0 Answers  


What is an intent lock?

3 Answers  


how to check the table is empty or not?

3 Answers   IBM,


What is a trigger in the db2 database?

0 Answers  


What is database manager in db2?

0 Answers  


Categories