Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to delete records in a Pervasive database
Message
De
30/08/2010 02:28:52
 
 
À
29/08/2010 10:49:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01479024
Message ID:
01479149
Vues:
32
>Hi Alex.
>
>>A table for an accounting program that uses Pervasive as the database engine has become corrupt. I need to delete a record and change others and wonder how to do it.
>>
>>I'd like to use SQL passthrough to make the changes but don't know how to go about it. For reporting purposes I have created remote read-only views into the database so I have the basic infrastructure to connect to Pervasive from VFP.
>
>You can use a remote view that writes to the database to delete/update the table. Alternatively, you can use SQL passthrough commands. First, connect to the Pervasive DSN using SQLCONNECT(). Then, use SQLEXEC() to send SQL DELETE and UPDATE commands to Pervasive.
>
>Doug

Thanks Doug.

Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform