Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql inserted

Insert INTO Student(Name,Department)
OUTPUT INSERTED.Id INTO @tmpData
SELECT * FROM @tmpData
// It will give Id's those are inserted into table
 
PREVIOUS NEXT
Tagged: #sql #inserted
ADD COMMENT
Topic
Name
6+6 =