What is the difference between using bind () and rebind () methods of naming class?
No Answer is Posted For this Question
Be the First to Post Answer
Discuss about db2 bind?
What is the syntax for seeing the columns and data types of a table in the db2 database?
How to create a table using embedded sql?
What do you need to do before you do EXPLAIN?
suppose in my table 10 rows are there , i want to update odd rows salary as 90000 ? how u do it ? any one help me ? what do we use here cursor-fetch or normal sql ?
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 DB2 (IBM Database 2)?
How could one combine a set of incremental image copies into a single copy?
Can All Users Have The Privilege To Use The SQL Statement Select (DML)?
If a table has a column "dept" (declared to have nulls) and there are 10 rows in the table of which 3 have a null value in the dept column, what will select count(*) and select count(distinct dept) return?
what is static sql? what is dynamic sql? Give me details
how to resolve -811 sqlcode .give clear explaination