How to write following part of SELECT query in SQL Server:
IIf(tblOrders!OrderTypeID=2 Or tblOrders!OrderTypeID=3,[DateCompleted],[DateOut]) AS ProgramDate,
Int(Nz([Lectures],1)) AS Programs, Int(Nz([Contacts],0)) AS TotalContacts
How to write following part of SELECT query in SQL Server:
IIf(tblOrders!OrderTypeID=2 Or tblOrders!OrderTypeID=3,[DateCompleted],[DateOut]) AS ProgramDate,
Int(Nz([Lectures],1)) AS Programs, Int(Nz([Contacts],0)) AS TotalContacts
Anybody??Access + sql experts??