What is a system catalog table in db2?
No Answer is Posted For this Question
Be the First to Post Answer
what is the difference between join and union?
Is db2 relational database?
What do the initials DDL and DML stand for and what is their meaning?
What does DSNDB07 database do?
What is commit in db2?
What does runstats do in db2?
What is a db2 collection?
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.
Can All Users Have The Privilege To Use The SQL Statement Select (DML)?
What is explain plan in db2?
I have a DB2 table which has 1000 rows.after udatingg first 110 rows, my job abends. Now what I have to do if I want to restart the job next time so that it should start updating from 111th row (without updating first 110 rows again).
What are the benefits of using the db2 database?