How can I do empty table in the UniTable ?
How can I do empty table in the UniTable ?
I want clear table like in component TTable->EmptyTable(). How can I do this ?
Hello,
We will investigate the possibility of adding the EmptyTable method in one of the next builds/versions of MyDAC.
For the time being you can use the TUniConnection.ExecSQL function to clear your table.
The Sql syntax depends on your database.
For most databases you can use the following SQL code:
'DELETE FROM YOUR_TABLE_NAME'
We will investigate the possibility of adding the EmptyTable method in one of the next builds/versions of MyDAC.
For the time being you can use the TUniConnection.ExecSQL function to clear your table.
The Sql syntax depends on your database.
For most databases you can use the following SQL code:
'DELETE FROM YOUR_TABLE_NAME'