set is_excelUpload = (select 1 from hireRequestFileUpload where jobProfileHireRequestId = jobProfileHireRequest_Id limit 1);
case when is_excelUpload =1 then 1 else paidStatus end as paidStatus
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)