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

DB2 Interview Questions
Questions Answers Views Company eMail

What is the maximum length of a column name in DB2? 18 or 30 or anything other than these?

4 22409

Can a primary key have null values? If we try to insert a null value in a primary key column, will it work or give an error code?

6 22643

Can a unique index have more than one null value? If not, what error code is given if an attempt is made to insert more than one null value?

3 7922

Is it possible to update a primary key value? If not, what is the error code given? If yes, can more than 1 primary key column be updated at a time?

8 27103

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 3718

Suppose if I need to update a column, how you do that using cursor?

Verizon,

2 8418

Suppose the outcome of executing a query results in a row having null. Based on the answer how you use it? Its declaration and inclusion?

Verizon,

2 6530

For unmatched rows returned from an outer join, the column values in the other table are set to null e.g If A OUTER JOIN B returns some unmatched rows from A, the corresponding column values in B will be set to null. What can be done so that a null value is not displayed for these columns?

3 6869

How to define the a field which accepts value till 99999.99 in db2

3 8870

i want to know how the commit option works,how it save the changes? it will update the database or what ? where we can see these saved changes?

4 7411

I have 3 cursors declared. Cursor1 retieves some data. Based on this curso2 will also fetches some data. In cursor3 (using for some updation) I'm using the data retrieved by the above 2 cursor. My question is, while working with cursor3, periodically if I give commit, will all the three crsors will be closed or only cursor3 will be closed?

4 9652

How to resolve -805 error in DB2?

Cap Gemini,

1 36339

How to resolve -803 sql code in DB2?

Cap Gemini,

3 44559

How to resolve -818 sql code in DB2?

Cap Gemini,

2 24582

How to resolve -502 sql code in DB2?

Cap Gemini,

2 25438


Post New DB2 Questions

Un-Answered Questions { DB2 }

Mention the definition of cobol in varchar field.

1315


What is the default page size of buffer pools?

1164


How do you simulate the explain of an embedded sql statement in spufi/qmf?

1138


What does db2 blu stand for?

1214


What are the 2 sqlcodes that are returned?

1232


what are bind concepts in db2 cobol?

1137


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

1311


What is the difference between db2 and oracle?

1175


Explain in brief how does db2 determine what lock-size to use?

1085


SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

2722


What is the function of logging in the db2 database?

1172


can we view the access paths created by dbrm ? how ? thx

7200


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

1141


What is the latest version of ibm db2?

1333


What is load utility in db2?

1227