best practices

Results 1 to 2 of 2

Thread: best practices

  1. #1
    Join Date
    Dec 1969

    Default best practices

    I need to insert a row into a table and then get the id so that i can insert another row into the table with the forign key. Is this done the same way as in asp(with @@identity) or is there a new funky way to do it in .NET

  2. #2
    Join Date
    Dec 1969

    Default RE: best practices

    Just use @@identity<BR><BR>(or SCOPE_IDENTITY)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts