|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Max lenght (8000) in string in OpenQueryHi all,
I have a OpenQuery function that in the Select statement the lenght of it is above 8000 characters, and it get into error when I run the query. Is it possible to by-pass this problem? Thanks a lot. "Luigi" <ciu***@inwind.it> wrote in message You need to use an NTEXT field, along with all of it's limitations as the news:1158153193.968754.180720@i3g2000cwc.googlegroups.com... > Hi all, > I have a OpenQuery function that in the Select statement the lenght of > it is above 8000 characters, and it get into error when I run the > query. > Is it possible to by-pass this problem? > > Thanks a lot. > largest NVARCHAR or VARCHAR is 8000 bytes (4000 characters for NVARCHAR). Robinson ha scritto:
> You need to use an NTEXT field, along with all of it's limitations as the Yes, but my Select statement in inside the OpenQuery, not a variable> largest NVARCHAR or VARCHAR is 8000 bytes (4000 characters for NVARCHAR). (an OpenQuery doesn't accept parameters). Like this one: SELECT * FROM OPENQUERY (XPDB, ''SELECT BUTE0.FM_BOST.SOC_MASTER, ................................... ...................................... ................................. -- up 8000 characters ..........................") |
|||||||||||||||||||||||