Sintax error depending database link used

Hi every one, I have a weird weird situation and I need some tips to deal with it.
A code like that:
declare
all variables;
begin
select xxxx
into vl_xxx
from t1@db_L1 a
, t2@db_L1 b
, t3@db_L1 c
where etc;
some stuff;
end;
WHY this kind of code could faisl with sintax errors: dbe_jobs_pkg.pr_eje_alm:26-04-2010 09:22 --> ast_codigo = 47:ORA-06550: line 69, column 14:
PL/SQL: ORA-00904: "A"."TABLESPACE_NAME": invalid identifier)
depending of the database link used. Indeed, if I execute de query in a isolated way (sql*plus for example) it works fine using the database link whose plsql fail
I garantee there is not grants problems...
By the way, the code begun to fails suddendly, and I don't know what happened....
All the databases are 9.2.0.5
I need sugestions to track o investigate the posible causes
Thanks a lot, kind regards
Mauricio Fernández C.
ADDENDUM:
I've restarted the source database and the PL/SQl with sintax error now works fine....Still I need some tips to understand what's going on.....
Edited by: maufer on 26-abr-2010 7:10

Prashanth
my guess is that you can create the database link, which simply points to the remote instance. however, the problem is on the remote instance.
As the error message suggest, make sure that the listener is up and running on the remote machine. The link can be created, but if there is no listener on the other side, you will not get any response.

