Viewing 6 posts - 31 through 36 (of 36 total)
Thanks for looking, I appreciate it, however I have tried removing the 'N' but it's still happening - the code for building the string now looks like this.
SET @sqlstring =...
March 9, 2009 at 4:47 am
I have checked the data source (tbl_11689_ShareTransactions) and there are no NVARCHAR fields... also, the length of @sqlstring is 4000. The code is below, I have also scripted the...
March 6, 2009 at 10:25 am
I've checked the data source, which is a physical table (tbl_11689_ShareTransactions) and there are no nvarchar fields there. Also the length of @sqlstring is 4000... I have...
March 6, 2009 at 10:21 am
Thanks guys. That would explain why it won't execute, but why is @sqlstring not being populated up to 8000 to start with, as it is defined as a varchar...
March 6, 2009 at 9:34 am
exec (@sqlstring)
March 6, 2009 at 8:54 am
Thanks JacekO for replying. However there are no nvarchar fields in the query.
However if I do SELECT @sqlstring = @sqlstring + @sqlstring, the length of @sqlstring increases to 8000.
It...
March 6, 2009 at 3:49 am
Viewing 6 posts - 31 through 36 (of 36 total)