Using Oracle Heterogenous services to access sql server database table

I have created a dblink 'POC_HS' from oracle to sql (implemented heterogeneous services) and I am able to successfully pull out data from the default database that the DSN(for sql server) is connected to.
So this 'select * from Test@POC_HS' is working perfectly fine on the Oracle database as 'Test' table resides in the default database (which the System DSN is connected to).
But when I do 'select * Abc.Test@POC_HS' where Test table resides in 'ABC' database which is not the default database throws an error as follows:
ORA-00942: table or view does not exist [Generic Connectivity Using ODBC][Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'Abc.Test'.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: S0002; SQL Code: 208)
I have also tried this 'select * from Abc.dbo.Test@POC_HS' but oracle throws this exception "ORA-00933: SQL command not properly ended".
The dblink user and System DSN account has access to the 'Abc' database.
Thoughts?

Thanks for the info.
But suppose if we have DB link 'POC_HS' where POC_HS is a DBlink between oracle servers, I can do the following -
1. select * Abc.Test@POC_HS
2. select * Def.Test@POC_HS
where Abc,Def are the schemas which the Dblink user has access to. I can execute the above perfectly fine.
I wanted the achieve the same functionality from Oracle to Sql where database keep on changing dynamically . So according to you that's not possible right?
We will have to keep on changing the ODBC connection to a different database or create a new odbc/listener/tnsentry each time query uses a different database right?
Edited by: 878753 on Aug 11, 2011 1:29 AM

