By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,843 Members | 2,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,843 IT Pros & Developers. It's quick & easy.

SQL Server + Oracle Data linked in one query

P: n/a
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.

Jun 8 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
I know it's a similiar concept but how about via linked servers?

Mark Graveline
mg********@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.


Jun 8 '06 #2

P: n/a
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
mg********@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.


Jun 13 '06 #3

P: n/a
The error appeared because I defined schema name in lowercase.

Jun 13 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.