1CREATE TYPE UT_Employee AS TABLE
2(
3Emp_Id int NOT NULL,
4EmployeeName nvarchar(MAX),
5EmpSalary varchar(50),
6StateId varchar(50),
7CityId varchar(50)
8);
9CREATE PROCEDURE USP_Insert_Employee_Infi(@Employee_Details [UT_Employee])
10AS
11BEGIN
12
13INSERT INTO dbo.Employee
14(
15Emp_Id,
16EmployeeName,
17EmpSalary,
18StateId,
19CityId
20)
21SELECT * FROM @Employee_Details
22END;
23