Similar Messages

  • Database link using problem

    Hi all,
    I have created database link using following code.
    CREATE DATABASE LINK mydb
    CONNECT TO system IDENTIFIED BY o
    USING 'mydb'
    After created this database link, I tried to access the table 'emp' from 'mydb' database. so, I was given
    select * from emp@mydb; But its howing me an error message as 'ORA-12154: TNS:could not resolve service name'.
    But when I try to connect mydb,its connecting properly.
    then,why its showing this error message when I given select * from emp@mydb;
    Kindly provide me the solution.
    Thanks & Regards,
    Lakshmi.P.

    To be TNSNAMES.ora independent you would better create the DB link as
    create database link mydb
    connect to your_db_user
    identified by "your_passwd"
    using '(description=(address=(protocol=tcp)(host=your_host)(Port = your_port) )(connect_data=(sid=your_sid)))'
    /change all the your_* parameters accordingly to your environment.
    Note: Never use the sys- or system account for any application development ;)

  • Error Creating Database link

    Hello Everybody,
    I am getting the following error while creating the database link using the connection information at OWB Client.
    Testing...
    Failed.
    ORA-12514 TNS: no listener
    *Cause:   The connection request could not be completed because the listener is not running
    *Action:   Ensure that the supplied destination address matches one of the addressed used by the listener
    -compare the TNSNAMES.ORA entry with the appropriate LISTENER.ORA file
    Start the listener on the remote machine.
    The version of OWB Client is 10.1.0.2.0.
    When queried at oracle using the userid which i used to login OWB Client i.e. as shown below
    select db_link from all_db_links - the database link is created. But none of the obects are accessable with the db link.
    Note: I am able to create a database link explicity by issuing the command at backend oracle i.e create database link etc. and also able to access the tables.
    Kindly help.
    Thanks
    Prashanth

    Prashanth
    my guess is that you can create the database link, which simply points to the remote instance. however, the problem is on the remote instance.
    As the error message suggest, make sure that the listener is up and running on the remote machine. The link can be created, but if there is no listener on the other side, you will not get any response.

  • ERROR WHILE CREATING A DATABASE LINK USING HETEROGENEOUS SERVICES

    I'm creating a database link with the Oracle Dataware Builder, and i get the following error:
    Probando...
    Fallo.
    SQL Exception
    Error del repositorio: Excepción SQL.
    Nombre de la Clase: CacheMediator.
    Nombre del Método: getDDEntryFromDB.
    Mensaje de Error del Repositorio: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Informix][Informix ODBC Driver][Informix]Incorrect password or user [email protected] is not known on the database server. (SQL State: 28000; SQL Code: -951)
    ORA-02063: preceding 2 lines from PRUEBA_SEH
    As you can see i'm using heterogeneus services to connect to a informix database. ALTIADM is a valid user for that database, i don't send my ip address 192.168.0.62, but the error says "[email protected] is not known in the database server". how can i solve it?????

    Right places to ask this question are
    Heterogeneous Connectivity
    Warehouse Builder

  • Not able to create a database link using the database gateway of oracle 11g

    HI,
    While trying to create a database link to SQL server from Oracle ,using the database gateway provided with 11g, i am getting the following error while making use of it in selecting columns from tables :
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    These are the steps i have followed for setting up:
    1.Ran the set up for the Database gateway.and mentioned the SQL server name and database .ALos set up a listener.
    2. Added the following in the Listener.ora of Oraclehome 11/NETWORK/ADMIN:
    LISTENER_SQL_FCD =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = 1541)
    SID_LIST_LISTENER_SQL_FCD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=dg4msql)
    (ORACLE_HOME= D:\app\20537\product\11.1.0\db_3)
    (PROGRAM=dg4msql)
    3.Added the following in tnsnames.ora inOracle home/NETWORK/ADMIN:
    dg4msql=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1541))
    (CONNECT_DATA=(SID=dg4msql))
    (HS=OK)
    4. Following is the entry in initdg4msql.ora in C:\product\11.1.0\tg_5\dg4msql\admin:
    HS_FDS_CONNECT_INFO=10.148.45.242:1433//SalesDemo
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    5. Created the database link :
    create database link dblink
    connect to "sa" identified by "<pswd>"
    using 'dg4msql'
    On running :select * from test1@dblink i get the following error:
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    Is there any issue with the set or definition that I get the above error?

    What is the version of the Oracle database in which you have specified/and use the database link?
    If it is for example 10.2.0.3.0 you need to apply the mandatory patch for RDBMS bug 5965763 first before being able to use an 11g gateway. Have a look at MetaLink note 457808.1 for details about this patch.
    Regards,
    Ed

  • Error in database link(ORA-02063 and ORA-02391)

    Hi
    database link was working fine till this morning. now when i try to query using the database link, i get the following error
    ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit
    ORA-02063: preceding line from RMSLIVE
    It would beof great help if you can advise why this error is occuring.
    many thanks.

    The error stack is quite obvious.
    Either, the profile, with which the database user on remote database is running, must be modified to allow more connections or investigate the session leak in the application talking over database links.

  • Mapping Deployment Has Error:  Duplicate Database Link Exists

    Hi everyone,
    This is hopefully a simple question. I've been working with OWB 10GR2 for awhile now with no problems. My project finished and I moved on to another OWB environment, still 10GR2 and now my mapping deployments are having errors during the deployment. Each time I try to deploy the mapping, OWB also tries to create the database link, regardless of the fact that it already exists. It fails to deploy the database link but the mapping successfully deploys nonetheless. If I drop the database link and then deploy a mapping there is no error but then if I deploy a second mapping it comes back again (no real surprise here).
    I tried to deploy the connector by setting it to "replace" and hit deploy. That was fine, but according to, OWB,even though I just replaced the exisiting DB link, it still didn't see that it was created. OWB still considered this connector as "New".
    Does anyone know what I need to do to get OWB to stop trying to deploy the DB link with every mapping? How can I tell it that the DB link exists and is correct?
    Thanks!
    -Joe

    Hi there,
    I experienced same issue a few days ago ... I'll tell you how I solved it.
    I think the real problem is that the link gets never marked as deployed => so, it's deployed with every single mapping which is using it!
    You can even try to deploy it on its own, and deploying process ends with no errors, but it is not marked as deployed ...
    Why can't the link be marked as deployed? Where does the db_link come from?
    The link is pointing to a location where you dragged from a table (or any object) to your mapping.
    In my case, the location was first created and registered by another user before starting project development (with a new user).
    I unregistered the location with the original user and registered it again with my user, than I could deploy it and got it marked accordingly.
    It's never again apperead within my mapping deployments.
    Hope I've been clear enough ... and helpfull!
    Joan.

  • Error in Database backup using RMAN.

    Hi
    While taking full online backup using RMAN i got the following error.
    ORA-19566: exceeded limit of 0 corrupt blocks for file /oracle/DEV/sapdata2/dev640_6/dev640.data6
    Please help me how to resolve this issue.

    Hi,
    Please perform DBverify Job and Also analyze the alert<SID>.log file for your Database to get more information about such logical or physical corruption.  You may require Block level recovery for the complained DB Files. Please refer this useful document " [Early Detection and Correction of Data Block Corruptions Using RMAN |http://www.ioug.org/client_files/members/select_pdf/04q4/RMAN.pdf]" and share the same with your Oracle DBA.
    You can execute the following commands to get information about corrupted block(s), if its there.
    select * from v$backup_corruption;
    select * from v$database_block_corruption;
    Regads,
    Bhavik G. Shroff

  • Error in database polling using OSB

    Hi,
    I am polling the database. After polling I am calling a split join which inturn has a couple of SOA service calls. Everything was working fine until recently I observed that polling stops after a couple of attempts and i get errors of kind:
    ####<Mar 6, 2013 8:49:03 AM EST> <Error> <BPEL Kernel> <edadapp01> <osb_server1> <[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <84653bbbef33069c:-6fd16400:13d3f9fe982:-8000-0000000000000257> <1362577743258> <BEA-2032000> <Error during invocation of "PROJ/splitjoin/SplitJoin" for event "JobEvent: Job Key [56]" of type "com.bea.bpel.interpreter.internal.scheduler.JobEvent".
    java.lang.IllegalStateException: Thread 13 already has a job in the job queue.
    at com.bea.bpel.services.state.InMemoryJobQueue.offer(InMemoryJobQueue.java:113)
    at com.bea.bpel.interpreter.internal.concurrent.BlockedListener.queueBlockedJob(BlockedListener.java:59)
    at com.bea.bpel.interpreter.internal.concurrent.BlockedListener.<init>(BlockedListener.java:50)
    at com.bea.bpel.interpreter.internal.concurrent.BlockedListener.<init>(BlockedListener.java:39)
    at com.bea.bpel.interpreter.internal.concurrent.LockTransactionImpl.lock(LockTransactionImpl.java:91)
    at com.bea.bpel.interpreter.internal.program.StackFrameImpl.lockObject(StackFrameImpl.java:275)
    at com.bea.bpel.interpreter.internal.program.StackFrameImpl.findVariable(StackFrameImpl.java:184)
    at com.bea.bpel.interpreter.internal.instruction.assign.VariableDataResolver.getExclusiveKeys(VariableDataResolver.java:35)
    at com.bea.bpel.interpreter.internal.instruction.assign.AssignExtensionOperation.getExclusiveKeys(AssignExtensionOperation.java:38)
    at com.bea.bpel.interpreter.internal.instruction.concurrent.ExclusiveDataHandler.lock(ExclusiveDataHandler.java:47)
    at com.bea.bpel.interpreter.internal.instruction.concurrent.LockInstruction.enter(LockInstruction.java:43)
    at com.bea.bpel.interpreter.internal.process.ProcessNodeImpl.enter(ProcessNodeImpl.java:181)
    at com.bea.bpel.interpreter.internal.Interpreter.interpret(Interpreter.java:155)
    at com.bea.bpel.interpreter.internal.Interpreter.invoke(Interpreter.java:87)
    at com.bea.bpel.internal.dispatcher.EngineManagerImpl.dispatch(EngineManagerImpl.java:66)
    at com.bea.bpel.internal.dispatcher.EngineManagerImpl.dispatch(EngineManagerImpl.java:44)
    at com.bea.bpel.internal.dispatcher.SchedulerServiceContextImpl.fireEventJobScheduled(SchedulerServiceContextImpl.java:87)
    at com.bea.bpel.internal.dispatcher.SchedulerServiceContextImpl.fireEvent(SchedulerServiceContextImpl.java:68)
    at com.bea.alsb.flow.scheduler.SchedulerServiceImpl$1.run(SchedulerServiceImpl.java:32)
    at weblogic.work.ContextWrap.run(ContextWrap.java:41)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Now, the error is repeated only inside the error the 'event' gets changed sometimes but except that everything is same. As a result database isn't getting polled.
    It works after after deleting and redeploying the code on the server but after 3-4 runs the same issue.
    Anyone has any idea about it,please help.
    Thanks in advance,
    Tarun
    Edited by: Tarun Rathor on Mar 7, 2013 1:29 AM

    This is a Bug related to updating global vars in different branches of a split join catch block.
    Have a look into BugID:13627312 in Metalink and request the patch.
    Regards,
    Fabio Douek.

  • Error using database link

    Before creating the link, I went into my init.ora file and made sure the GLOBAL_NAMES entry was false.
    I then created a database link using the following:
    create public database link cindy_link
    connect to system identified by syspswd
    using 'PRECISEI';
    My link was created, but when I attempt to use it, I get the error:
    ORA-02085:database link CINDY_LINK.WORLD connects to PRECISEI.WORLD
    Here is the entry from my tnsnames.ora file:
    PRECISEI =
    (DESCRIPTION =
    (ADDRESS_LINK =
    (ADDRESS =(PROTOCOL = TCP)(HOST = taurus)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = precisei.world)
    Here is the entry from my listener.ora file:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = precisei.world)
    (ORACLE_HOME = E:|oracle\ora81)
    (SID_NAME = precisei)
    (I must admit to not having a full understanding of SID_NAME vs SERVICE_NAME.) I looked in dba_db_links, and my db_link is named CINDY_LINK.WORLD instead of CINDY_LINK.
    Do I have a problem in one of my files?
    I would really appreciate any help.
    Thanks.

    Well, I was facing the same problem but corrected it later on. Let me describe the solution is little detail.
    You need to check few things before creating db link.
    1) db_name and db_domain in init.ora file
    2) global_name in listener.ora file
    3) service name in tnsnames.ora file.
    It seems to me that you have not specified the db_domain in init.ora file. And in that case, you need to follow these steps.
    I am considering here that you have database A on server X and database B on server Y.
    Go to the first server (server X).
    set the global name in init.ora file by following
    Global_name=true
    db_domain=usa.com
    Start and open the database.
    connect as system user.
    (if your oracle sid is orcl then)
    svrmgr30>alter database rename global_name
    to orcl.usa.com;
    this will set the global_name as specified in init.ora file. Here, your SID is orcl and db_domain is usa.com so global_name will be orcl.usa.com.
    svrmgr30>Select * from global_name;
    You get the answer like this.
    Orcl.usa.com
    Now, go to Listener.ora file and change global_name to the new name (orcl.usa.com)
    restart the listener.
    WE WILL SEE ABOUT THE CHANGES OF TNSNAMES.ORA LITTLE LATER.
    Now, go to second server(server Y) and perform the same operation as defined above. i.e. Specify the db_name, db_domain in init.ora file, execute "alter database.." command for setting global_name and edit listener.ora file for new global name.
    Once you do all these you need to create service on server 1 to connect to server 2 and on server2 to connect to server1.
    Go to server X.
    Open tnsnames.ora file and create an entry like this.
    P =
    (DESCRIPTION =
    (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(Host = IP address of B)(Port= 1521)))
    (CONNECT_DATA = (SID = P))
    Here, P is global name of P ( at both the places).
    Now, go to server Y.
    Open tnsnames.ora file and create an entry like this.
    Q =
    (DESCRIPTION =
    (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(Host = IP address of A)(Port= 1521)))
    (CONNECT_DATA = (SID = Q))
    Here, Q is global name of Q ( at both the places).
    you are all set now.
    Create database link between 2 servers now.
    Say these are all your settings..
    Server X is having database A with global_name orcl.usa.com and server Y is having database B with global_name orcl2.us.com
    Now go to server X and create db link to server Y
    Create public database link orcl2.us.com using 'orcl2.us.com'
    (Note. don't miss to create a service 'orcl2.us.com' in server X's tnsnames.ora file)
    And go to server Y and create db link there.
    Create public database link orcl.usa.com using 'orcl.usa.com'
    (Note. don't miss to create a service 'orcl.usa.com' in server Y's tnsnames.ora file)
    hope this helps,
    If this doesn't work, feel free to contact me.
    Kalpen
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by cindy spearman ([email protected]):
    Before creating the link, I went into my init.ora file and made sure the GLOBAL_NAMES entry was false.
    I then created a database link using the following:
    create public database link cindy_link
    connect to system identified by syspswd
    using 'PRECISEI';
    My link was created, but when I attempt to use it, I get the error:
    ORA-02085:database link CINDY_LINK.WORLD connects to PRECISEI.WORLD
    Here is the entry from my tnsnames.ora file:
    PRECISEI =
    (DESCRIPTION =
    (ADDRESS_LINK =
    (ADDRESS =(PROTOCOL = TCP)(HOST = taurus)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = precisei.world)
    Here is the entry from my listener.ora file:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = precisei.world)
    (ORACLE_HOME = E:|oracle\ora81)
    (SID_NAME = precisei)
    (I must admit to not having a full understanding of SID_NAME vs SERVICE_NAME.) I looked in dba_db_links, and my db_link is named CINDY_LINK.WORLD instead of CINDY_LINK.
    Do I have a problem in one of my files?
    I would really appreciate any help.
    Thanks.<HR></BLOCKQUOTE>
    null

  • ORA-01017 error while using a database link

    Hi all,
    I have a TNS entry as below
    HOME=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.66.205.110)(PORT=1521))
    (CONNECT_DATA=(SID=HOME))
    I have created a database link as
    create public database link link92.com using 'HOME'.
    This was created successfully and an entry was made in all_db_links table.
    However if i try connecting to a table in the remote database...for example
    select * from emp@link92;
    I am receiving an error ORA-01017(Invalid username passwd).
    Would appreciate if somebody could help me out.
    Thank you

    It is not that the Database Link is "PUBLIC" that makes it use the current username/password.
    It is that the Database Link has been created without specifying a " CONNECT TO username IDENTIFIED BY password " that makes the DBLink behave as a "current user database link" using the current username/password to connect to the remote database.
    You can have a PUBLIC database link that uses a "CONNECT TO username IDENTIFIED BY password" such that all connections use the same remote username and password.
    You can also have "private" (ie not PUBLIC) database link that does not specify a "CONNECT TO username IDENTIFIED BY password" which becomes a "current user [owner] database link".

  • Using Database link to go from one database to another

    Hi all,
    I am trying to create a SQL-query which connects to two
    different databases.
    I have created a Database link, which points from on database to
    the other, and have supplied the database name, username and
    password.
    when I try to run following query I get error ORA:02085, MY_LINK
    is connecting to SIEBN1S.(domain).com
    SELECT COUNT(*) FROM MY_TABLE@MYLINK;
    additional info:
    2 databases are exact copies on different servers (SIEBN1S and
    N1SSIEB)
    the MY_TABLE exists in both databases and I have rights on it in
    both, I can separately connect to both databases and look into
    MY_TABLE
    I have created the database link using following statement (in
    the N1SSIEB db):
    create database link MYLINK connect to <usr> identified by <pwd>
    using 'SIEBN1S'
    any help is welcome

    You have set GLOBAL_NAMES to TRUE in your init.ora file. This
    means your database link must have the same name as the database
    you want to connect to ie SIEBN1S.(domain).com.
    alternatively you can change GLOBAL_NAMES. to test this try
    'ALTER SESSION SET GLOBAL_NAMES=FALSE'.
    hth, APC

  • Database link strange error

    Hi, need ur help again,
    i have create a database link using this script:
    CREATE PUBLIC DATABASE LINK "LINKTO" CONNECT TO "DB001"
    IDENTIFIED BY "123456" USING
    '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=161.142.72.58)(PORT=1521)))(CONNECT_DATA=(SID=DB001)(SERVER=DEDICATED)))'
    However, whenever i use this link to insert record into remote database, this error occurs:
    ORA-00907: missing right parenthesis
    ORA-02063: preceding line from LINKTO
    ORA-00907: missing right parenthesis
    ORA-02063: preceding line from LINKTO
    Can anyone pls give a hint where the error come from?

    ok, i managed to find the error. The error occurs becoz the remote table is corrupted.

  • Database Link to MSSQL using JDBC

    Hi, i'm trying to create a database link from Oracle on Solaris to a MSSQL database. We don't have ODBC installed on the server so i'm hoping to use JDBC to connect. Is that possible? Can someone tell me the format to use for the connection string. Thanks...

    It is not possible to create a database link using JDBC.
    You could load the SQL Server Type 4 JDBC driver into the Oracle JVM and then write a Java stored procedure that accesses the remote database if you would like. But Heterogeneous Services with Generic Connectivity, which allows you to create database links to non-Oracle databases, only supports ODBC and OLE DB.
    Justin

  • ORA-01017: invalid username/password; logon denied - Database Link

    Hi Guys,
    Could you help me, I have a problem connecting to another database using the database link:
    *1. I added in tnsnanes.ora of "client" database DEV2*
    DEV =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.85)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SID = DEVDB)+
    +)+
    +)+
    *2. I tested my connection using tnsping*
    oracle@dev> tnsping dev
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 10-JUL-2010 14:35:35
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    +/opt/oracle/product/10.2/db_1/network/admin/sqlnet.ora+
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.85)(PORT = 1521)) (CONNECT_DATA = (SID = DEVDB)))
    OK (0 msec)
    oracle@dev>
    *3. In SQLPLUS of DEV2 I connect to my database using the tnsnames entry*
    SQL> conn devuser/pwd001@dev
    Connected.
    *4. I then create a database link.*
    SQL> Create Database Link dev_Link
    +2 Connect to devuser+
    +3 identified by pwd001+
    +4 using 'DEV';+
    Database link created.
    SQL>
    *5. When I try to connect to the database using the database link I get an error, but I am very sure the username ans password are ok.*
    SQL> select * from global_name@dev_link;
    select * from global_name@dev_link
    *+
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-02063: preceding line from DEV_LINK
    SQL>
    What could be wrong......??

    4. I then create a database link.
    SQL> Create Database Link dev_Link
    2 Connect to devuser
    3 identified by pwd001
    4 using 'DEV';create DATABASE LINK USING <connect-string>
    your sid is DEVDB so create dblink using oracle_sid
    If you specify only the database name, then Oracle Database implicitly appends the database domain to the connect string to create a complete service name. Therefore, if the database domain of the remote database is different from that of the current database, then you must specify the complete service name.
    Edited by: rajeysh on Jul 10, 2010 7:28 PM

