Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to lock a column not the enire row ?
Salaheldin
Here is the text in the Oracle manual: FOR UPDATE [OF [[schema .] { table | view } .] column
[, [[schema .] { table | view } .] column]...
]
[ NOWAIT | WAIT integer ]
I found this by going to technet.oracle.com and searching. I hadn't realized
that you could just lock a column.
I don't know if it really works or not, but this is what the documentation
specifies.
Dennis Williams
DBA, 40%OCP, 100% DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com
-----Original Message-----
Sent: Monday, April 21, 2003 10:22 AM
To: Multiple recipients of list ORACLE-L
hi all,
I remember that oracle has ability to lock not just the entire row, but a
specific column in this row.
How to do this ?
When I use:
"SELECT <column>
FROM <table>
FOR UPDATE OF <column>"
the entire row is locked so, how to lock a column not the enire row ?
Regards,
Salaheldin Aboali
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: DENNIS WILLIAMS
INET: DWILLIAMS_at_LIFETOUCH.COM
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Apr 21 2003 - 12:51:56 CDT
![]() |
![]() |