Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generate Reference number
Message
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Generate Reference number
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01349522
Message ID:
01349522
Views:
67
Hi everybody,

I have two questions.

1. We would like to move VFP database to SQL Server. In VFP we used "GUID" like PKs (not exactly the same GUIDs as in SQL Server, but some manipulations on GUIDs to create only letters and numbers).

What should we use in SQL Server for our PKs? Should we try to use existing PKs and just for new records use uniqueidentifier? Or should we try to keep existing PKs for reference only and switch to Identity fields?

2. We would like to generate unique Reference number but in a format convenient for the user. What should we try to do for this?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform