Hi Guys,
I have a procedure which inserts a record into table but i want to check the parameters before if the insert if they contain # then dont update else update
this is my procedure i want to condition it with an if statement
if @Column1 contains # or @column2 contains # or @column3 contains # then dont do insert?
Can someone help me please.
INSERT INTO Generis.dbo.CustomerBankDetails
(UID ,Column1,column2,Column3)
VALUES
(@Uid ,@column1,@column2,@column3)