Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLServer- Identifier/ AutoInc value and CA
Message
From
03/06/2007 13:17:45
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01229802
Message ID:
01230047
Views:
32
I haven't had any inserts with triggers, but I would think the method I described would not work. I read Alexey's solution and need to step through it. It seems that this is a superior solution in that the insert command is sent along with code to retrieve the ID and results in only one trip to the server. I hadn't seen his solution before. Thanks.
>
>Charlie,
>
>Did you review Alexey's sample referenced elsewhere in this thread with using SCOPE_IDENTITY?
>
>If your tables have triggers, do you still get correct ID using your method?
Charlie
Previous
Reply
Map
View

Click here to load this message in the networking platform