Jeremy, thanks for the info, but can you please tell me what/how your
linked server is configured?
Don
________________________________
From:
vantage@yahoogroups.com [mailto:
vantage@yahoogroups.com] On Behalf
Of
jeremyrleonard@...
Sent: Monday, June 06, 2005 5:12 PM
To:
vantage@yahoogroups.com
Subject: Re: [Vantage] OpenRowSet or Linked Server
Select Jobnum, PartNum from OpenQuery([VANTAGE],'Select JobNum, PartNum
from
pub.jobhead where company=''MFS'' and JobNum=''S010020''')
Its a select inside a select. Replace the name VANTAGE with your Linked
server name.
Also not that the strings are enclosed within two SINGLE quotes and not
double quotes.
Limit the 2nd Select statement as much as possible by adding as many
where
clauses as possible and doing as much linking there instead of in the
main
select body. This causes the recordsets to be selected and linked on
the Progress
side rather than the SQL side.
HTH
Jeremy
[Non-text portions of this message have been removed]
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<
http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
________________________________
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/vantage/
* To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com
<mailto:
vantage-unsubscribe@yahoogroups.com?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <
http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]