Egor Egorov wrote: > Takacs, > Thursday, June 27, 2002, 3:50:02 PM, you wrote: > > TI> Can I lock a field somehow against modification? > TI> So I have a table and it has 4 fields. > TI> I want to lock the same two fields in two records, > TI> to not enable to modify those fields. > > TI> Can I do it somehow? > > If you want to disable modification not whole column, but only field > for certain rows, there is no direct way to do it. May be creating > additional column as a flag (enable/disable modification) will help > you or you should check on another conditions to enable > modification... >
Also, SELECT GET_LOCK() may help. -- For technical support contracts, visit https://order.mysql.com/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Alexander Barkov <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer /_/ /_/\_, /___/\___\_\___/ Izhevsk, Russia <___/ www.mysql.com +7-902-856-80-21 --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php