I want to compare Actual table with @TableType_TVP IF Duplicate Row Exist
Create procedure sp_InsertintoTable
@TableType_TVP TableType_TVP READONLY
AS
IF(Duplicate Row not Exist then)
Begin
INSERT INTO ActualTable
Select * from @TableType_TVP
Select Inserted row count also
END
else
Begin
Count Duplicate Row
End