home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 18,177 of 19,505   
   Gene Wirchenko to esquel@sommarskog.se   
   Re: Getting a Batch Number   
   31 Mar 11 15:08:36   
   
   XPost: microsoft.public.sqlserver.programming   
   From: genew@ocis.net   
      
   On Thu, 31 Mar 2011 23:46:18 +0200, Erland Sommarskog   
    wrote:   
      
   >Gene Wirchenko (genew@ocis.net) writes:   
      
   [snip]   
      
   >>      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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca