Coneection between Oracle to SQL and SQL to Oracle

Dear All,
I have oracle 11g R2 (32 bit) on windows 32 bit.
I have sql express edition 2008 (32 bit) on windows 32 bit.
More information about my system is :-
I have install oracle database and sql database on same machine (there is no client).
I want to fetch data from oracle to sql and sql to oracel. I have tried Using ODAC 32 bit but with no luck.
steps i have performed:-
1) Install odac for windows for oracle 11g R2 version (successful).
2) Tried to create odbc connection using odbc driver (successful).
3) Tried to create link server in sql (successful).
4) Tried to connect to oracle using link server (failed).
It seems i made some small mistake.
I request you to please help me if you have perform this activity.
Thanks,
Chanchal Wankhade.

Chanchal Wankhade wrote:
Hello,
Please suggest.
=================================
Patience, Grasshopper
You posted this follow-up a mere 85 minutes after your previous post. 
This forum is not a chat line, and it is not paid support. 
No one is responsible for monitoring it and giving a quick response. 
Furthermore, it is a global forum.  The person with the information you seek may very well live 20 time zones away from you and was going to bed just as you posted. He will not even see your post for several more hours. 
Your original post went up in the middle of the night for half the world.
No one with the information you seek is deliberately withholding it until you sound sufficiently desperate.

