• Donny-1012435 (3/28/2011)


    I have SQL 2008, but got the Incorrect Syntax near '=' error.

    Btw, I have both 2005 and 2008 on my PC.

    Perhaps your database is in 2005 compatibility mode? Or you're running the query against the 2005 server?