Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locking records
Message
From
04/05/2005 01:34:53
Randy Wessels
Screentek Business Solutions, Llc.
Phoenix, Arizona, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01010015
Message ID:
01010671
Views:
24
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform