Answer Posted / s
Self-referencing constraint makes the table both the parent
and dependent table in the same referential constraint. The
foreign key to the table is defined after the table is
created.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is query_cache_limit?
Mention some fields that are a part of sqlca.
What is declare cursor?
ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE
what is a corelated subquerry?
What is the function of logging in the db2 database?
Is it possible using max on a char column?
What is coalesce in db2?
Who uses 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.
is it compulsory commitment control in journal?
What is the use of predicate?
What is the maximum number of columns in a db2 table?
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
What is the difference between using bind () and rebind () methods of naming class?