How to use WITH (NOLOCK) to this Query. I know how to use it for normal select query. But for a query with join??? any one guide me
SELECT
DISTINCT Amendmentdetails.BadgeNo, ContractNo,isnull(Amendmentdetails.ContractAmendmentNo,'')AS ContractAmendmentNo,
value As AnnualSalary,
Amendmentdetails.ContractType,TimesheetCategory,Rotation,RM.CRotDayOn,RM.CRotDayOff ,TSCatDays
from Amendmentdetails
Left Join
RotationMaster RM
On
Amendmentdetails.Rotation =RM.CRotCode
Left Join
TimesheetCategoryMaster TM
On
Amendmentdetails.TimesheetCategory=TM.TSCatCode
Left Join
SalaryDetails
On
SalaryDetails.contractAmendmentNo =Amendmentdetails.ContractAmendmentNo AND
Paycode in(1001,1002,1003,1004,1005)