This one really has me stumped. I've got a stored procedure that builds a dynamic query string and then executes it with sp_executesql. The variable I'm using for the querystring is nvarchar(1000).