when we are tying to update a table having 100 rows. if the program abends when updating 51 row . how to start updating again from the 51 row .what was the logic
TCS,
2 10036I have some 3 particular fields ..i want to know which all tables have those 3 fields. Is there any way to identify.. can we know by quering system tables..
CTS,
5 11845SET 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.
2671could you give me an example how, where i code CHECKPOINT and restart...I need and example....thanks..
5 20589If I have 5 Queries in a DB2 Cobol program , while precompiling how many DBRMs will get created and How many Plans and Packages will get created while Bind Process?
8 18162Cursors can be declared in both working-storage & procedure division, Agreed. But is there any difference? If could you please suggest what is the difference. TIA
8 33005
How would you find out the total number of rows in a db2 table?
What is copy pending and check pending in db2?
Which isolation level provides maximum concurrency?
Is db2 relational database?
I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.
What is the use of db2?
What is commit in db2?
can all users have the privilage to use the sql statement select * (dml)?
How do I copy a table in db2?
Mention the various locks that are available in db2.
What do you mean by cursor?
Define db2.
What is the information associated with sysibm.syslinks table?
Which component is used to execute the sql statements?
How to restart a DB2 program?