Tom,
Monday, February 25, 2002, 3:41:27 AM, you wrote:
TC> Hello,
TC> I am using MySQL 3.23.47 under Windows 98 (mysql-opt) and I am
TC> having a strange problem. I issued the "LOCK TABLES
TC> <table_name>;" command at the command prompt and I got the
TC> following error: "ERROR 1064: You have an error in your SQL
TC> syntax near '' at line 1" The syntax looks correct to me as per
TC> the online documentation. Am I doing something wrong or must a
TC> parameter be set to facilitate locking tables?
The syntax is incorrect. Look carefully in the documantation:
http://www.mysql.com/doc/L/O/LOCK_TABLES.html
You should set a type of locking (READ, WRITE etc.)
TC> Thanks in advance for your help,
TC> Tom
--
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
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