What am I doing incorrectly with this statement? The SQL runs perfectly in SQL Server.
Dim rsRedBoxes
Set rsRedBoxes = Server.CreateObject("ADODB.Recordset")
sSQL = "SELECT frontBlurb, frontBlurbAlt FROM tblTemplates WHERE frontBlurb IS NOT NULL"
rsRedBoxes.Open sSQL, strConn, adOpenStatic, adLockReadOnly, adCmdTable
rsRedBoxes.Filter = "templateName = 'apartment.asp'"
========================
Microsoft OLE DB Provider for SQL Server error '80040e14'
Incorrect syntax near the keyword 'SELECT'.
/madison/site/_includes/redboxes.inc.asp, line 5
Dim rsRedBoxes
Set rsRedBoxes = Server.CreateObject("ADODB.Recordset")
sSQL = "SELECT frontBlurb, frontBlurbAlt FROM tblTemplates WHERE frontBlurb IS NOT NULL"
rsRedBoxes.Open sSQL, strConn, adOpenStatic, adLockReadOnly, adCmdTable
rsRedBoxes.Filter = "templateName = 'apartment.asp'"
========================
Microsoft OLE DB Provider for SQL Server error '80040e14'
Incorrect syntax near the keyword 'SELECT'.
/madison/site/_includes/redboxes.inc.asp, line 5