Similar Messages

  • .Using Oracle Heterogeneous Services Connectivity to SQL Server :ORA-02068

    Hi,
    I using oracle HS to connect sql server but error ora-02068: following server from HSSQL and ORA-03135 connection lost contact.
    step by step
    1. Create the init.ora file = initHSSQL.ora
    HS_FDS_CONNECT_INFO = HSSQL
    HS_FDS_TRACE_LEVEL = OFF
    2. modified listener.ora file
    SID_LIST_LISTENERHSSQL =
    (SID_LIST =
    (SID_DESC=
    (SID_NAME=HSSQL)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM=hsodbc)
    LISTENERHSSQL =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = CEPITA1403.siam.local)(PORT = 1521))
    and start listernerHSSQL = pass
    3.modified tnsname.ora :
    HSSQL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = CEPITA1403.siam.local)(PORT = 1521))
    (CONNECT_DATA =
    (SID = HSSQL)
    (HS = OK)
    and test by tnsping HSSQL = OK
    4.setup ODBC SQL Server
    Start --> Control Panel --> Administrative Tools --> Data Sources (ODBC)
    Click on the ‘System DSN’ tab.
    Click ‘Add’.
    Name HSSQL
    Click ‘Test Data Source…’.--> Pass
    5
    create public database link HSSQL
    connect to sa
    identified by xxxxxxxx
    using 'HSSQL';
    Database Link created.
    6. select * from ACCOUNT_CODE@HSSQL;
    show error message : ora-02068: following server from HSSQL and ORA-03135 connection lost contact.
    Please let me know.
    rose
    Edited by: user7218901 on Mar 25, 2009 12:39 AM

    Do you have all of your parameter files set up correctly?
    You need to have a hsora file in the hs/admin directory for ioi for instance, initioiDB.ora. In this file you need to set up your hs init parameters. This is an example of what's in one of mine:
    HS_FDS_CONNECT_INFO = Mapics
    HS_DB_NAME = MAPICS
    HS_DB_DOMAIN = WORLD
    HS_FDS_TRACE_LEVEL = ON
    The you need to have an entry in the tnsnames.ora file in the network/admin directory for hsodbcxtrad. The sid should be set to ioiDB.
    You can find documentation on how to manage heterogenous services in the online documentation.
    Managing Heterogenous Services Using Generic Connectivity
    Hope this helps
    Eric
    I have been trying to set up a database link between Oracle and SQL Server, currently both on the same Windows NT machine.
    I managed to create the link as follows:
    CREATE PUBLIC DATABASE LINK ioi
    CONNECT TO IOItest IDENTIFIED BY mba
    USING 'hsodbcxtrad';
    The link is created successfully.
    I then try to run a query and get the following error :
    select * from dealer@ioi
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: [Microsoft][ODBC SQL Server
    Driver][SQL Server]Login failed for user '\'. (SQL State: 28000; SQL Code:
    18456)
    ORA-02063: preceding 2 lines from IOI
    I have added a UID and PWD to the registry settings for the SQL Server DSN but this makes no difference. Do I need to specify a username and password somewhere else ?
    Thanks
    Hugh

  • Using integrated security to access SQL Server database

    Hi,
    Currently we are using username/password combination to log in to a SQL Server database. These varaiables are defined as environment variables.
    For security reasons we now want to use integrated security of the SQL Server database. This way the connection will be with the NTUser the Nodemanager has been started with.
    Can this be done in Fort�?

    I do not think there is a way to pass the NT user's security authentication over to the DB in UDS.
    ka

  • How I can install and configure dg4odbc to access SQL Server database

    I need to link Oracle database (installed in Solaris) to SQL Server database. How can I install and configure dg4odbc. Is there any step by step tutorial or guide available there.Thanks in advance.

    Hi,
      You can download the DG4ODBC software from either MOS or eDelivery depending which versios you want to install
    For 11.2.0.4 -
    Patch 13390677: 11.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER
    - login to My Oracle Support
    - click on 'Patches and Updates'
    - search for patch number 13390677
    - you may need to press the '+' button to see the platform list
    - scroll down the list to and click on the 'Oracle Solaris on SPARC (64-bit)'  option.
    - on the next screen click on the 'Download' option
    - from the list of download files choose -
    p13390677_112040_platform_5of7.zip
    - this is the Gateway media pack and has everything needed for a standalone gateway install.
    - unzip the file and run the installer and choose the gateway you want.
    For 12.1 -
    https://edelivery.oracle.com
    Product Pack – Oracle Database
    Platform – Oracle Solaris on SPARC (64-bit)
    Oracle Database 12c Release 1 (12.1.0.1.0) Media Pack for Oracle Solaris on SPARC (64-bit)
    - then for the gateways download –
    Oracle Database Gateways 12c Release 1 (12.1.0.1.0) for Oracle Solaris on SPARC (64-bit)
    - unzip and run the installer
    Whichever version you decide I recommend you install into a completely separtae ORACLE_HOME from any existing installs as this makes maintenacne easier.
    For the configuration have a look at this note if you have access to My oracle Support -
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
    If not, then refer to the documentation available from -
    Oracle Database Help Center
    - choose either 12.1 or 11.2 then the 'Information Integration' option.
    You can also install the DG4ODBC on the Windows machine (or any other machine if preferred) and access it from the RDBMS on Solaris.
    Regards,
    Mike

  • Using Oracle Forms Importing Data From SQL Server into Oracle Tables.

    Dear All,
    We are using Oracle Forms 10g in windows XP and having OAS 10g and Oracle database 9i.
    How can we import data from SQL Server 2005 into Oracle tables using Oracle Forms?
    Thanks & Regards
    Eidy

    I have no idea what "Oracle Hetrogenius Services" is, so I can't help you with that, sorry.
    SQL Developer might also assist you. SQL Developer can connect to SQL Server as well as Oracle and has some tools for migration. See the documentation for details:
    http://download.oracle.com/docs/cd/E12151_01/doc.150/e12156/toc.htm
    For additional help on using SQL Developer for this task, please consult Support or the SQL Developer forum: SQL Developer
    Hope this helps,
    Jacob

  • Blank Image when using a gif image from a SQL Server Database

    Post Author: scsmith
    CA Forum: Publishing
    Hello,
    I'm trying to use a field from a SQL Server DB that has embedded GIF files. In Crystal Reports when I add the field to the report the picture is blank for every row. Any ideas?

    Post Author: kchiu
    CA Forum: Publishing
    i'm having the same issue. 
    I believe crystal doesn't support gif datatypes.
    I'm trying to either convert the images, or find a work around in crystal, but haven't found anything.

  • Simple way to connect Oracle 11g XE with MS SQL Server 2000

    Is there a simple way to access SQL server database/ Tables within from Oracle 11g XE (Windows-32bit) on same machine. I am a novice so kindly keep it simple. Thanks

    To connect to a SQL Server you need to use an Oracle product called Database gateway for ODBC which uses a 3rd party ODBC driver to connect to the SQL Server.
    The easiest set up is to install DG4ODBC release 11.2 on the SQL Server. How to configure the Database Gateway for ODBC is described in note:
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install          [Document 466225.1]     
    when you install DG4ODBC on a 32bit Windows operating system and the instructions for a 64bit Widnows operating system can be found in this note:
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install          [Document 1266572.1]     
    The database gateway for ODBC is available for free from here:
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    Please make sure you select the 32bit or 64bit Windows operating system depending on the platform where you've installed the SQL Server and on which you now install the gateway and download the <win32/64>_11gR2_gateways.zip CD.
    Once downloaded, unzip it and install it using the Oracle Universal installer. Make sure you select the product Database Gateway for ODBC (there's also a dedicated SQL server gateway called Database Gateway for MS SQL Server - this gateway is NOT for free and it requires a separate license).

  • Accessing SQL Server from Oracle

    I found an article:
    http:www.databasejournal.com/features/oracle/article.php/3442661
    It shows how to setup a connection from Oracle to SQL Server.
    I am new to Oracle Using SQL Loader and PL/SQL.
    I would like to use the SQL Loader in Oracle to load a table in SQL Server. It is my understanding that a ctl file is used and is called by an Oracle application.
    I would not have an Oracle application. I would like to use the ctl file to load the SQL Server table. Can someone point me on how to use the ctl file for SQL Server?
    Also, in PL/SQL would there be a connection string to connect to SQL Server when accessing a table.
    Is there a book or some documentation that would address the above?
    Thanks in Advance.

    that article shows you how to access SQL Server database through Oracle, therefore you have no need to use SQL Loader to load data from SQL Server bcos it can be queried directly by using simple select statement.
    If you want to load the data into Oracle just use CREATE TABLE ... AS SELECT ...
    in PL/SQL, what you need is the database link.
    Cheers,
    NH

  • Create dblink in Oracle/Linux (RHEL4) to MS SQL Server/Windows?

    Hi,
    Can anyone share me the procedure to Create dblink in Oracle/Linux (RHEL4) to MS SQL Server/Windows?
    Thanks

    Hi,
    to access non-Oracle systems you must use Oracle Heterogeneous Services.
    You have to follow the instructions from Heterogeneous Connectivity Administrator's Guide to perform it.
    Regs,
    Acr

  • Oracle Heterogenous Services

    Hi all!
    I want to access and query an excel file's data stored in my system in SQL PLUS using oracle Heterogenous Services. I am using 11g database
    I done
    1. registering odbc DSN name as: cars Driver: Microsoft Excel Driver
    2. modified "initdg4odbc.ora" file with following parameters:
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = cars
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_TRACE_FILE_NAME = hsmsql.trc
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    3. modified tnsnames.ora as
    # tnsnames.ora Network Configuration File: D:\app\node1\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node9)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    cars.node1.COM =
    (DESCRIPTION =
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=node9)
    (PORT=1521)
    (CONNECT_DATA=(SID=cars))
    (HS=OK)
    4. Modified listener.ora as
    # listener.ora Network Configuration File: D:\app\node1\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (ADDRESS_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = node9)(PORT = 1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=cars)
    (ORACLE_HOME = D:\app\node1\product\11.1.0\db_1)
    (PROGRAM=hsodbc)
    5. created database link:
    CREATE PUBLIC DATABASE LINK "LNK" USING 'cars';
    6. Finally rebooted the system to get the parameters intialized, and run the query:
    SQL> select * from SITES@DLINK;
    select * from SITES@DLINK
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specified
    i got the error, is there any mistake in the procedure i have done.. please help...

    Thankyou i got the issue solved.

  • Problem with Oracle Heterogeneous Services

    Hi All,
    I am trying to access SQL Server database using Oracle Heterogeneous Services and I am getting the following error in my tarce file:
    Heterogeneous Agent Release
    10.2.0.3.0
    HS Agent received unexpected RPC disconnect
    Network error 1003: NCR-01003: NCRS: Read error.
    I have checed the tnsnames.ora / listener.ora and they are seems OK
    tnsping is also working fine on HS
    Thses are the steps that I followed :
    1. setup system DNS
    2. configure Oracle HS Initialization File under $ORACLE_HOME/hs/admin
    3. configure tnsnames.ora under $TNS_ADMIN
    4. configure listener.ora under $TNS_ADMIN
    5. craete db link
    6. querying db link gave the following error
    "No more data to read from socket"
    7. trace file under $ORACLE_HOME/hs/log shows the following error
    Heterogeneous Agent Release
    10.2.0.3.0
    HS Agent received unexpected RPC disconnect
    Network error 1003: NCR-01003: NCRS: Read error.
    Please advice
    Regards
    Omer

    Hi,
    Thanks for the reply.
    its not a new project. We have this running for quite a while now.
    i have set the trace level from ON to DEBUG and the log file has the following info :
    Oracle Corporation --- MONDAY JUL 27 2009 13:09:03.719
    Version 10.2.0.3.0
    hoagprd (2): ; hoagprd Entered.
    HOACONN.C (244): ; [Generic Connectivity Using ODBC] version: 4.6.3.0.0070
    HOACONN.C (295): ; Class version: 211
    hoagprd (2): ; hoagprd Exited with retcode = 0.
    hoaexit (6): ; hoaexit Entered.
    hoaexit (6): ; hoaexit Exited with retcode = 0.
    (0): ; Closing log file at MON JUL 27 13:09:11 2009.
    # HS init parameters
    HS_FDS_CONNECT_INFO = xxxxxx
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_SHAREABLE_NAME = /usr/local/iodbc/lib/libiodbc.so
    HS_FDS_TRACE_FILE_NAME = xxxxxx.trc
    HS_FDS_TRACE_LEVEL=4
    # ODBC specific environment variables
    set ODBCINI=/usr/local/iodbc/odbc.ini
    Regards

  • Oracle Heterogeneous Services to create link With Excel spreadsheet.

    Hi
    Please adivse how to use "Oracle Heterogeneous Services" to create a database link from Oracle to the Excel spreadsheet.
    Wishes
    Jawad

    Dear Anwar,
    I'm using XPSP2 10gR2Enterprise
    SID=ORCL
    host=andor (my PC's name)
    Pls help me. I'm struggling with HS also so I've followed your lines, meaning:
    I can create the database link, but cannot retrieve data from source. (see 7.)
    1a. I have created the Excel file c:\EXCL.xls
    NEV DATUM BOOL NUMBER
    Stefán Balázs 09.nov TRUE 0
    Sebestyén Dénes 10.nov TRUE -11
    Tóth Andor 11.nov FALSE 12.3
    c: is partition on the same server where 10g sits.
    1b. I've created an ODBC system DSN for this excel file, named EXCL.
    2. tnsnames.ora has bee nupdated by this:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = andor)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    EXCL =
         (DESCRIPTION =
              (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP)(HOST = andor)(PORT = 1521))
              (CONNECT_DATA =
                   (SID = EXCL)
              (HS = OK)
    3. listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = EXCL)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (PROGRAM = EXCL)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = andor)(PORT = 1521))
    4. initexcl.ora in hs directory:
    HS_FDS_CONNECT_INFO = EXCL
    HS_FDS_TRACE_LEVEL = 0
    Listener restarted.
    5. in iSQLPlus:
    SQL> CREATE DATABASE LINK excl USING 'excl';
    Database link created.
    6. in Enterprise Manager there is a Database Link:
         database links: EXCL.REGRESS.RDBMS.DEV.US.ORACLE.COM
    service name: excl
    7. testing the database link says:
    The Database Link is not active.
    ORA-28545: .Unable to retrieve text of NETWORK/NCR message 65535... ORA-02063: previous 2 lines from EXCL
    Please help me to get over this.

  • About Oracle Heterogeneous Services and Oracle Gateway

    Hi All,
    I am very new at this topic, I want to know:
    1)Oracle Heterogeneous Services and Oracle Gateway same or not?Need license or not?
    2)If want Creating Database Link from Oracle 11g to Sybase AS 15.5 Using Oracle Heterogeneous Services what drivers should I install from my pc(windows 7) and from my server(Linux red hat 5)?please give me link for this
    3)Is there any link Step by step to configure odbc until creating dblink?
    4)what more convenient, connect sybase from Oracle Heterogeneous Services or Oracle Gateway?
    Thank you so much for your help
    Regards
    JOE

    Joe,
    let copy/paste your questions and comment inline:
    1)Oracle Heterogeneous Services and Oracle Gateway same or not?Need license or not?
    Let me first clarify one thing, heterogeneous services is the generic mechanism in the Oracle database used by all gateways. The product you are talking about is the Database Gateway for ODBC or the Database Gateway for Sybase.
    The Database Gateway for ODBC is available for Linux and Windows. It is the free product which does not require an Oracle license. The license is included in your database license. It is a generic gateway which allows you to connect with any suitable 3rd party ODBC driver to a matching foreign database. As it is a generic connectivity which aloows you to connect to real databases but also to MS Excel or even Text files as long as you have a suitable ODBC driver, its capability is very limited.
    The more powerful gateway is the Database Gateway for Sybase. It covers the same functionality as DG4ODBC but it allows you also to work with distributed transactions, it allows you to call remote Sybase stored procedures etc. This gateway is design for Sybase ASE connections, so it is also able to map certain Oracle functions to Sybase equivalents. This Database Gateway for Sybase is NOT for free, it requires an additional license.
    2)If want Creating Database Link from Oracle 11g to Sybase AS 15.5 Using Oracle Heterogeneous Services what drivers should I install from my pc(windows 7) and from my server(Linux red hat 5)?please give me link for this
    That depends on your preferences. Both gateways are available for Linux and for Windows. When using DG4ODBC you only need to pay attention that you get a suitable 3rd party ODBC driver for this platform with the matching word size (64bit for 64bit DG4ODBC and 32bit ODBC driver for installations of DG4ODBC on 32bit platforms).
    The latest software release is currently 11.2.0.3 and it can be downloaded (and installed from scratch) from "My Oracle Support". Just open the Patches & Updates section, look for Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER and make sure to choose the platform you want to use. Then check out the readme as it lists which of these download CD's contains the gateway software.
    BTW, the CD contains DG4ODBC and DG4SYBS and it is up to you to decide during the installation which product you want to use.
    3)Is there any link Step by step to configure odbc until creating dblink?
    The ODBC driver installation differs from vendor to vendor and platform to platform - so we don't have a specific note how to configure the ODBC driver. This kind of question is better handled by the ODBC driver vendor.
    Regarding the set up of DG4ODBC on Windows you find suitable information in the knowledge base on My Oracle Support. Just look for:
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install          [Document 466225.1]     
    and for DG4SYBS:
    How to Configure DG4SYBS (Oracle Database Gateway for Sybase) on 64bit Unix (Linux, AIX, HP-UX Itanium and Solaris) Post Install          [Document 437696.1]     
    How to Setup DG4SYBS (Database Gateway for Sybase) on a 64bit Windows          [Document 1319852.1]     
    4)what more convenient, connect sybase from Oracle Heterogeneous Services or Oracle Gateway?
    It really depends on your needs. DG4SYBS is surly easier to install as this gateway comes with everything you need and you do not have to find a suitable ODBC driver nor get the ODBC driver working. It is also more powerful as you can for example use triggers that replicate data changes in an Oracle database to the Sybase database within the same transaction. When you want to call Sybase stored procedures you can also do that with DG4SYBS. So it really depends on your needs.
    - Klaus

  • How to access Sql Server Express installed on Virtual PC from Host?

     
    I have SQL Server Express 2008 R2 installed on Virtual PC. and on my Host machine i have SQL Server 2008 R2 ( Enterprise Version) installed.
    Since Management studio that comes with SQL express does not support SQL profiler, i want to access SQL Server Express from the Host machine’s management studio which has SQL profiler.
    But I could access it using VM’s ip address & instance name

    Hi lax,
    Follow below steps in your Virtual Machine:
    1. Allow remote connections to this server
    The first thing you want to check is if Remote Connections are enabled on your SQL Server database. In SQL Server 2008 you do this by opening SQL Server 2008 Management Studio, connect to the server in question, right click the server and open the Server Properties.
    Navigate to Connections and ensure that Allow remote connections to this server is checked.
    2.  Protocols for MSSQLServer
    The next good thing to check is the SQL Server Network Configuration. Open the SQL Server Configuration Manager, unfold the node SQL Server Network Configuration and select Protocols for MSSQLServer (or whatever the name of your SQL Server instance is). Make
    sure that TCP/IP is enabled.
    3. The Firewall
    If there is still no communication happening between your computer and the remote SQL Server you most likely need to configure your firewall settings.
    A good first step is to figure out which port is being used by TCP/IP (and which you need to open in your firewall). You can do this by right clicking TCP/IP and selecting Properties. Click on the tab IP Addresses .
    That was easy enough and all there is left to do is to allow inbound TCP/IP traffic on Port 1433 in your firewall. In Windows 7 this works something like this. Open the Control Panel and navigate to Windows Firewall. Click on Advanced Settings on the left hand
    side and you should see the Windows Firewall with Advanced Security. Select the Inboud Rules on the left hand side and click on New Rule on the right hand side. This opens the New Inbound Rule Wizard which you can use to allow inbound traffic on Port 1433
    for TCP/IP.
    For more information, please refer to
    http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx.
    In host machine:
    After you have done steps above, you could use the SQL Server Management Studio in the host machine to connect the SQL Server Express R2 in Virtual PC. If you installed a default instance in Virtual PC, you could use VirtualComputerName to login the SQL
    Server database engine. If you installed a named instance in Virtual PC, you could use VirtualComputerName\InstanceName to login the SQL Server database engine.
    Thanks,
    Maggie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • Connect & transfer data from SQL Server Database

    Hi all,
    I would like to connect to MS SQL Server Database and transfer data from the data stored in the SQL Server Database tables into Oracle Tables.
    How should I go about doing this ?
    P.S.: I am using Oracle 11g and SQL Server 2005
    Message was edited by:
    Monk

    What operating system is your Oracle database running on?
    If you're running Oracle on Windows, you can use Heterogeneous Services and Generic Connectivity along with the Microsoft SQL Server ODBC driver to create a database link from Oracle to SQL Server. If you're running Oracle on something other than Windows, you can do the same thing, but you would generally need to license either a third party ODBC driver or one of the Oracle Transparent Gateway products.
    Justin

Maybe you are looking for