What is Declaration Generator(DCLGEN)?1 5479
What is the difference between static and dynamic SQL?1 24138
What is RUNSTATS?3 5202
What is a cursor and what is its function?2 3575
Suppose I have a program which uses a dynamic SQL and it has been performing well till now. Off late, I find that the performance has deteriorated. What happened?1 3399
What does the sqlcode of -818 pertain to?3 5164
How many clustering indexes can be defined for a table?2 4844
What is tablespace?3 3966
What is the function of the Data Manager?2 3303
What is a SELECT statement?1 2967
How do you define a correlated name?1 2658
What is the self-referencing constraint?2 4507
What is a buffer pool?2 4653
What is query_cache_limit?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
Which isolation level provides highest data integrity?
What is difference between alias and synonym in db2?
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.
What are the rules for db2 programming?
Mention the downsides of page level lock.
What is universal database?
can we view the access paths created by dbrm ? how ? thx
What is concurrency?
What are the contents of dclgen?
What is db2 plan table?
How connect db2 database to datastage?
what is diffrence b/w file-aid tool and file-aid utility???