DG4ODBC to MSSQL Server and multiple databases

Hi all

Is it possible, when you connect Oracle to MS SQL server using DG4ODBC, to access different databases to this database? I tried to use the following syntact: select 'databasename '. "' TableName ' of table@MSSQL, but it does not work. For your reference, the databaselink works properly; Select 'tablename' of table@MSSQL gives good results.

Thank you in advance for your help!

Tom

Yes, it is, but it should be a dedicated dg4odbc set up for each database MS SQL Server, that you want to access.

Remember that each init file gateway requires an entry dedicated to the listener.ora file, in the tnsnames.ora and as well a dedicated entrance odbc.ini that specifies what database you want to connect.

-Klaus

Tags: Database

Similar Questions

  • How can I retrieve the name of the server and the database to a system dsn

    Hello

    I am trying to create a database that will be used by many stores. Each store has its own server and the database and the access runtime version. I want to create a system dsn name, but allowing the administrator to modify the server and the database for that dsn and then, when you connect to the database, the database must be able to find this DSN and the 'new' name of the server and name of 'new' database and connect to point to this server and the database tables. I don't have a login form and I can get the name of the dsn, but I can't find a way to get the server name and database name for that dsn. Does anyone know a way to retrieve this from the registry. I can see it using regedit but have no idea on how to get this in vba access.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • installation of Peoplesoft using an application server and a database server

    IAM installing Peoplesoft on windows 2008R2 64-bit. I've had the Installer (combinations) of the matrix must be installed. I did a successful installation on the server test and its job very well. Now I have to make an installation on the production environment and in the production environment we use a 64-bit application (1 machine installed with windows 2008R2) server and a database server (1 machine installed with windows 2008R2) 64-bit words, we have two separate servers. So will there be additional tasks or settiings who have to do the installation. Thanks for giving me the details.

    As long as the basic connectivity works between servers, there is not particular to do things.
    If you do not plan to run components as CHRP (*) Peopletools on the database server, you will not need to install PeopleSoft (Peopletools nor) on the database server. In any case, it's much better to avoid the DBWizard of production database, manually creating db will be much closer to your expectations.

    Nicolas.

    Process Scheduler (*)

    Published by: Gasparotto N November 3, 2010 09:50

  • DiscOrderedCursor and multiple databases

    Hi, EI 6.4 it is now possible to iterate over multiple databases with a DiscOrderedCursor which is a really great feature. But as far as I understand, it is not possible to distinguish to which database returned DatabaseEntries belong. I would use the DiscOrderedCursor for the use case, the following: 1. across all records in allmost all databases and perform different operations for each database. For the moment, we scan each database separately with a DiscOrderedCursor. 2. the reviews of a subset of the metering databases. For now, we call Database.count for each database. Thank you and best regards Arthur

    Hi Arthur,.

    I think you are looking for the DiskOrderedCursor.getDatabase method:

    http://docs.Oracle.com/CD/E17277_02/HTML/Java/COM/Sleepycat/je/DiskOrderedCursor.html#getDatabase)

    I'm glad you like this feature! Markos Zaharioudakis added this feature to the EJ.

    -mark

  • Confusion between the physical schema definition MSSQL Server

    Hello

    I'm learning ODI 11 g and I am currently working under the physical definition of the schema under topology Navigator. I want to import data from MS SQL Oracle Server; I have defined the source (MSSQL Server) and target servers (Oracle). Testicles of connections and that they are working correctly.

    When you set the physical schema for MS SQL server I am confused with the following fields. Can someone help me understand its use here? I'll be very grateful

    (1) database (catalogue)
    (2) owner (schema) here I read-only user which I already defined as part of the definition of the SQL Server. It does not appear in the list.
    (3) database (catalogue of the work)
    (4) owner (scheme of work)

    Best regards
    Muhammad

    >

    Work catalog database is the location of the temporary objects of ODI (for example, C$, $ I, I have$ tables etc.)
    == I use a single user reading to read the data. How ODI creates temporary objects in SQL server. My work and master repository is the Oracle database.

    Temporary tables are used for a number of things, remember that at this moment in the topology - ODI don't know if your connection to the SQL Server is a source or a target, so he wants all the details, just in case. Reasons for Temp of source tables might be:
    Source of the joins of tables in different data sets with a staging expliitly, set on the source.
    Format (change data capture) objects - Tables to langer, newspaper views (items of $ J) etc.
    If you use only MSSQL tables as sources, you proably find no temporary object created side soruce, arrays of C$ will go into the scheme of work target (in this case, Oracle) that the I'll tables$. So in your case, it's normal.

    Scheme of work is the owner of the database value (catalog of the work) - once again, usually of dbo.
    == use dbo as sys in oracle?

    Type-IIRC no matter what user to the sysadmin role that creates objects have these objects as dbo by default.
    Im not MSSQL DBA if.
    Think of it as a qualifier that ODI will use when generation code selection based on the mappings of interface (for example select database.catalog.table xyz) etc.

    Hope that helps

    Published by: PeakIndicators_Alastair on May 14, 2013 08:53

    Published by: PeakIndicators_Alastair on May 14, 2013 08:54

  • Interlink with Sql server and Oracle

    Hello

    We have some data in SQL Server.
    We need to link SQL Server and Oracle Database. To make reports in Oracle Apex.

    Please someone guide me to interconnect with Oracle database

    Kind regards
    Thérèse

    Therese,
    You can find more information on gateways in this available in My Oracle Support note-

    Note to master for the Oracle Gateway (Doc ID 1083703.1) products

    Kind regards
    Mike

  • Developer SQL, SQL Server and the ampersand

    Hello

    I am connected to a SQL Server database (2008) and has difficulties to get a query runs correctly in SQL Developer (3.1.07).

    Simplified example

    Select table_field
    table
    where table_field <>'This & That ';

    Expected results

    table_field
    Other stuff
    Other stuff
    Other stuff

    Actual results

    table_field
    Other stuff
    This & That
    This & That
    ....


    I can't get SQL Developer to recognize as a literal ampersand &. I tried it out in many ways, but he still thinks it's a variable.

    The query works exactly as expected in MS SQL Management Studio and Toad. Of course, I can just run it in one of these, but I would try to get this working with SQL Developer. Suggestions?

    Please let me know if I can provide further information. Thank you.

    Hello

    SQL worksheet to developers is designed for Oracle, but we allow you to execute instructions SQL Server and other databases Oracle not.
    This can lead to some quirks, such as the one you met.

    Oracle SQL * Plus uses and commercial for define substitution variables.
    Oracle SQL Developer has implemented the same concept.
    Unfortunately there is no sense when something is running on an Oracle database no.

    To work around the problem, you can run the following SQL * Plus command in SQL Developer, before your query SQL Server.
    TOGETHER TO DEFINE
    Select "Hello & Goodbye";

    The following may be useful as well.
    http://dermotoneill.blogspot.com/2010/11/workheet-hints.html
    http://dermotoneill.blogspot.com/2010/12/SQL-Server-and-Sybase-browsing.html

    Kind regards
    Dermot.
    SQL development team.

  • Dblink Oracle to sql server, multiple database on the same server sql under a dblink

    Hi, we managed to set up an Oracle dblink to sql server and retrieve data.

    The user of sql server have been using via dblink has access to multiple databases on the same sql server

    But the question is how in oracle (if possible) prepend you the SQL access to this?

    For example:

    Sqlserver_prod has the user sqlserver_user which seems to be set up as default database sqlserver_db1

    But we have select access to sqlserver_db2

    all work well as sqlserver_user

    Select * from table_fromdb1

    Select * from dbo.table_fromdb1

    Select * from sqlserver_db1.dbo.table_fromdb1

    as does

    Select * from sqlserver_db2.dbo.table_fromdb2

    more in Oracle

    Oracle_db a dblink sqlserver_prod. World connection sqlserver_user

    everything works fine

    Select * from 'table_fromdb1"@sqlserver_prod '.

    Select * from 'dbo '. "table_fromdb1"@sqlserver_prod

    But how to (if possible) access from oracle

    sqlserver_db2.dbo.table_fromdb2

    without having to create a new sqlserver_db2_user referenced in a new dblink

    If oracle for oracle would be

    Select * from remote_oracle_schema.table@remote_oracle_db

    Hello

    You cannot select a table in a different SQL * database server from that to which the gateway instance connects.
    As stated in the documentation-

    Oracle® database gateway

    Installation and Configuration Guide

    11g Release 2 (11.2) for AIX 5 L Based Systems (64-bit), HP - UX

    Itanium, Solaris (SPARC 64-Bit), Linux x 86 operating system,

    and Linux x 86-64

    In the section.

    The example SQL Server multiple databases: Configuration of the modem router

    A separate instance of the gateway that is required for each SQL Server database. Each

    instance needs its own Gateway system ID (SID).

    ==========

    You will need to create a new instance of the gateway for the SQL * Server DB2 as well as a link separate db.

    Kind regards

    Mike

  • Doubt on single server multiple vs single-server instances several databases

    Hello

    Here is my banner for oracle:

    Oracle banner:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    "CORE 11.2.0.1.0 Production."

    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    When you use the dbca command, it creates a new database. So is it possible to have multiple databases at the same time running on the same server?

    I tried this option where I had created 2 databases A and B both running.

    He kept to launch ' ORA-12520: TNS:listener could not find a Manager is available for the type of requested server "intermittently. I have not found any useful document to solve this because of which I ended up recreate all objects in database B to the database A. Data Base A therefore has its own schemas and schemas from database B.

    Below are examples of files tnsnames.ora and listener.ora, sqlnet.ora trying this option:


    sample tnsnames.ora file.

    A =.

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = abc.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = A)

    )

    )

    B =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = abc.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = B)

    )

    )

    Listener.ora, example:

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = abc.com) (PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    )

    ADR_BASE_LISTENER = C:\OracleDatabase

    SQL Net.ora:

    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    ADR_BASE = C:\OracleDatabase

    Lsnrctl status showed services for each database.

    All the world is facing this problem? Can we have multiple databases on a server with a listener running on the same computer? So my Tnsnames.ora file would have 2 strings of connections and file listener with an entry of the listener.

    Can you please share your tnsnames.ora and listener.ora files?

    Also, how to create a single database with multiple instances on the same server? Please tell me about the document that contains an example of this.

    Yes, you can have several databases (running different ORACLE_SIDs) the ORACLE_HOME even on a single server.

    I suspect that the ORA-12520 error was the result of certain constraints of resources (cpu, memory or i/o) resulting in the inability to create a new database session.

    Hemant K Collette

  • Can you have vCenter and your database server on different VLAN?

    According to the title, can you have vCenter and your database server on different VLANS or must they reside on the same?

    Also if we want to change the current IP Address/Subnet Mask vCenter, are there factors that we take into account?

    Thanks in advance for any help

    Yes they can, so you must only be sure to have enough bandwidth network and speed between them will not affect the performance of VC.

    To change the IP of vCenter, keep an eye on this: http://kb.vmware.com/kb/1001493

  • How to start the oracle database server and its client in windows 8

    Hi all

    I am a new entry in this forum and I am a beginner with oracle database.

    I always used SQL Server as the database, and it was easy to use after installation.

    With management program configuration of SQL Server I could to start service SQL Server (SQLEXPRESS) and the database server start!

    With SQL Server management studio, I was able to launch the client application, then was to establish a connection to the server and everything worked great!

    Now, how to work with the oracle database?

    I installed the oracle server and client version 11g R2 in windows 8, but how do I start the database?... and how can I start the client application to query?

    best wishes in advance.

    PS: Sorry for my English.

    If you are on the same machine, the only service that you absolutely need to start is the database service.  In your case OracleServiceSYSDBA (hmmm... How did you find with this name?).

    For queries, you can use SQL * Plus which should also be installed.  If you want something GUI, you can use SQL Developer (you need to install separately I think).

  • Is it possible to run vCenter Server and AUVS in the same database?

    Hello. My client has vCenter Server and VUM installed and running in the same database. Yes, the same database (not only same server database) and the same ODBC (ODBC VUM is 32-bit only).

    My question is whether it is supported or not and I would like a source VMware information, not only "it works fine for me".

    I can't find any definitive info on this VMware. Only something to wave in the installation and upgrade guides about or not to run in the same database ' ' (I guess they mean 'server') and it seems that the recommendation is to separate them for the 'large environments,' whatever that means.

    The environment vSphere 4.1 is currently, and there are about 20 guests and 150 virtual machines.

    If it is not supported, I guess the best way to go is to reinstall both from scratch?

    Thanks in advance!

    / Anders

    Yes, it is a supported configuration.  Since VUM and vCenter using different tables, you can share the same DB

    The database of the update manager that you use can be identical to the vCenter Server database. You can also use a
    separate database, or you can use existing database clusters. For best results in a large scale environment, you
    must use a dedicated Update Manager database that is located on one computer other than the
    the vCenter Server system database.

    http://pubs.VMware.com/vSphere-50/topic/com.VMware.ICbase/PDF/vSphere-Update-Manager-50-install-Administration-Guide.PDF

  • Server with a database and an installed network agent... Add a new database

    First of all, sorry for my English.
    I have a server with Oracle 10.2.0.4, where there was already an agent of the grid control and a database. Now, we have created a new database on the same server. What I do to make this new database is displayed in the grid control?

    Best regards
    Vitor Jr

    Did you do the following?

    agentca -d -c "hostname1,hostname2,hostname3"
    

    Change - read your bad output... exceed the correct host names. You may need to use the full host name IE hostname1.tpn.cliente.com as in your output... Try and see.

    Published by: Freddie Essex on April 24, 2013 16:56

  • Is it possible to have multiple databases in a server?

    Hello:

    I have a quite stupid question, but it makes me doubt.
    Is it possible to have multiple databases in an Oracle Server? Are there so many bodies serving multiple databases on the Oracle server.?

    Thanks in advance

    Published by: user12229399 on 14-mar-2012 01:29

    Hello

    Yes, it's more than possible to have multiple instances on a single server.
    You can also have multiple versions (10g, 11g) on a single server.

    This means that you have several instances, i.e. multiple binary running oracle. You can also separate your data on a level diagram, i.e. a single instance serving multiple schemas.

    HtH
    Johan

    Published by: Johan Nilsson on 14 March 2012 01:31

  • Remote database server and repository of OME

    Do we need a local repository when using OpenManage Essentials?  When I go to the Source of the catalog and choose ftp://ftp.dell.com/catalog/catalog.cab does this mean that I download the latest firmware and drivers directly from Dell?  If so why do need me a local repository?

    Also how can I see what the remote database server?  I know we have an OME DB server but I do not see where to OME he made reference to what database server, it is connected to.

    Hi Mike,.

    It is not necessary to have a local repository when using OpenManage Essentials. Once you select the FTP option, you get the latest firmwares and drivers directly from dell. Local repository is an alternative solution in case you do not want to download the firmwares of FTP every time, or if you do not want to connect to the internet.

    You can find your server of remote database from the details of the registry:

    You start Regedit > HKLM > Wow6432node > Dell Computer Corporation > Dell OpenManage Essentilals > Database

    "In"database ", the value under" "server" is the name of your remote database

Maybe you are looking for