I don't think the IN clause can accept bind parameters with multiple values. Oracle can't and a couple minutes
and query is
declare @setting varchar(max)
set @setting ='''Sales Entry Grid Cursor'',''Customer Mandatory'',''Column Uom'',''Show Marka'',''Show Discount Amount In Grid'',''Show Discount % In Grid'',''Calculation based on Weight *rate'''
and stored procedure is
Select pageconfig_action
From [RetailSoft].[dbo].[tbl_pageconfig]
Where [PageConfig_settingsName] in (@setting)
and PageConfig_CompanyId = 1
result is empty
And pass string in directly in keyword
Select pageconfig_action
From [RetailSoft].[dbo].[tbl_pageconfig]
Where [PageConfig_settingsName] in ('Sales Entry Grid Cursor', 'Customer Mandatory', 'Column Uom', 'Show Marka', 'Show Discount Amount In Grid', 'Show Discount % In Grid', 'Calculation based on Weight *rate')
and PageConfig_CompanyId=1
then result is ok