SELECT FirstName FROM AdmissionTbl (NOLOCK) WHERE (City=@City OR @City IS NULL OR @City = '')
where
SELECT FirstName from AdmissionTbl where City=@city OR CITY IS NULL ; SELECT CASE WHEN FirstName IS NULL THEN 'NO VALUE' ELSE FirstName where City=@city OR CITY IS NULL ;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)