sano the super geekthe endeavors of a professional geek at microsoft.Incorrect syntax near 'Insert Arbitrary Column Name'- January 18, 2006 I ran into a rather mysterious error when working with some SQL code today. Incorrect syntax near 'Insert Arbitrary Column Name' Before I get to the nuts and bolts of the problem, we'll start with some background details. The stored procedure that I was working on was broken down into two disparate parts. The first part had two different queries encapsulated in trycatch blocks (also a new feature of SQL 2005 in case you weren't already aware). The query in the try block attempts to...http://blogs.msdn.com/csano/archive/2006/01/18/514429.aspx |