I current have a SQL Query that I have written that contains variables (DECLARE @DATE003 datetime, etc.) When I try to place this query in the smartlist builder SQL Script, I get the error "Incorrect syntax near the keyword 'DECLARE'" ODBC error 37000. Any idea why this error displays? With the SQL script, will it not accept variables in smartlist builder? Thanks.
Brad
Brad