Maybe you are looking for

  • XML and Air Issues

    Hi guys, first time poster so I apologize if this is a basic question! I am creating a Media cataloging application to run as a desktop application through Air, I initially built this as a Flex web app but have decided I want it as a standalone. Anyw

  • Sending/receiving files using SFTP

    Hi, Is there a way to use the Secure File Transfer Protocol (SFTP) in ABAP to send/receive files? I already used the FTP functionality from the function group SFTP, but I'm honestly not sure whether ABAP also handles the secure version of FTP. If the

  • Password not working in Entourage or Safari

    Every time I try to send/receive messages in Entourage or Mail, it tells me that my security or password settings may be incorrect, when I know they are correct. This has suddenly started happening for reasons I don't know. Any ideas?

  • Where are my iWeb files located? My Domain folder is empty but the pages still open in iWeb.

    I have a Macbook Pro OSX 10.6.8. iWeb opens all my pages and the website is fine.  When I look for the page files so that i can edit them in Text Edit I cannot find them. I have searched EVERY file folder etc. on my computer including the Domain fold

  • Course Appraisal Extraction in HCM

    Hi, I am trying to extract course appraisals from my ECC 5.0 / HCM (I think it's 2.0 EA-HR is SAPKGPHC15) / LSOFE 300 system, into my BI 3.5.3 system but can't.  I can pull the Personnel Appraisals at will using the standard business content extracto