Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Select @@IDENTITY as id returns NULL

    I always return the new ID as an output parameter:

    CREATE PROCEEDURE sp_Insert_Student

    (

    @ID int = 0 OUTPUT, ---always give a default value

    @StudentName varchar(30)...

Viewing post 1 (of 1 total)