Hi all
DECLARE @SEARCH VARCHAR(50)
SET @SEARCH = 'Alexan'
IF (ISNUMERIC(@SEARCH) = 0)
BEGIN
SELECT * FROM INV_table WHERE AUTHOR LIKE CHAR(39)+'%'+@SEARCH+'%'+CHAR(39)) AS VARCHAR(100)
END
The like conditions is not working properly can you give me exact solutions