Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locking records
Message
De
04/05/2005 01:34:53
Randy Wessels
Screentek Business Solutions, Llc.
Phoenix, Arizona, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01010015
Message ID:
01010671
Vues:
25
I can't use an autoinc field because the table in question stores counters for a variety of different processes in the application. I need a way to ensure that each process can get a counter from this table and update it by 1 so that the next process will get the next number.

Any ideas?

>>I want only to understand (for me), if this is good solution to use field with type Integer(AutoInc).
>
>I work mostly with MS SQL Server where we're using Identity columns (which is similar to VFP AutoInc) in most cases. However, I would rather use ANSI SQL Sequence which gives more flexibility but is not implemented by SQL Server 2000.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform