Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Permanently Deleting Records using SQL
Message
 
À
20/03/2003 11:53:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00768156
Message ID:
00768180
Vues:
22
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform