all groups > sql server connect > may 2004 >
You're in the

sql server connect

group:

Linked server


Linked server Admin
5/28/2004 1:18:52 PM
sql server connect:
I linked to paradox table from MSSQL 2000 enterprise server and I saw all
the table name
but my question is how can I make a select statment to see the data?

Re: Linked server Admin
5/28/2004 1:35:10 PM
THANKS A LOT, but the linked server is paradox.
I make a ODBC connection and then I linked into linked server
mean
Select * from LinkedServername...city
is this correct? bcs I have not database name and owner name this is paradox
table

[quoted text, click to view]

Re: Linked server Admin
5/28/2004 3:02:34 PM
I do that and it's not working
Note: this is paradox file and the provider name is ODBC drivers


[quoted text, click to view]

Re: Linked server Roji. P. Thomas
5/28/2004 4:00:31 PM
Use four part naming like

SELECT A.Col1, A.col2,A.coln
FROM LinkedServername.Database.owner.Table A



--
Roji. P. Thomas
SQL Server Programmer
[quoted text, click to view]

Re: Linked server Hari
5/28/2004 4:48:26 PM
Hi,

Try

select * from openquery(linked_server_name, 'select * from table_name')

Replace the server name and table name based on ur requirement.

Thanks
Hari
MCDBA


[quoted text, click to view]

AddThis Social Bookmark Button