You are here: Re: SQL Server + Oracle Data linked in one query « MsSQL Server « IT news, forums, messages
Re: SQL Server + Oracle Data linked in one query

Posted by Chris on 06/13/06 06:10

Thanks Mark, I tried the linked servers. I have read permission on
oracle tables (from VB .NET I have no problem executing queries on
tables and retrieving data) but when I execute

select * from RAS...PRODUCT

I get the error "The OLE DB provider "MSDAORA" for linked server "RAS"
does not contain the table "COUNTRY". The table either does not exist
or the current user does not have permissions on that table.

For exec sp_tables_ex 'RAS','product'

NULL MyUser PRODUCT SYNONYM NULL

Do I need different permissions for linked server ?

Saiko Consulting wrote:
> I know it's a similiar concept but how about via linked servers?
>
> Mark Graveline
> mgraveline@sqlchallenge.com
> http://www.sqlchallenge.com
> *** Where Only The Best Technical Professionals Compete
>
> Chris wrote:
> > I need to link some data from SQL Server 2005 with Oracle 10 data.
> >
> > One way is to link Oracle server to SQL Server and use ROWSOURCE for
> > retrieving data.
> >
> > What other ways for joing data from both databases exist ?
> >
> > Can I do it from SQLCRL VB - Stored Procedure ? If yes, what objects
> > shall I use for opening database and running an sql ?
> >
> > Thanks a lot.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация