SELECT SchedID FROM Sched WHERE (SchedStart = MONTH(SchedStart))
SELECT SchedID FROM Sched WHERE (SchedStart = (DATEPART(MM, SchedStart) = 11))
SQL Error:SQL Execution Error. Executed SQL statement: SELECT SchedID FROM Sched WHERE (SchedStart = (DATEPART(MM, SchedStart ) = 11)) Error Source: .Net Sql Client Data Provider Error Message: Incorrect syntax near '='
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)