what is the easiest way to delete all the records in a table? I'm thinking of just writing a sql statement in the command window. What would it look like?
ramani...
that didn't work.. the records are still there. don't you have to specify the table name you are deleting the records from? also, is their a better way to do this?
To actually make the records "go away" permanently afer a DELETE command, you'd have to PACK the table. Otherwise the DELETE command just marks the records as deleted and toggling SET DELETED ON/OFF either shows or doesn't show the marked for deletion records.
DELETED but not PACKED records can be "brought back" with RECALL.
ZAP is the fastest was to remove all records.
To get an empty table with the same stucture, you can use COPY STRUCTURE TO NewTable
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.