in a table consist of 1000 records among that i was updated
145 record how could i know that ..list of recently updated
record's and where could i see those updated
record's....pls help me out....
Answer Posted / girihs kumar
SQLERRD Contains the number of rows affected by a DB2
INSERT/DELETE operation. if the operation is DELETE, this
contains number of rows deleted after the execution of the
query.
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
What does db2 blu stand for?
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.
List some fields from sqlca?
What is database alias db2?
How to view db2 table structure?
What is explain in db2?
How do I add a column in db2?
What is the difference between oracle and db2?
What is runstats utility in db2?
What is the use of runstats in db2?
How and when does the db2 enforces the unique key?
What is dclgen in db2?
List down the types of triggers in the db2 database?
What is db2 and what is the use of db2 optimizer?
Is ibm db2 free?