Can a array declared with an index be displayed(readable
format) in spool?
Answer Posted / guest
Yes we can display like below
Display Array(Idx)
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are db2 tables?
What is a collection in db2?
How do I change the column size in db2?
What is page size in db2?
How to fetch the last row from the table in SQL (db2)?
What is the maximum size of varchar data type in db2?
How to resolve deadlock issue
Explain in brief how does db2 determine what lock-size to use?
What is view 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.
Why db2 is called db2?
Mention the location where the output received from explain statement is stored.
I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.
B37 abend during spufi?
What is the role of data manager in the db2 database?