﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss content posted by Rudy Panigas / Article Discussions / Article Discussions by Author  / Using SQL Server to collect information from your Oracle server / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Fri, 24 May 2013 16:17:59 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>[quote][b]JunkMail Victim (8/10/2011)[/b][hr]Hello aleksey2001.I do internal audit work.  My ability to work with information through SQL Server is much greater than in Oracle.  Collecting Oracle environmental data through SQL Server is a blessing.  So far, I get the results every bit as fast through this method as I do when checking the SQL Server environment alone.  Even if it was slow, I could wait.Everything has its purpose and benefit.  This occurs irrespective of your personal wants and desires.I'm still very glad for the information.[/quote]Hi JunkMail Victim,Unfortunately not all users are as patient as you are. They are not willing to wait for several hours to transfer data. I'm not trying to say that it wouldn't work for anybody. It's just I really frustrated with slowness of that configuration at this moment because I need to deal with flat files transfer via SSIS job which need to be run from .Net application. It sucks big time. BTW I love audit options of ORACLE and kind of confused with SQL Server . Check out the fine grained auditing in Oracle. It's really neat.</description><pubDate>Wed, 10 Aug 2011 12:26:05 GMT</pubDate><dc:creator>aleksey2001</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>Hello aleksey2001.I do internal audit work.  My ability to work with information through SQL Server is much greater than in Oracle.  Collecting Oracle environmental data through SQL Server is a blessing.  So far, I get the results every bit as fast through this method as I do when checking the SQL Server environment alone.  Even if it was slow, I could wait.Everything has its purpose and benefit.  This occurs irrespective of your personal wants and desires.I'm still very glad for the information.</description><pubDate>Wed, 10 Aug 2011 11:45:37 GMT</pubDate><dc:creator>JunkMail Victim</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>[quote][b]JunkMail Victim (6/6/2011)[/b][hr]Great article.  It's so much easier to gather Oracle information from SQL Server than Oracle itself.[/quote]Oh yeah, it's ease and PAINFULLY SLOW.I used this configuration many times in different environments and was happy, but in our current environment we have a need to move ~ 1 million rows from SQL Server to Oracle and this job takes several hours to complete. To unload this data to plain text it takes 20 seconds. To load this data from plain text to Oracle it takes several minutes, so simple INSERT ... SELECT ... is a killer. Good luck with that configuration! And what's wrong with Oracle-to-Oracle? DBLINK works just fine.</description><pubDate>Tue, 09 Aug 2011 17:55:33 GMT</pubDate><dc:creator>aleksey2001</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>IMO this should be the service name taken from tnsnames.ora</description><pubDate>Tue, 07 Jun 2011 05:23:28 GMT</pubDate><dc:creator>Damian Widera-396333</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>[quote][b]daveriya (6/6/2011)[/b][hr]if you installed oracle client  on sql server ,then what is the use of if.u need to create linked server to oracle client and then oracle client make connection to oracle server[/quote]If you do not install the Oracle client on your SQL server then the link connection will not work or not work properly. When you create a "linked" connection in SQL server; the server itself is connecting to Oracle (or other SQL servers) and not your desktop. To understand how linked server connection works I recommend Book On Line (BOL). In this article I am assuming that you know how linked servers work. It's not hard just takes some time to read through.The only thing that the Oracle client is going to provide you is the correct drivers in order for SQL server to connect to Oracle.I hope his answers your question.Thanks,Rudy</description><pubDate>Mon, 06 Jun 2011 09:49:14 GMT</pubDate><dc:creator>Rudy Panigas</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>if you installed oracle client  on sql server ,then what is the use of if.u need to create linked server to oracle client and then oracle client make connection to oracle server</description><pubDate>Mon, 06 Jun 2011 09:41:25 GMT</pubDate><dc:creator>daveriya</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>Great article.  It's so much easier to gather Oracle information from SQL Server than Oracle itself.</description><pubDate>Mon, 06 Jun 2011 06:13:54 GMT</pubDate><dc:creator>JunkMail Victim</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>In my article ORACLESRV1 is the server name. Maybe you should first try to setup the link connection with the GUI. Once you see it working then you can modify the script to fit your needs.Please verify:@server = your oracle server nameand@datasrc = service name located in your tnsnamesOne last thing, did you install the Oracle client onto the SQL server that you connected to? If you are still having issues you may have to talk to your Oracle DBA as I'm not sure what else to say.Thanks,Rudy</description><pubDate>Mon, 06 Jun 2011 05:37:05 GMT</pubDate><dc:creator>Rudy Panigas</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>Rudy,  the ORACLESRV1 is just the name of the linked server, that you can then reference in SQL - that shouldn't have any effect?Yes I have the Oracle client installed</description><pubDate>Mon, 06 Jun 2011 05:28:30 GMT</pubDate><dc:creator>kevriley</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>You need to change the "ORACLESRV1" parameter to your server name. Verify all your setting and try again. If you have an Oracle DBA than ask them for some help. Do you installl the Oracle client on your SQL server? I had lots of issues until I installed it. The installation must be on your server not your workstation.Rudy</description><pubDate>Mon, 06 Jun 2011 05:23:36 GMT</pubDate><dc:creator>Rudy Panigas</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>Thought it was, still doesn't help me.I have the error  Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLESRV1".OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLESRV1" returned message "ORA-12541: TNS:no listener". (.Net SqlClient Data Provider)I think there must be something else preventing me from making the connection.As an aside I can connect fine to this Oracle instance using TOAD/ Oracle SQL Developer, so I know that I am not 'blocked' as such.</description><pubDate>Mon, 06 Jun 2011 05:19:33 GMT</pubDate><dc:creator>kevriley</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>[quote][b]kevriley (6/6/2011)[/b][hr]In the definition of the linked server, is 'ORACLESP' the resolved name from tnsnames, or is it the actual server name? Or either?[/quote]This is the serivce name which is located in the TNSNAMES.Hope this helps,Rudy</description><pubDate>Mon, 06 Jun 2011 05:02:44 GMT</pubDate><dc:creator>Rudy Panigas</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>Thank you Rudy, nice article</description><pubDate>Mon, 06 Jun 2011 02:50:54 GMT</pubDate><dc:creator>mohammed moinudheen</dc:creator></item><item><title>RE: Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>In the definition of the linked server, is 'ORACLESP' the resolved name from tnsnames, or is it the actual server name? Or either?</description><pubDate>Mon, 06 Jun 2011 02:49:36 GMT</pubDate><dc:creator>kevriley</dc:creator></item><item><title>Using SQL Server to collect information from your Oracle server</title><link>http://www.sqlservercentral.com/Forums/Topic1120025-471-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Monitoring/73741/"&gt;Using SQL Server to collect information from your Oracle server&lt;/A&gt;[/B]</description><pubDate>Sun, 05 Jun 2011 23:20:54 GMT</pubDate><dc:creator>Rudy Panigas</dc:creator></item></channel></rss>