ALTER PROCEDURE dbo.Pr_AddVote
(
@Item varchar(50)
)
AS
insert into votes (item , votecount) values (@item,0)
RETURN @@Identity /*返回新的数据ID*/
(
@Item varchar(50)
)
AS
insert into votes (item , votecount) values (@item,0)
RETURN @@Identity /*返回新的数据ID*/