Hi, When I execute the SP with parameters, I am facing the error as
Msg 536, Level 16, State 4, Procedure pAutoAudit, Line 121
Invalid length parameter passed to the RIGHT function.
Msg 536, Level 16, State 5, Procedure pAutoAudit, Line 164
Invalid length parameter passed to the SUBSTRING function.
Msg 536, Level 16, State 5, Procedure pAutoAudit, Line 250
Invalid length parameter passed to the SUBSTRING function.
Msg 536, Level 16, State 5, Procedure pAutoAudit, Line 338
Invalid length parameter passed to the SUBSTRING function.
Pls help me...