Hello,
LockTable is missing from TUniTable/TUniQuery !
How can I lock a table with UniDAC ?
Migrating from MyDac to UniDac : how to lock a table ?
-
swierzbicki
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59
-
AndreyZ
Hello,
To lock a table or tables, you should use the following code:To unlock tables, you should use the following code:For more information, please refer to http://dev.mysql.com/doc/refman/5.0/en/lock-tables.html
To lock a table or tables, you should use the following code:
Code: Select all
UniConnection.ExecSQL('LOCK TABLES tablename READ',[]);Code: Select all
UniConnection.ExecSQL('UNLOCK TABLES ',[]);