Answer Posted / s
Cardinality is the number of distinct values for a given
column or group of columns.
FIRSTKEYCARDF contains the cardinality of the leading
column in the index
FULLKEYCARDF contains the cardinality of all the columns in
the index
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is collection in db2 bind?
Are views updateable?
What is check constraint in db2?
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
What is dbrm?
Why do we use cursor?
What is the difference between plan and package in db2?
How can you do the explain of a dynamic sql statement?
Which command is used to connect to a database in DB2 ? Give the Syntax.
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 bind and rebind in db2?
How to find the number of rows in a db2 table?
What is plan in cobol db2?
What is difference between alias and synonym in db2?
How do I add a column to an existing table in db2?