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


What is the SQL Communications Area and what are some of
its key fields?



What is the SQL Communications Area and what are some of its key fields?..

Answer / s

SQL CA is a collection of variables that is updated after
the execution of an SQL statement.

SQLCODE - SQL return code indicates if the execution was
successful or not and no data found conditions.
SQLSTATE - SQL return codes that can be used to test
specific error conditions.
SQLERRD(3)-Contains the no. of rows updated/inserted/deleted

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More DB2 Interview Questions

Hi i need to write a query on the following requirement. SELECT COMM_TEXT INTO :WS_MIKM_COMM_TEXT FROM MPIPROD.MIKMV01 WHERE ACCOUNT_NO = :WFD_ACCOUNT_NO AND (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT AND SUBSTR(COMM_TEXT,47,14) = :WS_DENY_DESC) OR (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT) The above query is to be modified. The requirement is if both the fields are equal then that has to be given priority. In the above query if it satisfies any one it comes out without checking if both being equal is possible.

1 Answers  


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

0 Answers  


What is an alias and how does it differ from a synonym?

3 Answers  


What is the maximum No of rows per page?

0 Answers   IBM,


What is the difference between nvl and coalesce?

0 Answers  


What are the two types of logging in the db2 database? Explain them.

0 Answers  


What db2 400?

0 Answers  


In terms of DB2 indexing, what is the root page?

1 Answers  


Is db2 a database?

0 Answers  


Can SQL statements/queries be included in a copybook?

2 Answers  


Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference

0 Answers  


What are the contents of a dclmgen?

0 Answers  


Categories