Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Permanently Deleting Records using SQL
Message
 
To
20/03/2003 11:53:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00768156
Message ID:
00768180
Views:
23
You need to open the table exclusively and ZAP it.
Another approach is to overwrite the existing table with the new one, like:
set safety off
if used(table_name)
use in (table_name)
endif
select * from ... into (table_name)

Details may depend on whether this is a free table or part of database.

>We use Coldfusion with a vfp datasource and run a query that deletes all records in a vfp table:
>delete * from vfptable
>
>However, as would be expected, it marks all records for deletion, rather than physically deleting them.
>
>How would we pack the table as part of the query? Would it be a stored procedure? If so what might that look like and where would it be placed?
>
>Thanks in advance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform