PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Installation Linked server

Reply

Linked server

 
Thread Tools Rate Thread
Old 28-05-2004, 11:18 AM   #1
Admin
Guest
 
Posts: n/a
Default Linked server


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?


  Reply With Quote
Old 28-05-2004, 11:30 AM   #2
Roji. P. Thomas
Guest
 
Posts: n/a
Default Re: Linked server

Use four part naming like

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



--
Roji. P. Thomas
SQL Server Programmer
"Admin" <admin@admin.com> wrote in message
news:uT0Me0JREHA.2404@TK2MSFTNGP09.phx.gbl...
> 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?
>
>



  Reply With Quote
Old 28-05-2004, 11:35 AM   #3
Admin
Guest
 
Posts: n/a
Default Re: Linked server

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

"Roji. P. Thomas" <lazydragon@nowhere.com> wrote in message
news:#jTet4JREHA.2876@TK2MSFTNGP09.phx.gbl...
> Use four part naming like
>
> SELECT A.Col1, A.col2,A.coln
> FROM LinkedServername.Database.owner.Table A
>
>
>
> --
> Roji. P. Thomas
> SQL Server Programmer
> "Admin" <admin@admin.com> wrote in message
> news:uT0Me0JREHA.2404@TK2MSFTNGP09.phx.gbl...
> > 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?
> >
> >

>
>



  Reply With Quote
Old 28-05-2004, 12:18 PM   #4
Hari
Guest
 
Posts: n/a
Default Re: Linked server

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


"Admin" <admin@admin.com> wrote in message
news:elffm9JREHA.3016@tk2msftngp13.phx.gbl...
> 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
>
> "Roji. P. Thomas" <lazydragon@nowhere.com> wrote in message
> news:#jTet4JREHA.2876@TK2MSFTNGP09.phx.gbl...
> > Use four part naming like
> >
> > SELECT A.Col1, A.col2,A.coln
> > FROM LinkedServername.Database.owner.Table A
> >
> >
> >
> > --
> > Roji. P. Thomas
> > SQL Server Programmer
> > "Admin" <admin@admin.com> wrote in message
> > news:uT0Me0JREHA.2404@TK2MSFTNGP09.phx.gbl...
> > > 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?
> > >
> > >

> >
> >

>
>



  Reply With Quote
Old 28-05-2004, 01:02 PM   #5
Admin
Guest
 
Posts: n/a
Default Re: Linked server

I do that and it's not working
Note: this is paradox file and the provider name is ODBC drivers


"Hari" <hari_prasad_k@hotmail.com> wrote in message
news:uB#BPWKREHA.2112@TK2MSFTNGP11.phx.gbl...
> 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
>
>
> "Admin" <admin@admin.com> wrote in message
> news:elffm9JREHA.3016@tk2msftngp13.phx.gbl...
> > 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
> >
> > "Roji. P. Thomas" <lazydragon@nowhere.com> wrote in message
> > news:#jTet4JREHA.2876@TK2MSFTNGP09.phx.gbl...
> > > Use four part naming like
> > >
> > > SELECT A.Col1, A.col2,A.coln
> > > FROM LinkedServername.Database.owner.Table A
> > >
> > >
> > >
> > > --
> > > Roji. P. Thomas
> > > SQL Server Programmer
> > > "Admin" <admin@admin.com> wrote in message
> > > news:uT0Me0JREHA.2404@TK2MSFTNGP09.phx.gbl...
> > > > 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?
> > > >
> > > >
> > >
> > >

> >
> >

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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