Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting Pkey back from sql server
Message
From
06/12/2004 04:37:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
00966751
Message ID:
00967066
Views:
8
>Hi Cetin,
>
>Many thanks for the reply,
>
>Do you know if they is an equivalent to foxpro sys(2015) in order to generate a unique guid style primary key?
>
>Many Thanks, Bernard

No, sys(2015) style is not reliable in multiuser environments.
Instead SQL server has NewID() function which generates a GUID.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform