View previous topic :: View next topic
|
Author |
Message |
Preetha Ramkumar
New User
Joined: 07 Mar 2006 Posts: 9 Location: Hyderabad
|
|
|
|
An interview question:
1.What is the difference between COMMIT & SYNC POINT?
2.Suppose the db2 pgm which is used is not having any COMMIT,will the database updations get reflected. |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi Preets,
Quote: |
Suppose the db2 pgm which is used is not having any COMMIT,will the database updations get reflected. |
After successful completion of the Program DB2 automatically commit all the updates.
Hope this helps
Regards
Rupesh |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Quote: |
1.What is the difference between COMMIT & SYNC POINT? |
Are they related anyway. to make a comparison .????
Regards,
Priyesh. |
|
Back to top |
|
|
rambabu Currently Banned New User
Joined: 18 Apr 2005 Posts: 67
|
|
|
|
comitt is used comitt the transaction with terminating the task.
sycpoint is used to comitt the transaction with out terminating the task. |
|
Back to top |
|
|
|