Creating DB Link over HS connection

Hi Marc,
As promised here is procedure to setup DB link on 8.1.7(to non-Oracle). Maybe I am including some unecessary steps. In this example I will be connecting to sql db named RedRing
1. From sys run $Oracle_Home/rdbms/admin/caths.sql
2. edit init.ora & set Global_Names = false
this will allow you to set db link names to anything you like
3. Setup your ODBC connections using Microsoft ODBC Administrator (or other)
4. edit $Oracle_Home/network/ADMIN/sqlnet.ora set NAMES.DEFAULT_DOMAIN = world
You may skip this step but remove all '.world' from examples below. If you choose this step however you will need to edit $Oracle_Home/network/ADMIN/tnsnames.ora and add '.world' to all your entries.
5. add entries in $Oracle_Home/network/ADMIN/tnsnames.ora e.g.
REDRING.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DBS-01)(PORT = 1521))
(CONNECT_DATA =
(SID = redring)
(HS = OK)
6. add entries in $Oracle_Home/network/ADMIN/listener.ora e.g.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = redring)
(ORACLE_HOME = c:\oracle\ora81)
(PROGRAM = hsodbc)
7. create file in $Oracle_Home/hs/ADMIN e.g. initREDRING.ora
HS_FDS_CONNECT_INFO = redring
HS_FDS_TRACE_LEVEL = OFF
set odbcini=C:\WINNT\odbc.ini
8. Restart Listener (and I like to restart DB as well)
9. From db user create db link e.g.
create database link redring.world connect to username identified by password using 'REDRING.WORLD'
10. to test: select * from [email protected]
James

Yeah, had got this problem too.
This works if Oracle is installed on Win2000, not sure if it will work on others:-
1. Close any open oracle database connections to your HS sid.
2. Get a copy of odbccmpt.exe from the SQL server (should be in x:\Program Files\Microsoft SQL Server\80\Tools\Binn\) and place it on your Oracle server.
3. Run the odbccmpt.exe from the msdos prompt twice as follows:
odbccmpt hsodbc /T
odbccmpt hsodbc /v:6
That's it. Now nchar and nvarchar are converted to char and varchar as far as oracle is concerned.
James.

