alter proc uspIdatos_
@iDProducto int output,
@Descripcion nvarchar(50),
@Precio money,
@Stock int,
@Notas text
as
SET IDENTITY_INSERT Producto ON;
Insert into Producto(IDProducto,Descripcion,Precio,Stock,Notas)values(@iDProducto,@Descripcion,@Precio,@Stock,@Notas)
SET @iDProducto=@@IDENTITY
SET IDENTITY_INSERT Producto OFF;