What is null indicator in db2?
No Answer is Posted For this Question
Be the First to Post Answer
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.
Consider that a package is bound into 2 different collections and the PKLIST option specifies both the collections. If the collection id is not specified in the program while executing the SQL query, then when the DB2 system will search the package list, which collection will it pick up or will it give an error/abend?
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
How do you Load a table ?? and what is Load replace ?
Explain various types of locks in db2?
List out the data types available.
Can i insert bulk records into a db2 table using qmf of spufi only............!!!
what is the use of bind parameter, Replace?
In my table having 100 Rec. How can I delete the 7th row?? (we don't know what is data inside the table)
What is a bind in db2?
How do I add a column in db2?
Explain about dbrm.