SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Linked Server Raw Data Size Limit?


Linked Server Raw Data Size Limit?

Author
Message
SwedishOrr
SwedishOrr
Mr or Mrs. 500
Mr or Mrs. 500 (585 reputation)Mr or Mrs. 500 (585 reputation)Mr or Mrs. 500 (585 reputation)Mr or Mrs. 500 (585 reputation)Mr or Mrs. 500 (585 reputation)Mr or Mrs. 500 (585 reputation)Mr or Mrs. 500 (585 reputation)Mr or Mrs. 500 (585 reputation)

Group: General Forum Members
Points: 585 Visits: 657
Is there a limit to how many bytes of data can be returned over a linked server? If so, is it configurable?

Quick example of what I'm seeing:

From Server A:

SELECT DATALENGTH(col1) FROM [RemoteServer].[Database].dbo.[Table] WHERE ID = 1971118
-- 1132

SELECT DATALENGTH(col1) FROM [RemoteServer].[Database].dbo.[Table] WHERE ID = 1969881
-- 0



From Server B:

SELECT DATALENGTH(col1) FROM [RemoteServer].[Database].dbo.[Table] WHERE ID = 1971118
-- 1132

SELECT DATALENGTH(col1) FROM [RemoteServer].[Database].dbo.[Table] WHERE ID = 1969881
-- 93560512



I'm trying to figure out why Server A is returning 0 for the second query. The Linked servers are set up the exact same way. Both servers are SQL Server 2005 SP3, Enterprise Edition (Server A is 32 bit, Server B is 64 bit; I get the same results as Server B on another 32 bit machine, though that one runs SQL2K5 SP4).

What are some of the reasons this could be happening?
kat 70972
kat 70972
Grasshopper
Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)

Group: General Forum Members
Points: 17 Visits: 215
Did you ever figure this out? Seeing the exact same thing and can't find any documentation on it!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search