Max West (net) writes:
Hmmm.... Well, I don't see the complete design, so I don't know if it
is flawed or not.
This does not work, because QUOTED_IDENTIFIER is set at compile time.
It does work, though, if you include the SET statement in the SQL
Better though, is to use a function like quotename().
Erland Sommarskog, SQL Server MVP, se
Books Online for SQL Server SP3 at