CREATE PROCEDURE [dbo].[newrough]
(
@ConsultantName varchar(50) ,
@ClientName varchar(50) ,
@StartDate varchar(50),
@PositionName varchar(20) ,
@Location varchar(20) ,
@Job_Status varchar (20),
@BenchMarketing varchar(1) ,
@Placement varchar(1),
@CompanyName varchar(20),
@Durations varchar(20),
@DurationofProject varchar(10),
@Last_Updated_Date nvarchar(50),
@Rec_Name varchar(50),
@id int output
--@out int out
)
AS
BEGIN
SET NOCOUNT ON
IF EXISTS( )
_ BEGIN_
_ INSERT INTO()_
_ ENd_
ELSe
BEGIN
INSERT INTO tbl_Empincentivenew1
OUTPUT INSERTED.id
values(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,@Last_Updated_Date,NULL,@Rec_Name)
--DEFAULT VALUES
SET @id=SCOPE_IDENTITY()
RETURN @id
END
END