Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Permanently Deleting Records using SQL
Message
De
21/03/2003 03:21:55
 
 
À
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:
00768475
Vues:
18
Hi,

Don't know ColdFusion - how does it connect to the VFP data? Is it using the ODBC or OLE DB drivers?

I think you would need a stored procedure. If you want to delete ALL records in the table then you can use the ZAP command which is quicker than a DELETE ALL and PACK and doesn't require exclusive use of the table. Something like:
USE myTable IN 0
ZAP
USE IN mytable
should do the trick. Or you could use SQLEXEC() to drop and recreate the table.

Regards,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform