Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thought process
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01658136
Message ID:
01658139
Vues:
47
>Do the whole insertions in transaction and use GETAUTOINCVALUE().
>
>If it is SQL Server then prepare the whole script using parameters and use SCOPE_IDENTITY()

The tables are in SQL Server. I think the simplest way would be to what I'm thinking right now - when application starts, it creates vendorsFull (or need to figure out a good name again) table with the triggers. Then in my code I will just use appropriate alias to insert data and the application logic will be preserved (although there are more hurdles with some other tables too).
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform