dbTalk Databases Forums  

Re: Getting a Batch Number

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Re: Getting a Batch Number in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: Getting a Batch Number - 03-31-2011 , 05:08 PM






On Thu, 31 Mar 2011 23:46:18 +0200, Erland Sommarskog
<esquel (AT) sommarskog (DOT) se> wrote:

Quote:
Gene Wirchenko (genew (AT) ocis (DOT) net) writes:
[snip]

Quote:
How do I get the batch number from Batches to use in the
Transactions inserts?

scope_identity()
Thank you for the magic word. I am now working my way through a
tutorial I found.

Sincerely,

Gene Wirchenko

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.