ALTER PROCEDURE [dbo].[Usp_LoadData]
@FieldName varchar(MAX),
@FieldID varchar(MAX)
AS
IF(@FieldName='SearchCompany' AND @FieldID<>'')
BEGIN
SELECT * FROM tbl_CompanyMaster WHERE CompanyName LIKE @FieldID+'%'
OR CompanyCode LIKE '%'+@FieldID+'%'
OR Category LIKE '%'+@FieldID+'%'
END