Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to generate PK on SQL table
Message
From
05/01/2001 14:43:40
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00459598
Message ID:
00459991
Views:
24
>You noted that #1 is false. It is my understanding that SELECT @@Identity contains the last IDENTITY value assigned -- regardless of the table, therefore, if records are inserted into tables based on insert triggers in SQL, you would be getting back the wrong value??
>
>Thanks,
>Doug

yes - although I'm not sure why you would use triggers to cascade inserts - so I guess I haven't run into that problem ...
Ken B. Matson
GCom2 Solutions
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform