On the create tablespace, what does the CLOSE parameter do?
Answer Posted / s
CLOSE YES parameter tells DB2 that when DB2 needs to close
datasets when DSMAX is reached, DB2 will choose this
tablespace to be closed.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can there be more than one cursor open for any program?
Why select is not preferred in embedded sql programs?
What is dbrm library?
What is data manager?
Define predicate?
What are the bind parameters ibm db2?
What action db2 takes when a program aborts in the middle of a transaction?
Why do chiropractors use drop table?
How many databases can be created inside an instance in db2 ?
Which isolation level provides maximum concurrency?
What is database reorganization?
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 is temporal table in db2?
What does db2 mean?
How to create db2 table in mainframe?