How do I make this work in SQL Server (2005)? The error message is 'Invalid column name' on the literals.
SELECT tstamp, GVEA_Load_Net_MWH
FROM DA.dbo.Oplog
WHERE CAST(LEFT(tstamp,18) AS datetime) BETWEEN "01/01/2009 00:00:00"
AND "01/01/2010 00:00:00"