Viewing 15 posts - 1 through 15 (of 27 total)
arun.sirpal (5/11/2011)
cant you use nvarchar(max) meaning maximum storage size is 2^31-1 bytes?
NVARCHAR(MAX) works. Thank you!
May 11, 2011 at 9:52 am
Ninja's_RGR'us (5/11/2011)
May 11, 2011 at 9:45 am
May 11, 2011 at 9:29 am
Sean Lange (5/11/2011)
May 11, 2011 at 9:08 am
Ninja's_RGR'us (5/11/2011)
Then it means the query is wrong. Wrong table, wrong schema, wrong PK id.I'd focus there because you have no other problem at this point.
ohhh, you are right....
May 11, 2011 at 9:00 am
Ian Scarlett (5/11/2011)
But query is created dynamically.
Is the dynamic part so long that it wouldn't fit in 4000 characters?
Couldn't you put the first part in one variable, the dynamic part...
May 11, 2011 at 8:34 am
Ninja's_RGR'us (5/11/2011)
May 11, 2011 at 8:27 am
Ninja's_RGR'us (5/11/2011)
I tested this on my machine and it works (but I do get syntax error in the next query so I'd focus there if I were you) :
Did...
May 11, 2011 at 8:12 am
Ian Scarlett (5/11/2011)
May 11, 2011 at 8:02 am
Ninja's_RGR'us (5/11/2011)
IIRC this is why xml was invented...
Yes, normally what we supposed to do is, get the data, match it with column names to xml tags and send as a...
May 11, 2011 at 7:45 am
Ninja's_RGR'us (5/11/2011)
Any reason why you're not using select *?P.S. Yes I know this is not best practice.
Because I'm writing an non-intelligent process. I need the data attached with it's column...
May 11, 2011 at 7:26 am
Ninja's_RGR'us (5/11/2011)
Please post the whole code.
I did that 10 seconds before your post 🙂
May 11, 2011 at 7:20 am
For the time being, no I can't.
I replied to this at:
http://www.sqlservercentral.com/Forums/Topic1106818-391-1.aspx
Thank you.
May 11, 2011 at 7:18 am
May 11, 2011 at 7:13 am
Jason Selburg (5/11/2011)
NVARCHAR(MAX)
It's interesting, when I tried it, I didn't get any errors but also nothing returned from the query.
When I run the same query with NVARCHAR(MAX) for a...
May 11, 2011 at 7:09 am
Viewing 15 posts - 1 through 15 (of 27 total)