alter procedure [dbo].[usp_SomeName] (
@value varchar(100)
) as
declare @id int
create table #out(id int, value varchar(100))
INSERT INTO test2
(value)
output inserted.* into #out
VALUES
(@value)
return (select top 1 id from #out)
Wednesday, 24 June 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment