Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Row limit on queries to linked servers?

Status
Not open for further replies.

Lozbinator

Programmer
Jan 13, 2003
50
0
0
AU
Hi All,

Just wondering if you can help me out with a problem I'm having.

I have created a linked server to a DB2 database. One query that I have been running returns a maximum of 234 rows, when I am expecting in excess of 3 million.

The query seems ok to me, but my colleagues seem to think there could be something wrong with our use of 'openquery'.

Other queries work fine. My colleagues have also created another linked query using OLE - this one returns the correct number of rows, but with text fields returned as hex!

Can anybody help me to understand why I am returning only 234 rows? I have checked on the properties of the linked server and see no hints. My query is as follows:

[tt]select * from openquery (JDE, 'select * from s101798d.a62prddta.mra_view')[/tt]

Thanks in advance.
 
check this post out, it sounds similar to a problem i was having.


thread183-600595
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top