Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql zap?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00850590
Message ID:
00850593
Vues:
17
>want to zap a table on sql server
>In line with MSDN's topic
>have tried
>
>SQLPREPARE(gnhandle,'Delete from vizkeys','')
>SQLEXEC(gnhandle)
>
>which doesn't report any error but doensn't delete anything either.
>
>variations like "Delete from vizkeys where realkey<>'.NULL.'" (which should delete all) don't work either.
>
>Whats the secret?


Try SQLExec(gnHandle, 'Delete vizkeys') - don't bother with the SQLPrepare.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform