Posted by Erland Sommarskog on 10/02/38 11:49
Sandesh (sandesh27uk@gmail.com) writes:
> Me saying " has any body come across such error would be
> underestimating".
>
> Well I am getting a very peculiar and unique error "Line 1: Incorrect
> syntax near 'Actions'."
You will have to excuse me, but the error looks very standard and
commonplace to me.
This is what you get when you entagle yourself into a web of dynamic
SQL. Look at http://www.sommarskog.se/dynamic_sql.html#Dyn_DB for
suggestions of alternative strategies.
My bets goes on the UPDATE statement at the end. Overall, including
the database name in the column qualifications is overkill.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
[Back to original message]
|