Arsenik
04-08-2003, 09:16 PM
Where can i find a list of error code and what they mean?
I integrated a script with vb and used vb's DB class.
I want to LOCK a table while i update records in it.
I tried this:...
$DB_site->query("LOCK TABLES mytable_$table[tablenumber]");
...
And i get this error message:
...
Invalid SQL: LOCK TABLES mytable_1
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064
...
What is the problem? Cant we LOCK tables using vb's DB class?
I integrated a script with vb and used vb's DB class.
I want to LOCK a table while i update records in it.
I tried this:...
$DB_site->query("LOCK TABLES mytable_$table[tablenumber]");
...
And i get this error message:
...
Invalid SQL: LOCK TABLES mytable_1
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064
...
What is the problem? Cant we LOCK tables using vb's DB class?