View previous topic :: View next topic |
Author |
Message |
ANDY Beginner

Joined: 07 Feb 2004 Posts: 127 Topics: 67
|
Posted: Fri Jan 28, 2005 4:54 am Post subject: What 'with ur;' is for ? |
|
|
Many SQL using 'with ur;' at sql end. Can someone explain waht it is for ?
eg:
SELECT Filed1
FROM Table1 WHERE ...
WITH UR;
Thank you. _________________ cheers,
Andy |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Jan 28, 2005 6:22 am Post subject: |
|
|
Andy,
WITH Specifies the isolation level at which the statement is executed. (Isolation level does not apply to declared temporary tables because no locks are acquired.) You can have the following values.
Code: |
RR Repeatable read
RS Read stability
CS Cursor stability
UR Uncommitted read
|
WITH UR can be specified only if the result table is read-only.
Check this link which explains in detail
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNSQH11/5.92?DT=20010718164132
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|