Re: Stored Proc to add a new Record and return an AutoValue
From: Matthias S. (postamt_at_emvoidSPAMTRAP.de)
Date: 08/24/04
- Next message: Tibor Karaszi: "Re: ADO Command datetime issue"
- Previous message: Tibor Karaszi: "Re: Efficient INSERT of rows- .NET"
- In reply to: Roji. P. Thomas: "Re: Stored Proc to add a new Record and return an AutoValue"
- Next in thread: Alejandro Mesa: "RE: Stored Proc to add a new Record and return an AutoValue"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Aug 2004 21:50:51 +0200
Roji. P. Thomas wrote:
> use
> RETURN @@IDENTITY
>
> or even better
> RETURN SCOPE_IDENTITY()
>
>
>
Just what I needed, thanks!
Matthias
- Next message: Tibor Karaszi: "Re: ADO Command datetime issue"
- Previous message: Tibor Karaszi: "Re: Efficient INSERT of rows- .NET"
- In reply to: Roji. P. Thomas: "Re: Stored Proc to add a new Record and return an AutoValue"
- Next in thread: Alejandro Mesa: "RE: Stored Proc to add a new Record and return an AutoValue"
- Messages sorted by: [ date ] [ thread ]