This Example show you how to insert an record in table using simple stored procedure using T-SQL.
-
Query for creating Database, you can name the database what you want.
-
Now Second Step is to Create Table for inserting Records of Employees.
-
Query for Creating Table is given below.
-
Now Create an Stored Procedure for inserting Record in Employees Table, Query for creating Stored procedure is given below.
-
Now Run the Stored procedure you will get an Message 'Record Successfully Entered".
-
Now Check the Table to see that record inserted or not
So We Finally Enter the Record Using Simple Insert Stored Procedure.