Connect to a oracle database in another server

Hi people,
I have to read some tables on a oracle database in another server.
I know that I will have to use EXEC SQL command, but how can I make the connection between SAP and that oracle database.
I have seen something about the DBCON table, but I am not sure if I can connect on another server from ther and how...
Thanks...

Dear,
Check the below links:
http://sap.ittoolbox.com/groups/technical-functional/sap-basis/connection-between-sap-system-with-external-oracle-database-with-tcode-dbco-1178583
http://help.sap.com/saphelp_nwpi71/helpdata/en/df/455ec9747111d6b25100508b6b8a93/content.htm
Hope it will help you.
Regards,
Alok Tiwari

Similar Messages

  • How to connect to a MySQL database in another server

    Dear friends,
    I am using Oracle SQL Developer 1.5.3 and I need to connect to a MySQL database located in another server.
    I am trying to create a new connection, informing connection name, username and password. Supposing that "Hostname" is the IP server address, I click on "Choose database", but I always receive the following error message: "Status : Failure - Cannot connect to MySQL server".
    Please tell me what I should do to solve this situation. Thanks in advance.
    Best regards,
    Franklin

    You need to configure your mysql database to accept connection from your PC for the user you used.
    For example,
    GRANT ALL ON *.* TO 'someuser'@'somehost';
    FLUSH PRIVILEGES;

  • Connect on an oracle database from another computer

    hi all,
    i installed oracle database 10g express as well as sql developer on one of my laptop. Everything is ok as of the moment.
    Now, i want to access that oracle database from my another laptop. Is this possible? let me know what should i do in order to achieve this.
    thanks.

    user13169035 wrote:
    thanks for the help. basically here is the setup.
    i have 2 laptops. the first one has oracle 10g database express install and sql developer. i can query my database from here using sql developer.
    now, on my second one, i want to access the data from the database that i created from the first laptop. i want to access the data from the database from the first laptop using sql developer which i also installed on the 2nd laptop.
    i already tried the link from http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm but didnt work (or maybe i missed something important).
    What from the link did you try to follow? Did you try to follow the information in the link i posted, specifically ...
    "4.4 Making Oracle Database XE Server Available to Remote Clients"
    Once you have done that. You will need to know the IP or possible computer name of the computer on the network which is hosting the database (it would be easiest if the laptop with the database had a static IP assigned by your router, assuming this is a home setup, and you use that for your connection). You will need that information to create a new connection in SQLDeveloper on the laptop without the database installed.
    Aside from that you may have to deal with windoze firewall issues and the like, but that removes this from being an Oracle question, you should be able to use google to deal with any issues you encounter in that.

  • Remote connect to Windows Internal Database from another server

    Hello,
    I have a WSUS server which has Windows Internal Database installed. Now If I have to manage the database using SQL Server management studio, then I need to connect using the Server Name as \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
    Now, if I want to connect to the server that has Windows Internal Database installed, but does not have SQL Server Management Studio installed, then how to connect?
    Please advice. Thanks in advance.
    Rajiv

    You can either install SQL Server management Studio or SQLCMD and then work with Windows Internal Database
    Both of these are freely downloadable from microsoft website.
    Please find the links for SQL 2014
    Management Studio
    http://www.microsoft.com/en-gb/download/details.aspx?id=42299
    You can download one of these based on 32/64bit
    MgmtStudio 32BIT\SQLManagementStudio_x86_ENU.exe
    MgmtStudio 64BIT\SQLManagementStudio_x64_ENU.exe
    SQLCMD
    http://www.microsoft.com/en-gb/download/details.aspx?id=29065
    Check the section  Microsoft® SQL Server® 2012 Command Line Utilities
    HTH
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Software to connect to a Oracle database server.

    Does anyone know of software that enables me to connect to a Oracle database server, and check out the content? Doesn't need to have a gui.
    Orjanp...

    JAVA + JDBC type 4.

  • Connecting to an Oracle database using ASP

    Hi
    I am having problems connecting to an Oracle database using ASP. I am trying to do this for a school project the school's database server is running Oracle 9i. The repository is version 6. The web server I have access to only has ASP not ASP.net. What kind of connection string would I need to be able to connect to the database?

    You do need to ensure that the Oracle client and Oracle server are compatible, but that is generally pretty easy to accomplish. Unless you are trying to cross more than one major release (i.e. 9.2 client to a 7.3.4 database), you're pretty safe there.
    You could try downloading and installing the latest 8.1.7.x Oracle ODBC driver from OTN on the machine with the 8.1.7 Oracle client (I believe the last ODBC patchset was 8.1.7.10), but I don't have particular confidence that that will solve the problem. If it doesn't, we can do an ODBC trace to focus in on the issue, but installing a new driver is a much easier process, so that probably ought to be the first step.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Error when connecting to an Oracle Database

    Hi, I'm trying to connect to an oracle database by calling a javabean from a jsp page. When I try to connect however I get this error:
    java.lang.UnsatisfiedLinkError: C:\oracle\ora92\jdbc\lib\ocijdbc10.dll: The specified procedure could not be found
         java.lang.ClassLoader$NativeLibrary.load(Native Method)
         java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
         java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
         java.lang.Runtime.loadLibrary0(Runtime.java:822)
         java.lang.System.loadLibrary(System.java:992)
         oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:2963)
         oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:225)
         oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:348)
         oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:139)
         oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
         oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
         java.sql.DriverManager.getConnection(DriverManager.java:525)
         java.sql.DriverManager.getConnection(DriverManager.java:171)
    I am trying to connect to the database using OCI and its tns name. Also right now I'm just using the tomcat bundled in the netbeans ide.
    Anyone have any ideas on what's wrong?

    Why not use a type IV JDBC driver, available forfree download from Oracle? No
    need for any DLL then.The standard Oracle driver comes with "oci" and
    "thin" drivers.
    Thin driver is 100% java.
    oci driver uses the dlls.
    What version of Oracle are you using? I am guessing
    10?
    Have you got Oracle Client installed on this machine?
    (Stupid question I know)
    What URL connection string are you using?
    Does the "thin" driver work? ie url
    "jdbc:oracle:thin:@[IP_ADDRESS]:[PORT]:[SID]"
    Cheers,
    evnafetsThere's another advantage of the thin driver: you don't have to have the client installed or TNS names defined for it to work.
    %

  • Connecting to Non-Oracle Databases

    How can we connect to Non-oracle databases like MS-SQL server using Developer Forms and reports?
    can any body please provide steps to do this.

    HI
    to connect to Non-Oracle Database u have to use OCA ,,,u have to define ODBC data source for the database <source1> u want to connect. to connect from the forms or reports
    user name/password@ODBC:source1.
    hope this help u
    try to look for the developer help

  • Connecting to an oracle database questions

    <p>Our current solution to connecting to our oracle database uses the following code:</p><p>    ReportClientDocument clientDoc = new ReportClientDocument;</p><p>    java.sql.ResultSet rs =  fetchResultSet(driverName, connectStr, userName, password, <u>query</u>);</p><p>    clientDoc.getDatabaseController().setDataSource(rs, <u>tableName</u>,tableName+"_ResultSet"); </p><p>The code for subreports is very similar, but isn&#39;t necessary for my question. The problem w/ this approach is we have to define the SQL query and the table name in the JSP, which we shouldn&#39;t have to do considering both of these are stored in the report. Any changes to the reports&#39; sql would then require someone to edit the jsp, which is just bad.  </p><p>I have been reading up on the ConnectionInfo and ConnectionInfos classes (nice naming convention btw) and the CrystalReportViewer.setDataBaseLogonInfos() method, and I believe a solution may lie here. The problem is the tutorials on using the ConnectionInfo class assume the database name is stored in the report, and we do not want to assume this. We are developing our reports to be used by our customers, who may name their database whatever they want so long as the tables inside it are what we specify. Because of this assumption, I have yet to find a good explanation of how to use the setAttributes(PropertyBag) method which is the only I have seen to specify the database name (within a connection string). I have examples of it, but nothing that defines the key/value pairs required in the PropertyBag to create a connection to an oracle database. </p><p>Is there some documentation on the key/value pairs needed by the PropertyBag? Also, if there is another (easier) solution I am overlooking then please let me know, thanks.</p><p>-Sam Morehouse</p><p>HBF Group, Inc </p><p> </p>

    <p>got it working, here&#39;s some sample code.  </p><p> </p><p><%<br />    try{<br />        ReportClientDocument clientDoc = new ReportClientDocument();<br />        clientDoc.open(reportName, 0);<br />    <br />        ConnectionInfos connInfos = new ConnectionInfos();<br />        IConnectionInfo iConnInfo = new ConnectionInfo();<br /><br />        PropertyBag bag = new PropertyBag();<br />        bag.put("Database Class Name",driverName);    // "oracle.jdbc.driver.OracleDriver"<br />        bag.put("Connection URL",connectStr);        // "jdbc:oracle:thin:@dbName:1521:sid"<br />                            <br />        PropertyBag pb = new PropertyBag();<br />        pb.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES ,bag);<br />        pb.put(PropertyBagHelper.CONNINFO_DATABASE_DLL ,"crdb_jdbc.dll");<br />        iConnInfo.setAttributes(bag);<br />        <br />        iConnInfo.setUserName(userName);<br />        iConnInfo.setPassword(password); <br />                <br />        iConnInfo.setAttributes(pb);<br />            <br />        connInfos.add(iConnInfo);<br />        session.setAttribute(reportName, clientDoc);<br />        session.setAttribute("reportSource", clientDoc.getReportSource());<br /><br />        //Setup viewer. Only going to include the relevant line, the rest can be found</p><p>        //elsewhere.<br /></p><p>        CrystalReportViewer oCrystalReportViewer = new CrystalReportViewer();                   oCrystalReportViewer.setDatabaseLogonInfos(connInfos);                                      }    </p><p>catch(ReportSDKExceptionBase exc)%></p>

  • Migrating OBIEE Repfrom Oracle database to SQL server database in Solaris.

    Hi,
    I need inputs in how we would migrate our connections in Repository from Oracle database to SQL server database in Sloaris server.
    Is there a complication here.
    Regards,
    Bhavik

    Well that makes more sense, you probably have phrased your question better. Microsoft SQL Server Connectivity Components are not supported in any other operating system than Windows. So you will not be able to use the SQL Server native drivers to connect to your SQL Server. ODBC it's an option but there aren't many ODBC drivers for Unix systems. Luckily for you OBIEE includes the DataDirect ODBC drivers and supports using them to connect to a SQL Server. Check [the documentation|http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/general_101331.htm#sthref9] on how to use them. Having said that I would say that whoever is pushing to move your DWH to SQL Server should consider also moving OBIEE to a Windows server to be able to use the SQL Server native drivers to connect to SQL Server.
    PS: No needs to post 3 times. :-)

  • Urgent : Hoe to connect to a ORACLE database throught WEBDYNPRO JAVA

    HI All
    i am very new to Developer Studio,
    i want to connect to an oracle database through wedynpro java.
    i have seen some tutorials on SDN. i know something about adding external JARs and OJDBC .
    Can anyone send me the sample code to connect to a database
    <b>very urgent</b>
    Thanks in advance
    Sushma

    Hi Sushma
    Ask your system Admin for servername,portnumber of database server
    Connection conn=null;
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    conn =DriverManager.getConnection ("jdbc:oracle:thin:@<servername>:<portnumber>:DB","uname", "pwd");
    Statement stmt=conn.createStatement();
    ResultSet rs=stmt.executeQuery("select * from <tablename>"); // select statment
    while(rs.next())
    IXXElement nodeConnection=wdContext.createXXElement(); //creating a node to store the data from oracle
    nodeConnection.setYY(rs.getInt("YY")); // setting the values into input fields
    nodeConnection.setAA(rs.getInt("AA"));
    nodeConnection.setBB(rs.getInt("BB"));
    wdContext.nodeXX().addElement(nodeConnection); // adding the node
    catch(Exception ex)
    finally
    try
    conn.close(); // closing the connection
    catch(Exception e)
    welcome to SDN and All the best from SDN Webdynpro JAVA
    Regards
    Chaitanya.A

  • Unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver

    I am unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver vers.2.573.4202.00 on a Win98 computer.
    First, I create a "Net Service Name" in order for the ODBC Driver to find the Oracle server. I then created a System DSN in the ODBC Data Source Administrator and assigned the "Net Server Name" as the server in the "Microsoft ODBC for Oracle Setup". But when I test this DSN with Oracle's provided "Oracle ODBC 32Bit Test vers.2.5.3.1.0" I get an error:
    SQLSTATE: NA000
    Native Error Code:0
    Driver Message:[Microsoft][ODBC driver for Oracle][Oracle]
    This error occurred on all three Win98 computers I have tried. It does however, seem to work fine on WinNT 4.0, and believe it or not, on the two Win95 computers I have tried.
    Does anyone have any fixes, recomendations, or advice?
    Thank you,
    Eric Edwards
    null

    Why are yu not using the Oracle ODBC driver - these can be downloaded from OTN.
    Have you set up a tnsnames.ora entry for the Oracle database you want to connect to? Does this name have a domain name added to it? Check %ORACLE_HOME%\network\admin\tnsnames.ora for the service name. If it is a name of the form :
    name.domain.subdomain
    then you should try using this full name when configuring the ODBC data source.
    null

  • No connection to an oracle database

    Hello
    I have installed database Rel. 2. JDevelopper 9.0.3.2 with BI Beans 9.0.3.6.
    Additionally I installed the warehouse builder 9.2.0.2.8.
    After I created a repository, a runtime repository and a target schema, I wanted to connect to my Oracle Database. But in the second window when you create a connector I can't choose a database. I can only mark unspecified...
    Does anybody know why???
    Damian

    Yes I tried to use OWB.
    I looked at OTN Documentation
    (Oracle9i Warehouse Builder Installation and Configuration Guide)
    So I installed OWB Design Time with the Installer, then I
    installed the Design Repository using the Repository
    Assistant. In addition I performed the OWB Server Side installation using Oracle Universal Installer. Then I installed a Runtime Repository, a Runtime Access User and a Warehouse Builder Target Schema.
    After this installation I started the OWB Client and connected as Repository User. I received the make a ODBC Connection. But I want also make a connection to my local oracle database within a connector...
    Now in this Printscreen (http://home.datacomm.ch/crettaz/printscreen.jpg) I can't choose my database. I have do configure more things?

  • How sql developer connects to a oracle database

    hi,
    I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
    How does it make the connection with oracle server?
    Sameera

    924164 wrote:
    hi,
    I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
    How does it make the connection with oracle server?
    SameeraWelcome to OTN
    From Left side Tab click on (+) New Connection. Then at the window give a connection name,User name,Password.
    Then provide Host Name, Port and SID
    Click on Test button and then save or connect.
    Hope this will help you

  • Connecting to an Oracle database after clicking on a foi

    Does anyone know how or have any examples on how to connect to an oracle database after clicking on a 'feature of interest' in MapViewer? I want to be able to click on a 'feature of interest' on the map, and have a list of records from an oracle table displayed using the identified key of the foi. I am able to create the feature of interest, and add the event listener for 'mouse click', but am unsure how to connect to the database at this point. I have been able to connect to the database in a different jsp, but not from here. Thank you.

    1. Create a JSP page that does the database query. It should take the foi id as an input parameter.
    2. In the foi mouse click listener, display the JSP page in iframe. The iframe can be placed outside the map or inside the info window. The function should do something like this.
    function myClickListener(point, foi)
    mapview.displayInfoWindow(point, "<iframe id='my_iframe_id' frameborder=0 width=300px height=400px />", 300, 400) ;
    var myIframe = document.getElementById("my_iframe_id") ;
    myIframe.src = "http://myhost/myjsp?key=" + foi.id ;
    }

Maybe you are looking for

  • How to instantiate class using GUID field from a table

    Hi, There is a class ' /MRSS/CL_SGD_COMPLEX_DEMAND ' and method /MRSS/IF_SGE_COMPLEX_DEMAND~ITEMS_GET. Actual requirement is field called GUID from the table instantiate the class and i can use its methods to get the reference to assign object.

  • Multiple pages in scripts.

    Hi , Could you please tell me how is multiple pages trigerred in scripts. Say the second page. Is this done through the print program? Are there any specific control commands to do so? <<text removed by moderator>> Thanks in advance, Suchi. Edited by

  • ESS Error - User id does not exist

    Hi All, When the user click on personal information - Emergency address link on the portal, user gets error "user XX does not exist in this period". This proble is only for this particular user. on the back end an abap dump with following error messa

  • Access package body in once schema by another

    I have package defined in one schema (A). How can another user (B) access the body of that package logged in as B?

  • Sales Order creation in R3 system using APO TLB functionality

    Dear All, Is there a way to create / trigger sales order creation in the R3 system using TLB shipments or using TLB functionality ? Kindly describe the steps Thanks Sridhar R