Answer Posted / elavarasi
Declaration Generator used to convert db2 datatype to cobol
declarations..
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How do I start db2 in windows?
How will you return the number of records in table?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
What is a storage group (stogroup)?
How do I connect my db2 database to ibm?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What is a bind in db2?
How do you find the maximum value in a column in db2?
What db2 400?
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.
When the like statement is used?
What are the contents of dclgen?
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
Explain about dbrm.
Is db2 a programming language?