Oracle forms 9i/10g connecting SQL Server

I am currently working on a Project with Oracle Forms 9i at front end and Microsoft
SQL server at back end. Could Any one please recommand me the steps to connect
Oracle 9i application with SQL Server database.
Thanks in Advance...
M. Aamer Javaid
Oracle Certified DBA
[email protected]

Follwoing is the soluton which I got from orafaq forum:
<<<<<
I'd go for an ODBC on the database server, using HSODBC. It worked quite well on a data warehouse project using OWB. I fail to see why it wouldn't work for Forms.
MHE
>>>>>
Now I'm fully in a confused and frustrated state. Each person is saying different solutions for the problem. One person is saying to connect using ODBC driver while other is saying to connect JDBC driver. Actually which driver should I configure? Also no one is giving a clear picture for the problem.
How can I get a detailed solution for this problem (with screen shots) which include step by step procedure to configure a driver?
So, I would be pleased if you could please guide me with step by step procedure to get connected with Oracle Forms using SQL Server?
Or atleast some reference site where I can find the same.
Thanks.

Similar Messages

  • Oracle forms 9i/10g connecting SQL Server 2000

    Could anyone please guide me in detail to connect Oracle Forms 9i/10g with MS SQL Server database?
    To connect with Oracle Database, we need to copy and paste the tnsnames.ora file from the Oracle Database folder to the Oracle Forms folder.
    But how do i connect with other databases like SQL Server, MS Access, and so on?
    Thanks in advance.

    Follwoing is the soluton which I got from orafaq forum:
    <<<<<
    I'd go for an ODBC on the database server, using HSODBC. It worked quite well on a data warehouse project using OWB. I fail to see why it wouldn't work for Forms.
    MHE
    >>>>>
    Now I'm fully in a confused and frustrated state. Each person is saying different solutions for the problem. One person is saying to connect using ODBC driver while other is saying to connect JDBC driver. Actually which driver should I configure? Also no one is giving a clear picture for the problem.
    How can I get a detailed solution for this problem (with screen shots) which include step by step procedure to configure a driver?
    So, I would be pleased if you could please guide me with step by step procedure to get connected with Oracle Forms using SQL Server?
    Or atleast some reference site where I can find the same.
    Thanks.

  • 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

  • Oracle forms and reports in SQL Server

    My company has developed a application in Oracle forms and reports that works with a Oracle database. In the database also exist a lot of triggers, procedures, functions and packages.
    The application is working perfectly with the Oracle database but I have a request from a very promissing potencial client that has the restriction that could only use a SQL Servr database.
    I know that we have to create a new version of the all database objects, including triggers, function, procedures but my main question is if is possible and if works a forms/reports application connected to a SQL Server database?
    Thank you for your help

    MichaelFerrante,Thank you for your help.
    I have already used the HS services to connecto to external databases from our main Oracle database, and the solution works fine.
    But unfortunally for this particular client he cannont have installed a Oracle database due to internal policies restrictions.
    I can not migrate the full application to another technology like ADF in less than 6 or 8 months.
    Do you thifnk that there is any other solution?
    Mensagem editada por: user10660669

  • How to Connect SQL Server enterprises Manager Version 8.0 with Form 6i

    Dear experts
    I want to know that How can I connect SQL server Enterprise Manager Version 8.0 with Forms/reprots 6i.
    currently I have oracle 9i database at server windows 2003 and I also connected with client (my PC) I work on server.
    I also have SQL server in that server 2003 machine and this SQL Server also work with other clients that have VB program.
    I want to know that can I connect with this SQL server with Form 6i?

    You can't. The closest thing would be to create links in an oracle database to the SQL Server database using Heteregeneous Services and connect forms to the that.
    This forum is for the SQLDeveloper tool. You will get more complete answers in the "Database General", or "Heterogeneous Services" forums

  • How to connect sql server using oracle Client

    Hi,
    I am working in oracle9i and windows os 32 bit.
    I need to connect SQL server 2000 from my oracle client..
    I heard about heterogeneous connectivity ...
    Please expalin me the steps what to add and how to connect the sql server...
    Regs....

    Are you trying to connect to SQL Server from your Oracle database (i.e. create a database link in Oracle to SQL Server)? Or are you trying to connect to SQL Server using your Oracle client software (i.e. SQL*Plus)?
    The former just requires Heterogeneous Services with Generic Connectivity. The latter is functionality that has been depricated and probably no longer works in your environment.
    Justin

  • Problem about using Oracle Form 6i to connect Oracle Database 10g express.

    Sorry to interrupt all of you.
    I have encountered a problem about using Oracle Form 6i to connect Oracle Database 10g express.
    As I would like to
    I use Oracle Net8 Easy Config to create a connection.
    According to "tnsnames.ora", the paramater of connection is as follows;
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID = XE))
    Unfortunately, when I use Oracle Net8 Easy Config to test the connection, an error message is prompted as follows:
    Connecting....
    The test did not succeed.
    ORA-03106: fatal two-task communication protocol error
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    After I google it, I still have no idea how to solve the problem. I would like to ask, could anyone mind providing some hints or solution to address the issues.
    Thanks for your assistance in advance.

    I don't believe the Net8 Easy Config (NEC) will create a compatible entry in the tnsnames.ora. I have Forms 6i running successfully against a 10g Express database, but I did not use the NEC - I created the entry myself. Here is the entry I use:
    XE=
      (DESCRIPTION=
        (ADDRESS=
          (PROTOCOL=TCP)
          (HOST=<<servername or IP address>>)
          (PORT=1521)
        (CONNECT_DATA=
          (SERVER=dedicated)
          (SERVICE_NAME=XE)
      )Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Oracle 10g to sql server 2005 - how to setup

    Hi,
    I have been searching on how to setup a connection from oracle 10g to sql server 2005 and i have to admit i am struggling a bit.
    I have read about Heterogeneous Services and Database Gateway but we really dont want to fork for licence fees so it looks like i have to investigate HS.
    My environment is:
    10gR2 Linux 32 bit
    SQL Server 2005 32bit.
    Would someone be able to provide me with a list of steps to help me get this setup?
    Thanks.
    B

    Hi,
    If you don't want to pay for any licence fees then you will have to use the 11g Database Gateway for ODBC (DG4ODBC) which is included in your RDBMS license.
    You need to use the 11g versions because all previous gateway versions have been desupported for some time. The latest version is 11.2.0.3 which can be downloaded from My Oracle Support as -
    Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER
    and download -
    p10404530_112030_platform_5of7.zip
    - this is the Gateway media pack and has everything needed for a standalone gateway install.
    This version is certified the following RDBMS versions - 10.1.0.5 + RDBMS patch 5965763, 10.2.0.3 + RDBMS patch 5965763, 10.2.0.4, 10.2.0.5, all 11.1 versions, all 11.2 versions.
    You have 2 choices about where you can install it and it would be better to install the gateway into a new and separate ORACLE_HOME from any existing Oracle installs -
    1. On the Linux 32-bit platform where the RDBMS is running. If you install it here you will need to supply a third party ODBC driver. The only free one I am aware of is from FreeTDS but there may be others. There can be problems with the FreeTDS so another one may be preferable but these usually require a license fee.
    See this note in My Oracle Support -
    How to Configure DG4ODBC on Linux x86 32bit or on HP-UX RISC (DG4ODBC 11.1 only) to Connect to Non-Oracle Databases post install (Doc ID 466228.1)
    2. Install DG4ODBC on the Windows platform where SQL*Server is running. If you install on Windows then you will be able to use the Microsoft SQL*Server ODBC driver which should already be installed. See this note on My Oracle Support -
    How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit (Doc ID 466225.1)
    If you don't have access to My Oracle Support you will need to contact someone in your organisation to access the notes for you or review the gateway documentation -
    http://www.oracle.com/pls/db112/homepage
    Regards,
    Mike

  • Replication of table from Oracle 10g to sql server 2000

    Could i replicate table from Oracle 10g to sql server online. we have tables with same configuration and if any change happen in oracle 10g or sql server in that table we need to replicate that change to other database.
    What is the solution for this two way replication between sql server and Oracle 10g

    But the tutorial is saying that i will have to install Oracle database on the server already having sql server, is it client or whole database, if it is then it will acquire lot of resource.
    I want to find out that for Heterogenous Service ODBC, we need third party software for ODBC Driver of SQL SERVER for Linux and secondly if we use Transparent Gateway then what are the steps for its configuration.
    I could not find steps of configuration of Transoparent gateway, when i am trying to install Transparent gateway from Universal installer, it is not there. where do i find it , Do i need to purchase it too.

  • Error in connecting SQL Server ODBC connection to Oracle 8i

    I am tried connecting Oracle 8i on Windows2000 to SQL Server on Windowns2000 using ODBC. Sitting on Oracle server, in datasource(ODBC) when i give SQL servername and userid and password and click next, it gives error:
    connection failed
    SQL Server Error:1326
    ODBC SQL Server driver(Namespipe)
    client unable to establish connection
    can anyone help urgently?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by sanjayp patel ([email protected]):
    I tried connecting Oracle 8i on Windows2000 to SQL Server on Windowns2000 using ODBC. Sitting on Oracle server, in datasource(ODBC) when i give SQL servername and userid and password and click next, it gives error:
    connection failed
    SQL Server Error:1326
    ODBC SQL Server driver(Namespipe)
    client unable to establish connection
    can anyone help urgently?<HR></BLOCKQUOTE>
    null

  • Connecting SQL server from Adobe forms

    Hi Experts,
    I want to know, whether it is possible to connect SQL Server database from Adobe Form directly at runtime without WAS/ADS. If it is possible, please provide any material to proceed further.
    Please help.
    Thanks,
    Rajee

    Have a look at the following document, it explains how to use a MS Access database but it should also work when using a ODBC Data source configured for a MS SQL database.
    [Providing interactive database lookup from forms|http://www.adobe.com/devnet/livecycle/articles/lc_designer_db_lookup_tip.pdf]
    I hope I could help you.

  • How to connect sql server at RunTime?

    Hi,I have a question that when i want to use DBAdapter to connect sql server 2000 in oracle esb at RunTime.
    At design Time ,it can work.but at RunTime ,it does't work.
    At run time,
    1)modify Oracle_Home/j2ee/home/config/application.xml
    add follow elements,the path is right:
    <library path="../applib/msbase.jar"/>
    <library path="../applib/mssqlserver.jar"/>
    <library path="../applib/msutil.jar"/>
    2)Drop the JAR files into the following directories:
    Oracle_Home/j2ee/home/applib
    JAR files Include msbase.jar,mssqlserver.jar,msutil.jar
    But it does't work!!!
    Then i use DataDirect driver:
    YMbase.jar,YMutil.jar,YMsqlserver.jar
    it does't work either!!!
    what should i do ??
    Help.
    when i use DataDirect driver ,Exception like this:
    An unhandled exception has been thrown in the ESB system. The exception reported
    is: "org.collaxa.thirdparty.apache.wsif.WSIFException:
    esb:///ESB_Projects/PocApp_POCproject/MESInsert.wsdl [
    MESInsert_ptt::insert(MtlMesCollection) ] - WSIF JCA Execute of operation
    'insert' failed due to: Could not create/access the TopLink Session. This
    session is used to connect to the datastore. ; nested exception is: ORABPEL-
    11622 Could not create/access the TopLink Session. This session is used to
    connect to the datastore. See root exception for the specific exception. You may
    need to configure the connection settings in the deployment descriptor (i.e.
    $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart
    the server. Caused by Exception [TOPLINK-4003] (Oracle TopLink - 10g Release 3
    (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
    Exception Description: Configuration error. Class
    [com.oracle.ias.jdbc.sqlserver.SQLServerDriver] not found.. at
    oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation
    (WSIFOperation_JCA.java:623) at
    oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFO
    peration_JCA.java:726) at
    oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at
    oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at
    oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService
    (Unknown Source) at
    oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusi
    nessEvent(Unknown Source) at
    oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(
    Unknown Source) at
    oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source) at
    oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source) at oracle.
    when i use SQL SERVER JDBC DRIVER,Exception just like before,the different only is
    Class [com.microsoft.jdbc.sqlserver.SQLServerDriver] not found ....

    Hi,
    Were you able to configure these 3 jars file. If so can you share the process that we need to follow to configure the environment so that i can access SQLServer.
    Thanks,
    Amby.

  • Problem to connect SQL Server using dg4msql

    Hi All,
    Configured Oracle Database Gateway for MS SQL Server in windows 2003 server 64 bit machine.
    Oracle DB Server: 10.2.0.4.0
    Oracle DB Gateway: 11.2.0.1.0
    I am able to get table row count but if i try to get table column values then getting errors like below
    ========================
    SQL> select count(*) from address@dbsql;
    COUNT(*)
    183
    SQL> select * from address@dbsql;
    ERROR:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from DBSQL
    no rows selected
    SQL>
    =======================
    Any body encountered same issue, or any thoughts .
    Thanks,
    -Mani

    Thanks for the clarification with respect to license.
    Below sql is returning results from MS SQL perfectly
    select count(*) from address@dbsql
    describe address@dbsql
    but below sql is returning error.
    SQL> select "pkid" from address@dbsql
    2 /
    ERROR:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from DBSQL
    -- CHARACTERSET
    Oracle DB:     UTF8
    MSSQL DB: i don't know how to check!
    -- initMSSQL.ora
    HS_FDS_CONNECT_INFO=BLR2230041,1433//ADS_BI_6003
    HS_FDS_TRACE_LEVEL=DEBUG
    Thanks
    -Mani
    Edited by: Mani.. on Oct 28, 2010 3:27 PM

  • How to insert special character from Oracle form builder 10g

    Dear all,
    I need help. how to insert special character like 'Superscript or Subscript ' from oracle form builder 10g. I had try in Oracle form builder 6i with press ALT+ASCII code in the text item and it work, but in the oracle form builder 10g this method doesn't work... would you like to help me...somebody please...
    Best Regard,
    Dedy P.T.

    What do you mean by insert ... from Forms Builder? Do you mean you want to add it as text in a string of pl/sql code or as part of boiler plate text (label) or a value on the Property Palette?
    For special characters you would need set NLS_LANG to something that would support the characters you want to use. For the Builder to see the change, you would need to set NLS_LANG to something like:
    NLS_LANG=AMERICAN_AMERICA.UTF8
    This can be done in the Windows Registry or system. As I mentioned, this will only apply to the Builder and will have nothing to do with a running form. For running forms you would need to set this in default.env. As for things like super and sub scripts, these are font formats and not necessarily characters. For the most part, I don't believe these are supported in Forms.

  • Oracle Forms Builder 10g Questions

    Good day everyone,
    I want to start off by saying that I'm very new to Oracle Forms Builder (it was dumped on my table about a month ago) and I'm having some issues I need resolved in order to complete a project for a client.
    I'm looking mainly for documentation or resources that will show me how to do the following in Oracle Forms Builder 10g:
    * Use either the ENTER button or mouse click to navigate between mandatory fields in a form (currently only TAB works)
    * Populate a field[s] after pressing a search button based on a SQL query
    * Populate a field[s] on launch based on a SQL query
    * Throw a warning message if an SQL query returns with a specific result
    * Populate a drop down menu based on a SQL query (ie only show valid options to user)
    * Remove static highlighting (fields should only be highlighted if necessary, which is never on this particular form)

    I've been able to reduce my problem down to the fact that Oracle Forms Builder 10g is not configured correctly on my machine for my environment. I can seem to get Oracle Forms Builder to see my libraries. When I load the form I'm working on I get the following error:
    FRM-18108: Failed to load the following objects.
    Source Module:utlf_gui
    Source Object: TOOLBAR_MDI
    +... (many more of the one above)+
    I press ok and get the following error:
    FRM-10102: Cannot attach PL/SQL library sdsl. This library attachment will be lost if the module is saved.
    +... (many more of the one above)+
    From my various searches on the internet I've learned that this is because Oracle Forms Developer can not find the listed PL/SQL libraries and I should check my Environmental variables. I've set up two Environmental variables with the following:
    Forms_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    Forms90_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    I created both Environmental variables because there wasn't any consistency on the sites I was checking to which was needed.
    Also if I try to attack a PL/SQL library I get the following error:
    Attached library name <name> contains a non-portable directory specification. Remove path?
    I press yes or no and get the following error:
    PDE-PLI038 Cannot open file for use as a PL/SQL library.
    Any help is much appreciated.
    Edited by: ThomasBoxall on 12-Dec-2011 12:18

Maybe you are looking for