dbTalk Databases Forums  

OPENQUERY ISSUE

microsoft.public.sqlserver.connect microsoft.public.sqlserver.connect


Discuss OPENQUERY ISSUE in the microsoft.public.sqlserver.connect forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JMMB
 
Posts: n/a

Default OPENQUERY ISSUE - 06-18-2008 , 12:01 PM






OPENQUERY ISSUE

Hi,

I have SQL 2005 Enterprise set up with Linked Server using ODBC Driver
(System DSN) to access an AS/400.

When I run the subquery below, I get 2002328 records.

SELECT * FROM OPENQUERY(SILVER, 'SELECT COUNT(*)FROM LOHTDLFP.MPMNMCP_X')

But, only 24 Records for the following one.

SELECT * FROM OPENQUERY(SILVER, 'SELECT * FROM LOHTDLFP.MPMNMCP_X')

Any ideas why the difference here? Is there something I should be looking at
a DSN configuration level?

Thanks very much,

Marcelo.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.