Similar Messages

  • Creating anchor links over a PSD header

    I have created my header in Photoshop and pasted it in to my one-page site as a graphic.  In order to create anchors I've created text boxes over each word - no fill and no stroke - and lableled each one to the corresponding anchor.  In Preview only the first link works?  Is there a better way to do this?
    http://dwhh2.businesscatalyst.com/index.html#aboutus

    Yes. You can either used Named Destinations, or page views.
    Named Destinations need to be set up before the link is created, but can be
    used by more than one link. Page views are created ad-hoc when you select
    the action "Go to page view".

  • Voice recognition creates text twice over RDP connection

    Using an IPad 3 to connect to a Windows 7 Pro desktop and text repeats each time using voice recognition to create text in Outlook or Word. It only creates text one time locally. Just happens over RDP. 
    Any suggestions?
    This topic first appeared in the Spiceworks Community

    Rus, I've had similar issues on my iPhone 5. I was having issues that some people on my contact list just weren't getting my texts. I could text them before I got the iPhone and they received them no problem but now it wouldn't go through. Like you the phone said it went through but they never received them. I could receive their texts and even if I replied to their texts, they didn't receive it. I could call them though. I contacted Verizon and Apple but they we no help. What I figured out on my own was that if I deleted their contact from my address book and added it back in fresh, the problem was solved. It's happened to me with 4 different people that were in my contacts already and I deleted them and added them back in and it works fine now. What I believe was happening was I came from a non-smartphone. To transfer my contacts over I downloaded Verizon's contact transfer app on my old phone and uploaded them to it. When my new iPhone 5 came in I downloaded the same app and used it to transfer my contacts to my new phone. I think some of them got corrupted for some reason during the process. I don't know for sure if this is what was happening but since non of the new contacts that I added in after I got the iPhone have any problems I'm guessing I'm right. My concern still is that I will continue to find people in my address book that wont' get my texts and I just won't know it for sure. Good luck!

  • How to create a link to a web page that is connected to the database?

    i am developing a web form in java using Oracle's JDeveloper. i created the form which is connected to the database and now i want to put a link in a page that when clicked it shows the form and populates it if necessary. i have no idea how to do that, can anyone please give me an example or where i can find an example?

    Its really hard to answer this question with this enough information....Which Jdeveloper version? which technology you are using to create this web form ? ADF BC or others
    If 11g then are you aware of Task flows?

  • To create database link to connect to remote database

    Hi all
    I am using 10g with apex4.
    My apex application is running on our server.
    I need to connect to a remote server to get data from there.for that i need to create a database link from apex.
    When i tried to create a database link from apex sql commands window it is showing insufficient privilages.
    So i created one database link from back end but it is not accessible from apex...
    can some one help me in this...
    its urgent.....
    thanks in advance

    Hi,
    You need create database link to schema that is assigned to your workspace (application parsing schema)
    Schema need have CREATE DATABASE LINK system privilege.
    Regards,
    Jari
    Edited by: jarola on Aug 1, 2011 3:34 PM
    See documentation
    http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/advnc.htm#BABBFICH

  • To create Database LINK, is it necessary to enter connection in TNSNAME...?

    Hi all,
    To create a Database Link, is it necessary to enter the connection in TNSNAMES.ORA....?
    create database link linkname connect to ORA_USER identified by pwd using 'Connection name in TNSNAMES';
    In Place of Connection name, if i gave IP Address OR Computer name also, without entering connection in TNSNAMES.ORA, it is creating database LINK.
    Thanks in advance,
    Pal

    You can bypass the tnsnames.ora file by specifying the description in the create statement;
    SQL> select distinct username from user_sys_privs
    USERNAME                     
    MSCALLION                    
    1 row selected.
    SQL> create database link dblink1
    connect to user1
    identified by "user1"
    using  '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME = XE)))'
    External database created.
    SQL> select distinct username from user_sys_privs@dblink1
    USERNAME                     
    USER1 

  • How to create navigational links...and connect views of another component

    Hi...
    I am new to SAP CRM...
    I have a requirement where i need to navigate from the main window of a component to the view of a different component.
    Scenario:
    When i click on edit button after selecting a line item in the assignment block in the BT111H_OPPT/Details ,it should navigate to the details page of the line item which is the view of another component that has been created .say ZRP/PEL.
    How can i achieve this using the concept of inbound/outbound plugs and navigational links?
    I have got a vague idea on plugs from my search...that these are entry/exit points to views.
    But what is the procedure to follow to attain the functionality?
    How do we decide on which component needs which all plugs?
    Anyhelpful pointers would be rewarded.
    Also, an idea on what exactly does the inbound/outbound plugs do and how is the flow happening , how are navigational links working etc would be appreciated.
    Thanks..

    Steps to create navigational link:
    1.     Create an outbound plug in the component from where you want to navigate. Sometimes      
                    standard navigational links are already there.. you just need to identify it.
    2.     Create a Component usage in runtime repository for target component.
    3.     Add this component usage to the main window view in repository. 
    4.     Create navigation link between the transaction type and the target component view.
    5.     In the outbound plug, use the view manager to navigate to the target component. Ex: 
                    ME->FIRE_OUTBOUND_PLUG( IV_OUTBOUND_PLUG   = 'TO_OUTPLUG''
                              IV_DATA_COLLECTION = LR_COL ).
    6.     Pass the data through the data collection.

  • Creating multiple point to point connection

    Consider me mostly a newbie. I have a router that's connected to a WiFi radio system. The radio is, for all intent and purposes, transparent to the network.
    Point is now, I want to connect via the same WiFi radio system to 4 other routers (each other router has the same radio system) on a point to point basis.
    All five routers have static IPs.
    The need is to create 4 static point-to-point link, over 1 single interface on the router that's connected to the radio system.
    Can this be done? Is so, how? Help please?

    First of all, I do not really see the advantage of configuring this as point-point. Appearently you want to make all traffic flow over the central router? The radio is actually a point-to-multipoint medium by nature. This means that the bandwidth on the link will be shared, no matter what you configure.
    You could "enforce" point-point behaviour by means of static routing. On all spoke-routers you configure a single static route 0.0.0.0 with the hub router as the next hop.
    On the the central router you can then put statics to the respective destinations. Very important is to use the interface command "no ip redirects"
    This prevents icmp redirects being sent which would cause non-point-to-point behaviour. This implies that you have used the same ip subnet for all routers. This is what I would configure for this case.
    Alternatively, you may use different subnets per router and apply secondary IP's on the hub.
    Regards,
    Leo

  • HELP! FOR LOOP TO SCROLL THROUGH TABLE AND CREATE DATABASE LINK

    Hi,
    Here's the scenario, not much of a PL programmer, just basic SQL so really need some help people!
    I have 2 tables. 1 contains list of DB's and the other contains rules to follow.
    I need to create a loop that goes through the table containing the DB's and on each row a DB link is created (Only 1 link allowed!)
    Once created, the schema currently logged in with also has an account on the linked DB in order to run scripts- The scripts are stored centrally hence the requirement for the link to the target DB.
    There are numerous scripts that need to be executed and can all be called from 1 script, once executed the loop exists and the database link needs to be dropped.
    Once dropped, the first loop continues, creating a DB link for the next DB listed in the table (and all the scripts are fired again)
    This continues against all the DB's listed in the table.

    Hi BlueShadow,
    Thanks again for the response, you've hit the nail on the head. SQL scripts on a unix server, a loop goes through a table 1 at a time. Each row gets a link created and then all the scripts stored on the server are executed against the db linked to. So I'm assuming this is a loop within a loop.
    1 loop to go through the table to create the link and then another loop within once connected to execute all the scripts against the connected DB. Once the scripts are run, the loop exits and moves onto the next server and so on until all the servers have the scripts are run.
    It's PL/SQL scripts we're after and not shell scripts as this would free us from the OS constraints.
    We have to drop the links due to security. Any idea on o

  • Creating Ejb link to another Weblogic server

    I am trying to create a EJB jndi link to another weblogic server from a weblogic
    server.
    Basically I have a web application that uses an EJB that is deploed on another
    weblogic server and I would like to connect to it.
    One way I can do is the remote lookup using the Hashtable and the context factory,
    something like this
    Hashtable props = new Hashtable();
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    props.put(Context.PROVIDER_URL, "t3://localhost:7001/");
    Context context = new InitialContext(props);
    I used a jndi-link in resin previously, that did not require me to do a remote
    lookup and rather created a link at the server level and allowed me to do a direct
    InitialContext() lookup.
    <jndi-link>
    <jndi-name>java:comp/env/ejb/test</jndi-name>
    <jndi-factory>weblogic.jndi.WLInitialContextFactory</jndi-factory>
    <init-param java.naming.provider.url="t3://xx.x.x.x:7001"/>
    <jndi-lookup>ejb.test</jndi-lookup>
    </jndi-link>
    Can I do something similar in Weblogic? If yes, how can I do it.
    Appreciate your help.
    Thanks,
    Varun

    "Varun Garg" <[email protected]> wrote:
    >
    I am trying to create a EJB jndi link to another weblogic server from
    a weblogic
    server.
    Basically I have a web application that uses an EJB that is deploed on
    another
    weblogic server and I would like to connect to it.
    One way I can do is the remote lookup using the Hashtable and the context
    factory,
    something like this
    Hashtable props = new Hashtable();
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    props.put(Context.PROVIDER_URL, "t3://localhost:7001/");
    Context context = new InitialContext(props);
    I used a jndi-link in resin previously, that did not require me to do
    a remote
    lookup and rather created a link at the server level and allowed me to
    do a direct
    InitialContext() lookup.
    <jndi-link>
    <jndi-name>java:comp/env/ejb/test</jndi-name>
    <jndi-factory>weblogic.jndi.WLInitialContextFactory</jndi-factory>
    <init-param java.naming.provider.url="t3://xx.x.x.x:7001"/>
    <jndi-lookup>ejb.test</jndi-lookup>
    </jndi-link>
    Can I do something similar in Weblogic? If yes, how can I do it.
    Appreciate your help.
    Thanks,
    Varun
    hi,
    Yes, it is possible in weblogic for more info visit this url,
    http://e-docs.bea.com/wls/docs70/ejb/reference.html#1221067
    u have the description of how to use the below tags
    <initial-context-factory>weblogic.jndi.WLInitialContextFactory</initial-context-factory>
    <provider-url>WeblogicURL:Port</provider-url>
    <indi-name>jndiweb</jndi-name>
    hope it help u
    regards,
    Elango TR

  • How to create a linked data source with document libraries based on the same template?

    I use SharePoint Foundation 2013, SP Designer and Visual Studio 2013 to my needs. But there are several things which i don't get.
    I have a number of libraries which use the same template. I want to create a linked data source, that would contain them all, and if I add a library based on this template, the library would be added to the data sorce. Is it possible?
    I tried creating linked data souces, but the view that it brings by default is limited(no sorting, etc.). How can it be modified?

    I am planning to do my project on Linux with J2EE,Oracle technologies.You don't need to set up a DSN. Just use a JDBC connect string such as jdbc:oracle:thin:@localhost:1521:xe
    ~Jer

  • Creating two links to open external forms...

    I understand how to establish the option to open a spreadsheet. I also understand how to create a link to open a pdf file on our server. What I need help with is creating 2 separate links at the bottom of my report to open one or the other. The only other solution I've come up with is to create a "dummy" report in a new region, underneath my main report and all that region has is the name of the pdf and the user can click on that. It works, but not clean looking. I would prefer to have the 2 links, one underneath the other or side by side. I found a forum discussion that mentioned modifying the report template along with creating a new application item. I tried that. The app item doesn't ask me for the drive on our server. When I modify the report template, I get no results. It's obvious I am doing something incorrect. please help me.

    Go to
    Edit > My Connections. The next screen gives you the
    option to remove a connection. Just select the connection you no
    longer need and click Remove.
    Hope this helps!

  • Contact Form: How do i create a link from an XML file to another domain to read a PHP File

    So i purchased a template from Template Monster and im having a little trouble with the contact form. The server that im uploading it to is a privite server that the company owns. It supports ASP and not PHP. I cant seem to get the ASP form to work so all i want to do it create a link to another one of there servers that supports PHP and have the contact form link to there and read the PHP file (that i will upload to that server) and send the email from there.
    This is the XML that i have to fill in in order to make it work
    Everything in Red is what i needed to fill out in order for the form to work.
    <?xml version="1.0" encoding="utf-8"?>
    <!--
            Please read this information to learn how to set up the contact form integrated
            into the template.
            This readme file explains in details the meaning of the settings that can be
            done in the fcContactFormConfiguration.xml configuration file.
            It is recommended for you to use an XML editor to make changes to this file
             because it’s less possible to make an error in the markup which can cause to
            a not working contact form.
      -->
    <contactFormConfiguration>
        <!--
                An e-mail address which will be used to receive messages from your contact form.
                You can specify several e-mail addresses separating them with a comma.
                For example: [email protected], [email protected], [email protected]
          -->
        <emailTo>[email protected]</emailTo>
        <!--
                A server script type which will process sending e-mails. It depends on your
                hosting and in the current version of the contact form it is allowed to use
                two types:  php (Apache, PHP Hosting); asp (IIS web server, ASP).
          -->
        <serverProcessorType>php</serverProcessorType>
        <!--
                A name of the script file which process sending e-mails on your server (without
                extension). The name contact is used by default.
          -->
        <serverProcessorFileName>contact</serverProcessorFileName>
        <!--
                Set whether to validate only required fields (true/false).  The default value is
                true which means the not required fields of your contact form will not be validated.
                For example if the e-mail field of your form is set as not required (imagine it)
                the form will be processed even if the user types in an incorrect e-mail address.
          -->
        <validateRequiredOnly>false</validateRequiredOnly>
        <!--
                Set whether to submit the form when the Enter key is pressed even if the focus is
                not on the Submit button (true/false).
          -->
        <submitFormOnEnter>false</submitFormOnEnter>
        <!--
                Text showing to the user when the form is submitted without any errors.
          -->
        <messageSentText>Thank you for your message.</messageSentText>
        <!--
                Text showing in case the form is not submitted because of a server error.
          -->
        <messageSentFailedText>Sorry, your message couldn't be sent</messageSentFailedText>
        <!--
                Text your visitor will see while waiting till the processing is over.
          -->
        <formProcessingText>processing...</formProcessingText>
        <!--
                Your SMTP server (for ASP only).
          -->
        <smtpServer>localhost</smtpServer>
        <!--
                Your SMTP port (for ASP only).
          -->
        <smtpPort>25</smtpPort>
        <!--
                Set whether to send the message as a plain text (true) or as HTML (false).
          -->
        <plainText>false</plainText>
        <!--
                ID of the input field (in the structure XML file) to use for the “from: ”
                or email to use instead (for example: [email protected]).
          -->
        <emailFromSource>2</emailFromSource>
        <!--
                Subject of the e-mails that will be sent through this contact form or ID of
                the input field (in the structure XML file) to use for the “subject: ” label
                in your e-mail client.
          -->
        <subjectSource>Contact Form from your site</subjectSource>
        <!--
                Validation error messages that are showing to the user when the form fails to
                validate. The form supports different types of validators. You can change the
                text of the error messages the validators produce here.
                You can use the {LABEL} keyword in these messages. It will replace it with the
                label value of the field where an error occurs.
          -->
        <validationErrorMessages>
            <!--
                    A required field is not filled in.
              -->
            <message type="fieldIsRequired">{LABEL} is required.</message>
            <!--   
                    The specified e-mail address is incorrect.
              -->
            <message type="emailNotValid">{LABEL} - is not valid email address.</message>
            <!--
                    The specified number of characters in a field is less than a required minimum.
              -->
            <message type="minCharsLimitError">{LABEL} - The specified number of characters in a field is less than a required minimum.</message>
            <!--
                    The specified string does not match with the regular expression.
              -->
            <message type="reqExpError">{LABEL} - The specified string does not match with the regular expression.</message>
            <!--
                    The specified number is greater than an acceptable biggest number for this field.
              -->
            <message type="biggerThanMaxError">{LABEL} - The specified number is greater than an acceptable biggest number for this field.</message>
            <!--
                    The specified number is lower than an acceptable lowest number for this field.
              -->
            <message type="lowerThanMinError">{LABEL} - The specified number is lower than an acceptable lowest number for this field.</message>
            <!--
                    The data is not a number.
              -->
            <message type="notANumberError">{LABEL} - The data is not a number.</message>
            <!--
                    The specified number must not be negative.
              -->
            <message type="negativeError">{LABEL} - The specified number must not be negative.</message>
            <!--
                    The minimum number of variants is not selected
              -->
            <message type="minRequirementError">{LABEL} - The minimum number of variants is not selected</message>
            <!--
                    The number of variants selected exceeds the maximum
              -->
            <message type="maxRequirementError">{LABEL} - The number of variants selected exceeds the maximum</message>
            <!--
                    The fields that should be equal do not match
              -->
            <message type="shouldBeEqualError">{LABEL} - values do not match</message>
            <!--
                     The date has wrong format.
              -->
            <message type="dateIsNotValidError">{LABEL} - date has wrong format</message>
        </validationErrorMessages>
    </contactFormConfiguration>
    THIS IS THE ACTUAL CONTACT.PHP Form That i would like to link to.
    <?php
    //-----------------Getting data sent by flash---------------------
    foreach ($_POST as $key => $value){
            if ($key != 'mail_to' && $key != 'smtp_server' && $key != 'smtp_port' && $key != 'mail_from' && $key != 'mail_subject' && $key != 'plain_text'){
                $mail_body .= '<b>'.str_replace('_',' ',$key).'</b>:<br/>';
                $mail_body .= ''.stripslashes($value).'<br/>';
    $message = '<html><body>'.$mail_body.'</body></html>'; //  mail body
    //------------if plain text is set to true removing html tags------
    if ($_POST['plain_text']=='true') {
        $message = str_replace('<br/>',"\r\n", $message);
        $message = strip_tags($message);
    } else {
    //----otherwise composing message headers---------------------------
        $headers  = 'MIME-Version: 1.0' . "\r\n";
        $headers .= 'Content-type: text/html; charset=windows-1251' . "\r\n";
    //------------setting conf data-------------------------------------
    $to = $_POST['mail_to'];
    $from = $_POST['mail_from'];
    $subject = $_POST['mail_subject'];
    $smtp_server = $_POST['smtp_server'];
    $smtp_port = $_POST['smtp_port'];
    //---------setting header info--------------------------------------
    $headers .= 'From:' .$from;
    if (mail($to, $subject, $message, $headers)){ // sending mail
        print('&mail=1');  //succes
    } else {
        print('&mail=0');//failure
    ?>

    You can open both Muse files at once, copy the content of a page on one site, then paste it into a new page on the other site. You might have to redo some of the page styling.

  • Failed to create Database Link in OWB 9.2 for remote SQL Server

    Hi,
    I have to create Database link for connecting to SQL server in a different machine.I am using OWB 9.2 and XP.
    Dataserver is the machine name which is running SQL Server
    I included follwing lines in TNSNAMES.ORA file
    hsodbc.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
    (CONNECT_DATA = (SID=hsodbc.world)
    (HS =OK)
    I included follwing lines in Listener.ORA file
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
    (SID_DESC=
    (SID_NAME=hsodbc.world)
    (ORACLE_HOME=C:\ora92)
    (PROGRAM=hsodbc)
    I included follwing lines in inithsodbc.ORA file
    HS_FDS_CONNECT_INFO = testdsn
    HS_FDS_TRACE_LEVEL = 0
    While creating new database link I gave the follwing values
    DB Link Name : Mylink
    SQL * Net Connect String: hsodbc
    User Name: sa
    password:<my password>
    Then clicked "Create and Test" button to get the follwing error message
    Testing...
    Failed.
    ORA-12154 TNS:could not resolve service name
    *Cause: The service name specified is not defined correctly in the TNSNAMES.ORA file
    *Action: Make the following checks and correct the error:
    - Verify that a TNSNAMES.ORA file exists on your repository server
    in the proper place and is accessible. See the operating
    system specific manual for details on the required name and location.
    - Check to see that the service name exists in one of the
    TNSNAMES.ORA files and add it if necessary.
    - Make sure there are no syntax errors in the file.
    Particularly look for unmatched parentheses or stray characters.
    Any error in a TNSNAMES.ORA file makes it unusable. See
    Chapter 4 in the SQL*Net V2 Administrator's Guide. If possible,
    regenerate the configuration files using the Oracle Network Manager.
    Is there anything wrong in my configuration. Please help me in getting out of this problem.
    Thanks in advance
    Andy

    Hi Mark,
    Thanks Mark.I did the changes in the specified .ora file but now it shows a different error message.
    The error is
    Testing...
    Failed.
    Cwm Error Message: SQL Exception
    Cwm Error: SQL Exception
    Class Name: CacheMediator
    Method Name: getDDEntryFromDB
    Repository Error Message: ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from MYLINK
    Query: select 1 from dual@MyLink
    I got the same error when i tried manually in sql plus.
    Please help me in getting out of thid problem
    Thanks in advance
    Andy

  • Create DB link between my local system and remote system

    Hi,
    I need help to create DB link between my local system Database and remote system database both the database are oracle.
    Please check the script which i have written is correct or not. Its giving me error sql command not ended properly
    create public database link MERU_PROD_LOCAL_PROD
    CONNECT TO SUDHIR
    identified by sudhir123
    using (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = 23.23.150.144)
    (Port = 1521)
    (CONNECT_DATA = (SERVICE_NAME = sudhir)
    I am executing this command in my local system connecting to the remote database link. Please suggest me is this method correct.
    Thanks
    Sudhir

    Hi Hilton,
    I fixed that issue. Now i am creating the DB link this ways please check is this proper or not
    create or replace database link meru_prod_local_prod connect to portal identified by Oracle!123 using 'MERUPROD';
    remote machine
    User Name: portal
    Password : Oracle!123
    MERUPROD is the tnsora entry
    It gives error as
    Error starting at line 1 in command:
    create or replace database link meru_prod_local_prod connect to portal identified by Oracle!123 using 'MERUPROD'
    Error at Command Line:1 Column:18
    Error report:
    SQL Error: ORA-00922: missing or invalid option
    00922. 00000 - "missing or invalid option"
    *Cause:   
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for