Truncate table (TUNiTable)

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
testpresta
Posts: 32
Joined: Sat 07 Jun 2014 19:41

Truncate table (TUNiTable)

Post by testpresta » Thu 12 Jun 2014 10:03

Hello

how should i to for deleting all records in tunitable ?

Thanks

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Truncate table (TUNiTable)

Post by AlexP » Thu 12 Jun 2014 11:02

Hello,

Currently, UniTable has no EmptyTable method, therefore you should run a

Code: Select all

DELETE FROM TABLE
or a

Code: Select all

TRUNCATE TABLE
query, depending on the database. We will add this method in one of the next versions.

Post Reply