I\'m trying get the results where it only displays OrderDates before the LAST day of the CURRENT month. I\'m guessing it would be like this...
SELECT OrderDate F
Your question is somewhat ambiguous, but this will give you '(code for the first day of the month)'
SELECT OrderDate FROM Orders WHERE ORDERDATE < DATEADD(month, DATEDIFF(month, 0, GETDATE()), 0)