Similar Messages

  • Usage of SQL and SQLQuery Component Oracle BPM 10g

    Hey Friends,
    I have created SQl and SQL query catalog compoenents in Oracle BPM 10g, but unable to figure about how to use them in the BPM process. Do i need to create an automatic activity and make implemenatation as method and write java/pbl code there. Please suggest some solution with code snippet.
    Thanks!!

    Having them cataloged constitutes most of the work you'll need to do. As you mention, the rest of the work is figuring out how you want to use them in a process.
    As an example, if you wanted to have method that would return a list of customer ids you could create a method in a BPM Object:
    listOfIds as String[]
    for each element in
      SELECT customerId
        FROM customer
      do
        listOfIds[] = String(element.customerid)
    end
    // return the array with the valid values
    return listOfIdsAfter adding this, you'll notice that there is an error flagged for your logic. Look at the Properties tab and change the "Server Side Method" property to "Yes".
    Now that you have the method that returns an array, you could use it to automatically populate a dropdown field for an attribute in the BPM Object. You'd do this by opening the properties of the attribute and changing the "Valid Values" property to "Dynamic Method" and select the method you just added.
    There's more to it than this, but hope this is enough to get you going,
    Dan

  • Oracle Personal Edition and SQL dev. tool

    I installed Oracle 10g Personal Edition on my laptop and want to use SQL Creator (SQL developer's tool/program - http://www.snefru.com/index.jsp) with it.
    I'm trying to setup my SQL developers tool to connect to my local Oracle database and there is a connection wizard for the SQL program which prompts me:
    1.) "Select a JDBC driver..."
    2.) "Enter Host name for the server that the database is located on...."
    3.) "Enter Port number that the database is listening on...."
    4.) "Unique SID of the database instance..."
    How can I find out 1.) - 4.) for my specific, local database?
    Thanks in advance...

    When you run SQL*Plus, what is the version number displayed:
    C:\>sqlplus
    SQL*Plus: Release 9.2.0.3.0 - Production on Tue Nov 22 17:11:44 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Enter user-name:?
    You woudl download the driver that matches with that release.
    if you did the database install, chances are you already have the jdbc driver installed.
    Do you have a directry ORACLE_HOME/jdbc/lib ?
    Do you have files like classes*.jar in that directory?
    if you do you already have the jdbc driver files.

  • Oracle 9.2i and SQL

    Could not start sqlplus:
    oracle@pinguin:~> sqlplus
    Error 46 initializing SQL*Plus
    Internal error
    oracle@pinguin:~>
    Any ideas?
    Installation completed without any error with oracle 9.2.0.1.0 on SuSE linux 8.0
    But without sqlplus I cannot start and stop database!

    I am having the same problem with redhat 7.2 and 9.2.0.1.0. I am looking for reasons why the error is coming up, but can't find anything. Have you gotten anywhere?
    Could not start sqlplus:
    oracle@pinguin:~> sqlplus
    Error 46 initializing SQL*Plus
    Internal error
    oracle@pinguin:~>
    Any ideas?
    Installation completed without any error with oracle 9.2.0.1.0 on SuSE linux 8.0
    But without sqlplus I cannot start and stop database!

  • Difference between Null in c and Null in Oracle

    Hi,
    Can any one tell me the difference between NULL in C language and NULL in Oracle
    Rds,
    Naga

    > Null is some garvage value in oracle.
    Not sure what you mean.
    AFAIK and not being a C programmer myself, isn't null CHR(0) in C? I'm not sure the two concepts (SQL null and C null) have anything in common.

  • Help with Oracle Report Builder and SQL Server2000

    Hey guys,
    I just installed it Oracle Developer Suite10g with Report Builder and I am trying to use Report builder and wants to connect with SQL Server 2000. The problem that I am running in to is SQL Server 2000 i have is Window Authentication so Does not required to enter user name and password. So how can i connect my report builder to SQL server or is it possible to connect Report builder to SQL server?
    Also, I want to create small practice version of database in Oracle how do i do it? what i mean by that is I installed trial version or Oracle developer 10g from www.oracle.com and now trying to get some knowledge with oracle. Could any one can give me some direction in this matter please.
    Thank You
    Key

    Have a look at the reports help for the purpose header and trailer sections. Here is an exert:
    "Report sectioning enables you to define multiple layouts in the same report, each with a different target audience, output format, page layout, page size, or orientation. You can define up to three report sections, each with a body area and a margin area: the names of the sections are Header, Main, and Trailer. By default, a report is defined in the Main section. In the other sections, you can define different layouts, rather than creating multiple separate reports. If you wish, you can use the margin and body of the Header and Trailer sections to create a Header and Trailer page for your reports."

  • Oracle 11g stats and SQL plan mgt

    Oracle 11.0.1.7:
    - According to what I have read so far in the various documents it looks like when dbms gather stats run and if that results in new sql plan oracle will not automatically start using that plan until it's verified by sql tuning advisor or is evolved. Is that correct? Is that the default behaviour?
    - I just upgraded from 10g to 11g so I am not sure how stats is behaving currently. I am really concerned and want to understand how it's behaving.
    - How can I tell what's going on currently in the system in terms of stats gathering and if the new better plan is being used or not.

    You have the default setting for the two parameters in place. That means, that if SQL Plan Baselines exist, they will be used, thereby preventing new execution plans from getting used without evolvement
    optimizer_use_sql_plan_baselines=true does that.
    But by default, there are no SQL Plan Baselines as long as you don't create them - for example with the setting of
    optimizer_capture_sql_plan_baselines=trueYou can check whether SQL Plan Baselines exist with
    select * from dba_sql_plan_baselines;It should return no rows.

  • Oracle 11g XE and SQL Developer

    Hello:
    Very new here.  I'm not sure where to post anything.  Apologies, but I'm all over the board.
    I've installed 11g and downloaded SQL Developer (not even sure if this needs to be "installed" as it's just a zip file).
    Anyway, at the SQL command line I enter CONNECT SYSTEM and then my password.  I get the following error:
    ORA 12154:  TNS could not resolve the connect identifier specified.
    Also, the "get started" link does not work either.  Not sure what's going on or if it's specific to my laptop.  I've been trying to connect for two days to no avail.
    thank for any help.

    c\> lsnrctl stat
    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 08-SEP-2014 12:28:18
    Copyright (c) 1991, 2014, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CFXXXXXXX.xxxxxxxxxxxx.com)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 61: Unknown error

  • ODBC errors for Oracle Migration Workbench and SQL Server 2000 on Windows

    Hi all-
    I setup a new ODBC connection for the Oracle 10g Migration Workbench to MS SQL Server 2000 on Windows XP and keep getting the following errors when I try to
    either test the new ODBC connection to MS SQL Server 2000 for use with the Oracle Migration Workbench tool. Goal is to fix these errors so that I can migrate our test SQL Server 2000 databases to Oracle 10g.
    Current configuration
    - Oracle 10.1 Migration Workbench
    - Oracle 10g Database (target)
    - MS SQL Server 2000 (source database)
    -Windows XP
    -ODBC 3.85.1117 driver for Windows XP with SQL Server and Oracle
    Errors:
    I. When I test the ODBC connection:
    Microsoft SQL Server ODBC Driver Version 03.85.1117
    Running connectivity tests...
    Attempting connection
    [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL server not found.
    TESTS FAILED!
    Now here is what has me totally confused:
    I can use the command line ISQL to access the database on the server and IP is all correct and port is available. So I can access the SQL Server database fine it is when I try to setup ODBC that it gives me problems.
    Any tips how to get this ODBC working?
    Thanks
    Ben Prusinski

    1. Jing Jin. If you had READ the post you would have seen that installing later versions is NOT an option.
    2. Not supported does NOT mean does NOT work, as Balmukund pointed out in the referenced thread.  The site that this databases supports is using ASP which is also NOT supported by Microsoft.  As it turns out Balmukund's solution actually turns
    out to be the correct solution.  I installed SS2K and its Service pack 4 on the machine last night.  Good answer Balmukund. as we say in the Navy, "BRAVO ZULU!!"  which means "WELL DONE!!
    3. Tom Li I just posted the question less than 48 hours ago.  My last post was less than 24 hours ago.  I think I have the right to be given the opportunity to determine whether a reply is the answer or not. I understand you don't like unanswered
    posts sitting around for weeks, months or years. (I don't like it either as I have a few that are still unanswered after several years.)  But you should not be showing replies as answers before I even get a chance to see them, much less try them out. 
    You should also not be showing replies as answers which don't address the criteria of the question.  I specifically stated that I had to install SS2K.  I went on to state, "And before anyone asks I need to install this version because that is what
    the customer is using and I need to duplicate their databases."  So the correct answer, if in fact SS2K did not work on Windows 7, would have been a virtual machine answer, as suggested on the thread Balmukund referenced.  So before you mark a reply
    as an answer read the question.
    Edward R. Joell MCSD MCDBA

  • Why does this work in MS SQL and not in Oracle

    ALTER TABLE Stk
    DROP COLUMN ComCode;
    This BASIC statement works perfectly
    in MS SQL, but after 2 hours now, it
    simply refuses to work in Oracle,
    although the syntax seems correct, I
    get :
    ALTER TABLE Stk
    DROP COLUMN ComCode
    ORA-00905: missing keyword
    null

    Stop trying! Oracle simply does not support the DROP COLUMN syntax. A work around is:
    CREATE another table based on the original table, minus the column you want to drop.
    (CREATE TABLE new_table AS SELECT col1, col2 , ... FROM old_table)
    DROP the original table.
    (DROP TABLE old_table)
    RENAME the new table the old table.
    (RENAME new_table TO old_table)
    Your have to manually add the constraints, if the old table has any.
    Eric Ma

  • Database between two server (sun and sql server)

    I have two server. The first used sun solaris with sybase database and the other used windows sql 2000 server without database. What should i do if i put my web homepage at windows based server and my database at sun-solaris-sybase server. Please help..

    Hi Ioakim
    Performing an atomic transaction(ACID) that spans a source system, BizTalk and then a different destination system is not possible. This is due to the nature of distributed transactions - it may not be practical to hold locks on resources(needed for atomic
    transactions) that are spread across different networks. Given that there is no guarantee that the resources may be released in a reasonable amount of time, transactions in BizTalk can only be scoped to and from the BizTalk MessageBoxDb. Or in other words,
    you can read a record to BizTalk transactionally and on the send side, send a message from BizTalk transactionally.
    However, you can simulate/fake atomic transaction characteristics(although tricky) using compensation logic within BizTalk orchestrations. So, lets say you read+delete a record from SystemA into BizTalk, and that record has to be updated in SystemB.
    If for some reason the insert to SystemB fails, you would have to write custom logic in a compensation block that then performs the reverse operation in SystemA - i.e., it inserts back the record in SystemA in this case. So, using compensating actions, it
    is possible to ensure that all the systems involved are transactionally consistent at the end of the day.
    There's an article from C.Young that discusses this in some detail-
    http://geekswithblogs.net/cyoung/archive/2006/12/06/100424.aspx
    Thanks
    Arindam

  • Logon to PL/SQL AND SQL

    Hi
    I install 10g for windows 32bit after that I couldnot to logon to the data base control
    I loged as DBA on Oracle SQL*PLUS and alterd user hr and identified by hr
    I tried to log on as hr password hr but there is message no pirivilges to logon
    please tell me WHAT SHOULD I DO?
    Thank you in advance

    yea the hr user does not have the create session privilege. grant it by logging in as sys or system.
    Sidhu
    http://amardeepsidhu.blogspot.com

  • 'is null' not working in dynamic sql and SQl Query component (OBPM 10gr3)

    I'm using a SQL Query component with sql like this
    'select col1, col2 from table where col3 is null'
    for some reason this does not work.
    Has anybody faced this issue? Is there a known bug with handling nulls
    Thanks

    plz post which DB version u r working with
    dont use paramters in Procedure with : sign
    Write simply the name of the Paramters like p_userid etc etc
    this might help u as well
    http://baigsorcl.blogspot.com/2010/02/get-rid-of-addtional-quotes-with-quote.html

  • Regarding MOSD 454811.1 ( Upgrading OracleAS 10g Forms and Reports in Oracl

    I Installed R12.1.1 and now upgrading it to 12.1.3. I am following document 1080973.1.
    As per MOSD 1080973.1, We need to upgrade Upgrading to the Latest OracleAS 10g 10.1.3.x Patch Set in Oracle E-Business Suite Release 12.
    Currently Version is 10.1.2.3 and in the document it's written that after applying all the patches, Chk that version should be 10.1.2.3
    Do I really need 10G AS form & report upgradation ?

    Hi..10.1.3.X is for IAS ORACLE HOME. I am asking about FORMS & REPORT HOMESorry, I got confused with your line --> "As per MOSD 1080973.1, We need to upgrade Upgrading to the Latest OracleAS 10g 10.1.3.x Patch Set in Oracle E-Business Suite Release 12. "
    Currently Version is 10.1.2.3 and in the document it's written that after applying all the patches, Chk that version should be 10.1.2.3
    Do I really need 10G AS form & report upgradation ?Yes, you need it. As mentioned in the doc "If customers are already on 10.1.2.3.0, follow instructions in Step 3.2 to apply the bundle patch.".
    Thanks,
    Hussein

  • HSODBC connectivity between ORACLE 10g and SQL Server 2008 R2

    Hi,
    I'm getting below error when using the DB link between Oracle (10.2.0.2 which is on Sun Sparc) and MS Sql server 2008 R2.
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source
    name not found and no default driver specified (SQL State: IM002; SQL Code: 0)
    ORA-02063: preceding 2 lines from SCOPEX.WORLD
    My Config files:
    On Sun Sparc 5.9 where Oracle server is running.
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    Listener.ora file on Windows machine:
    TelemetryDB1 =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    SID_LIST_TelemetryDB1 =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TelemetryDB1)
    (ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
    (PROGRAM=hsodbc)
    Tnsnames.ora file:
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    initTelemetryDB1.ora file under ORACLE_HOME\hs\admin\
    HS_FDS_CONNECT_INFO = TelemetryDB1
    HS_FDS_TRACE_LEVEL = OFF
    We have created DNS with TelemetryDB1.
    I'm getting the above error for DB links between Oracle 10.2 and SQL Server 2008 R2. But the same, when configured for MS SQL server 2000 works fine without any issues.
    Please advise me to rectify the error. We've been working for the last couple of weeks.
    Regards,
    Sunil

    Sunil,
    You don't need an Oracle ODBC driver.
    The way it works is that in the gateway init<sid>.ora file, in your case initTelemetryDB1.ora, the parameter HS_FDS_CONNECT_INFO points to a system DSN. This DSN should then be configured to use an ODBC driver to connect to the non-Oracle database. So, in your setup when you want to access the SQL*Server 2008 database then the DSN should use an ODBC driver that can connect to a SQL*Server 2008 database. If you still use the initTelemetryDB1.ora file for the connection then the TelemetryDB1 DSN should be configured to access the SQL*Server 2008 database.
    However, there are a couple of problems with your actual setup -
    - the configuration you have - 10.2 RDBMS on a Sun machine and HSODBC on Windows - is not supported. HSODBC should only be used from a RDBMS that is in the same ORACLE_HOME as HSODBC.
    - 10.2 HSODBC is now desupported and has been replaced by the 11g Database Gateway for ODBC (DG4ODBC) and the configuration you want is supported. That is because unlike HSODBC the DG4ODBC gateway can be installed standalone with a RDBMS being installed.
    I recommend that you download and install 11.20.2 DG4ODBC on your Windows machine in a new Oracle_home and access that from the 10.2 RDBMS on Sun - which is a supported configuration. But to do this, you will need to apply either the 10.2.0.4 or 10.2.0.5 patchset to your RDBMS.
    There is more information in the following note available on My Oracle Support (MOS) -
    Note.1083703.1 Master Note for Oracle Gateway Products
    The 11.2.0.2 DG4ODBC can be downloaded from MOS as patch and for the gateways on Windows 32-bit you just need to download -
    p10098816_112020_platform_4of6.zip
    However, to check the HSODBC ou need to confirm that the DSN used by HSODBC points to a System DSN configured to access SQL*Server 2008.
    Have a look at -
    Note 109730.1 How to setup generic connectivity (HSODBC) for Windows NT
    But remember this is not a supported version or configuration and you should be using Dg4ODBC.
    Regards,
    Mike

Maybe you are looking for

  • HP 550 display driver for windows 8

    I already have a HP 520 laptop (Intel Celeron Processor). In that I have installed windows 8. It runs best and also shows windows experience index. Now I have a HP550 Laptop in that also I installed windows 8. It runs alright but if I tried to Index

  • What about the Brass and Woodwind instruments?

    There should be brass and woodwind instruments. Such as a saxophone, a clarinet, a flute, and a trumpet.

  • Youtube playing all videos in slow motion

    youtube.com videos are playing in slow motion. i don't want them to. how can i change this? as far as i know flash is new. we bought this computer not 4 months ago. it's a Mac os X 10.6.8. Flash is 10.3.181.26

  • Copying Files To DVD

    Hi, I hope I'm posting in the right spot; my apologies if not. I'm rather clueless. I have pictures (.jpg) files that I want to copy from my iMAC to a DVD that will be loaded on a Windows PC to be viewed there, but cannot figure this out. I tried fol

  • Binding Error while calling Oracle Apps Adapter

    Hi, I have configured an oracle apps adapter to be called from the a BPEL Process in Jdev. The operation is to insert data in an oracle interface table. I m getting the following error when the BPEL process is invoked from Console. Please suggest whe