主题:比较easy的问题,请指教
CREATE PROCEDURE [AddUser]
(
@ItemId int out,
@Name nvarchar(50),
@Password nvarchar(20),
@Email nvarchar(100))
AS INSERT INTO [Users]
(
Name,
Password,
Email )
VALUES
(
@Name,
@Password,
@Email )
SELECT
@ItemId = @@Identity
这个存储过程里面的 @@Identity 是什么意思??
(
@ItemId int out,
@Name nvarchar(50),
@Password nvarchar(20),
@Email nvarchar(100))
AS INSERT INTO [Users]
(
Name,
Password,
Email )
VALUES
(
@Name,
@Password,
@Email )
SELECT
@ItemId = @@Identity
这个存储过程里面的 @@Identity 是什么意思??