To access the Tables using DB link.

Hello friends,

I have an env development and production.

I created a public link to DB developing say mylink.

Trying to access the development of production table using the following command say to access x table

Table DEV to access the PROD x using dblink

Select * from x@mylink;

Got the error like:
ORA-02019: description of the connection to the remote database not found
02019 00000 - "description of the connection to the remote database not found"

Any idea on why this error is coming...

Thank you/kumar

I have an env development and production.

I created a public link to DB developing say mylink.

Trying to access the development of production table using the following command say to access x table

Table DEV to access the PROD x using dblink

Select * from x@mylink;

You try to run the query in the database of PROD. This query uses a DB link that points to the DEV database.
Very simple to understand: as you use the LINK DB in the PROD database, obviously it should be in the area of PROD... right?
Imagine you use a PROD ("DBLINK") object and it does not exist here. I have it?

SELECT * FROM x@mylink;

Here,
x database DEV table
myLink - DB LINK in the database of PROD (pointing to DEV)

Please try this.
HTH

Published by: Vanessa B on December 25, 2012 12:24 AM

Tags: Database

Similar Questions

  • BlackBerry smartphones can not access the Internet using the browser

    Problems tonite to access the Internet using the browser button... get several different messages, the first was:

    ERROR HTTP 500 internal server error... An unexpected condition has occurred...

    then ERROR HTTP 503... server overload

    I can't access using Menu.then by clicking on the bookmarks saved... any ideas anyone?

    Hi and welcome to the forums!

    Open the browser, options, cache operations, delete all categories.

    The go to the configuration of the browser, scroll to the identification of the browser, change Internet explore!

    Battery pull. See how it works.

    KB11266 HTTP 500 error when you use the browser

    Thank you

    Bifocals

  • How to know the tables used in packages of a schema.

    How to know the tables used in packages of a pattern that I have connected.

    SELECT DISTINCT referenced_owner, referenced_name

    Of all_dependencies

    Owner WHERE = "MY_USER_NAME".

    AND type ('PACKAGE', 'BODY of PACKAGE')

    AND referenced_type = 'TABLE '.

  • How to insert image from mysql into the table using php and create the checkbox in the table?

    How can I insert image from mysql into the table using php and create the checkbox for each data as a vote? Here is my code...

    WELCOME

    connect_error) {die ("connection failed:".)} $conn-> connect_error); } $sql = "SELECT no, Calon, ID, of course, the Image OF THE candidates." $result = $conn-> Query; If ($resultat-> num_rows > 0) {echo ' '; export data of each line while ($row = $result-> fetch_assoc()) {"echo"}}
    NO Candidate INFO Vote
    " . $row ["no"]. "-" . $row ["Calon"]. "
    -" . $row ['ID']. "
    -" . $row ['class']. "
    "; } ECHO ' ' ;} else {echo '0 results' ;} $conn-> close();?} >

    hope someone can help me because I am a newbie in this program... need to finish this project... Thank you.

    If you have saved the file name in the database, it's pretty simple.

    echo '' . $row['description'] . '';
    

    Is the same for the box:

    echo '';
    

    If you have saved the image file in the database, it is much more complicated. I recommend you store only the file name in the database.

  • How to access the tables in another workspace (same server)?

    This is probably simple, but I can't understand it: we have different applications in different areas of work, but on the same server: how I can simply access the tables (just read-only) in a different workspace than the application?

    Published by: JJ MAHÉ - Oracle on March 18, 2013 02:07

    If you really need only Privs-SELECT on tables, it's perhaps easier to grant the privilege to the target schema to your schema.

  • The table used to run very quickly

    I read about 22000 records of weak financial data in a graph of candel stick. The table used to run very quickly, but now it works slow Koala after some small changes. Ideas of probable causes?

    I figured out that the disabledDays was originally the slow almost 10 times slower

    disabledDays = "{offDays}.

  • Trying to create the table using Clause any Union with Select multiple stmts

    The motion seeks to get the substring of the value to for example.
    If the value is * ASA 2 * then so do ASA
    where as if the value is * 1.5 TST * it sholud come as TST as wise for others too.
    I am trying to execute stmt SQL written but in error as below:

    * ' ORA-00998 must appoint this expression with the alias column 00998.00000 - must appoint this expression with the column alias. "

    CREATE TABLE TEST_CARE AS
    (
    SELECT row_id, old_care_lvl, SUBSTR(old_care_lvl,3), len test_care_lvl FROM
    WHERE LENGTH (old_care_lvl) = 5
    UNION ALL
    SELECT row_id, old_care_lvl, SUBSTR(old_care_lvl,3), len test_care_lvl FROM
    WHERE LENGTH (old_care_lvl) = 7
    UNION ALL
    SELECT row_id, old_care_lvl, SUBSTR(old_care_lvl,3), len test_care_lvl FROM
    WHERE LENGTH (old_care_lvl) = 14
    UNION ALL
    Row_id SELECT, old_care_lvl, SUBSTR (old_care_lvl, 3), LEN test_care_lvl
    WHERE LENGTH = 7 AND old_care_lvl (old_care_lvl) = "Regular."
    );

    I want to create the table using the above given the multiple selection by using the Union ALL clause, but trying to create run query error like "ORA-00998 must appoint this expression with the alias column 00998.00000 - must appoint this expression with the column alias.

    Please guide me how to approach to solve this problem.
    Thanks in advance.

    Try this->

    CREATE TABLE TEST_CARE
    AS
      select *
      from (
              SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3), len FROM test_care_lvl
              WHERE LENGTH(old_care_lvl) =5
              UNION ALL
              SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3), len FROM test_care_lvl
              WHERE LENGTH(old_care_lvl) =7
              UNION ALL
              SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3), len FROM test_care_lvl
              WHERE LENGTH(old_care_lvl) =14
              UNION ALL
              SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3),LEN FROM test_care_lvl
              WHERE LENGTH(old_care_lvl) =7 AND old_care_lvl ='Regular'
          );
    

    N.B.: Not tested...

    Kind regards.

    LOULOU.

  • Trouble accessing the table of contents by using select Boolean box.

    Hi all. I use jdeveloper 11.1.1.6.0
    In my page jspx, I have only one table and an input text box.
    table is created by a VO that has three content such as empname, empno, sal
    I added the extra column in the table for a select Boolean box.
    My requirement is, whenever I have check the box add the salary corresponding to the
    TextBox, when I deselect the check box, the corresponding value should be inferred from the text dynamically box
    its urgency. Please help in the coding of java.

    Published by: 994115 on April 18, 2013 02:15

    Hello

    If the table is set for the selection of simple lines, you can get this information from the binding of the ADF. To do this, in the file PageDef, bind to the attribute of the attribute of the iterator salary used by the table. To access the value of salary call you

    BindingContext bctx = BindingContext.getCurrent ();
    BindingContainer links = bctx.getCurrentBindingEntry ();
    AttributeBinding salaryBinding = bindings.get ("Salary") (AttributeBinding);
    Oracle.jbo.domain.Number salaryValue = (Oracle.jbo.domain.Number) salaryBinding. getInputValue();.

    PS. : If the salary is not of type oracle.jbo.domain.Number, and then modify the code above

    Frank

  • Cannot access the internet using the account invited in Vista. Unable to access using the administrator account.

    This one is strange - and I repeat that the problem is that I can't access the internet by using the administrator account.  The guest account works fine.  All programs are there and launch the fine (IE, Live Messenger, Yahoo Messenger, etc.), but they cling right there when I try to log on or access to any Web site.

    While in the administrator account, I ran "CMD" in the run menu and can ping Yahoo, Google, etc. with success.  It's embarrassing - any ideas how the administrator account can act that way then the guest account works perfectly?

    Hello Allen LaBrune,.

    If you are able to ping the websites from the command prompt, it means that your computer connectivity is fine.

    ·         What is the antivirus installed on your computer protection software?

    ·         Have you tried to browse by disabling the firewall?

    Try disabling the firewall on the computer and check if you are able to navigate.

    If this does not work, reset Internet Explorer settings and check if you can browse.

    To use the feature reset the settings of Internet Explorer in the Control Panel, follow these steps:

    1. exit all programs, including Internet Explorer (if it is running).

    2. If you are using Windows Vista, click Start, type the following command in the start search box and press ENTER:

    Inetcpl.cpl

    The Internet Options dialog box appears.

    3. click on the Advanced tab.

    4. Under Reset Internet Explorer settings, click Reset. Then click again on reset.

    5. when Internet Explorer has finished resetting the settings, click close in the reset Internet Explorer settings dialog.

    6. restart Internet Explorer.

    For you reference, you can visit the link for the following Article:
    http://support.Microsoft.com/kb/923737

    Thank you

    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

  • XML data in the table using sql/plsql

    Hi experts,

    Could you please help with the following requirement. I have the tags xml (.xml on a server file) below. I need to access this file and read the XML and insert into the db table using sql and plsql. Is it possible with the cdata below? And there is a nested this table.

    Could someone please guide me if you have a sample code file and xml.

    <? XML version = "1.0" encoding = "UTF-8"? >

    < generation_date > <! [CDATA [17/11/2015]] > < / generation_date >

    < generated_by > <! [CDATA [Admin Admin]] > < / generated_by >

    < year > <! [CDATA [2015]] > < / year >

    < month > <! [CDATA [01]] > < / month >

    < author >

    < author > <! [CDATA [user author]] > < / author > < author_initial > <! [CDATA [user]] > < / author_firstname > < author_country > <! [CDATA [author]] > < / author_lastname >

    < author_email > <! [CDATA [[email protected]]] > < / author_email >

    < author_data_01 > <! [CDATA []] > < / author_data_01 >

    < author_data_02 > <! [CDATA []] > < / author_data_02 >

    < items >

    < article_item >

    < article_id > <! [CDATA [123456]] > < / article_id >

    < publication > <! [CDATA [Al Bayan]] > < / publication >

    < section > <! [CDATA [Local]] > < / section >

    < issue_date > <! [CDATA [11/11/2015]] > < / issue_date >

    < page > <! [CDATA [2]] > < / print this page >

    < article_title > <! [CDATA [title.]] > < / article_title > < number_of_words > <! [CDATA [165]] > < / number_of_words >

    < original_price > <! [CDATA [200]] > < / original_price >

    < original_price_currency > <! [CDATA [DEA]] > < / original_price_currency >

    < price > <! [CDATA [250]] > < / price >

    < price_currency > <! [CDATA [DEA]] > < / price_currency >

    < / article_item >

    < / articles >

    < total_amount > <! [CDATA [250]] > < / total_amount >

    < total_amount_currency > <! [CDATA [DEA]] > < / total_amount_currency >

    < / author >

    < / xml >

    Thanks in advance,

    Suman

    XMLTABLE using...

    SQL > ed
    A written file afiedt.buf

    1 with t (xml) as (select xmltype ('))
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    [[12 [email protected]]] >
    13
    14
    15
    16
    17
    18
    19


    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33 ") of the double)"
    34-

    35 end of sample data
    36-
    37 - assumptions:
    (38 - a) XML may have several tags
    (39 - b) each may contain more
    40-
    41 select x.gen_by, x.gen_date, x.mn, x.yr
    42, y.author, y.auth_fn, y.auth_ln, y.auth_cnt, y.auth_em, y.auth_d1, y.auth_d2

    43, z.id, z.pub, z.sec, z.iss_dt, z.pg, z.art_ttl, z.num_wrds, z.oprice, z.ocurr, z.price, z.curr
    44 t
    45, xmltable ('/ authxml')
    from $ 46 t.xml
    path of 47 columns gen_date varchar2 (10) '. / generation_date'
    48, path of varchar2 (15) of gen_by '. / generated_by'
    49, path of varchar2 (4) year '. "/ year"
    50 varchar2 (2) mn road '. "/ month"
    51, path of xmltype authors '.'
    52                 ) x
    53, xmltable ('/ authxml/authors ')
    from $ 54 x.authors
    author of 55 path of varchar2 columns (15) '. / author'
    56, path of varchar2 (10) of auth_fn '. / author_firstname'
    57, path of varchar2 (10) of auth_ln '. / author_lastname'
    58 road of VARCHAR2 (3) auth_cnt '. / author_country'
    59 road of varchar2 (20) of auth_em '. / author_email'
    60 road of varchar2 (5) of auth_d1 '. / author_data_01'
    61, path of varchar2 (5) of auth_d2 '. / author_data_02'
    62, path of xmltype articles '. / Articles'
    63                 ) y
    64, xmltable ('/ Articles/article_item ')
    from $ 65 y.articles
    path id 66 number columns '. / article_id'
    67, path of varchar2 (10) pub '. ' / publication.
    68 road of varchar2 (10) dry '. / section'
    69, path of varchar2 (10) of iss_dt '. / issue_date'
    70 road of VARCHAR2 (3) pg '. "/ print this page"
    71, path of varchar2 (20) of art_ttl '. / article_title'
    72, path of varchar2 (5) of num_wrds '. / number_of_words'
    73, path of varchar2 (5) of oprice '. / original_price'
    74 road to VARCHAR2 (3) ocurr '. / original_price_currency'
    75, path of varchar2 (5) price '. "/ price"
    76, path of VARCHAR2 (3) curr '. / price_currency'
    77*                ) z
    SQL > /.

    GEN_DATE GEN_BY YEAR MN AUTHOR AUTH_FN AUTH_LN AUT AUTH_EM AUTH_ AUTH_ ID PUB DRY ISS_DT PG ART_TTL NUM_W OPRIC HEARTS PRICE OCU
    ---------- --------------- ---- -- --------------- ---------- ---------- --- -------------------- ----- ----- ---------- ---------- ---------- ---------- --- -------------------- ----- ----- --- ----- ---
    17/11/2015 Admin Admin 2015 01 user author user author [email protected] 123456 UAE Al Bayan Local 11/11/2015 2 is the title.   165 200 AED AED 250

    Of course, you'll want to change the types of data, etc. as needed.

    I assumed that the XML can contain several "" sections and that each section can contain several entries.

    Thus the XMLTABLE aliasing as 'x' gives information of XML, and supplies the data associated with the XMLTABLE with alias 'y' which gets the multiple authors, which itself section of the XMLTABLE with alias 'z' for each of the article_item.

    CDATA stuff are handled automatically by SQLX (XML functionality integrated into Oracle's SQL)

  • Need to get a list of the tables used in a PC using a query to USER_SOURCE

    We would like to re - design an integration application using synonyms, pointing to a DB link. Now, we use the names of the tables.  The tables can be found in a remote database.

    We want to deal with in our local database instead of the treatment in the 32 remote DBs.

    To determine the size of the re-design and development, we want to know how many different tables, we used in our package which has more than 6,000 lines of code.

    When we issue you with this query:

    Select text From User_Source Where Name = 'INT_PKG' and Type = 'PACKAGE BODY' and Lower (Text) Like '% % ';

    We get lines like this:

    IN double v_ret_val;

    OF cmn_reg_reports m, case_reg_reports c

    OF case_master c

    OF case_assess

    OF the double

    OF case_master

    etc.

    Now I want the output voltage:

    Double

    cmn_reg_reports m, case_reg_reports

    case_master

    case_assess

    Basically, I want to get a list of tables that I used in this package.

    How can I do it using REGULAR EXPRESSIONS?

    Why need to fetch from user_source... !

    Instead you can easily get Table reference in the user_dependencies procedure!

    Look for them

    REFERENCED_OWNER, REFERENCED_NAME to REFERENCED_TYPE = "TABLE".

    Select

    referenced_owner,

    referenced_name,

    referenced_type

    Of

    dba_dependencies

    where

    name = "proc_name".

    and

    owner = 'owner_name '.

    AND referenced_type = 'TABLE ';

  • How to access the table cell script plugin c labels

    Hello

    We have a plugin written in actionscript, which prepares data in labels of each cell in a row of a table, when the user has their cursor in this line:

    var: a cell = getSelectedCell();

    for each {(var childCell:Cell in cell.parentRow.cells)

    childCell.insertLabel (labelName, theString);

    }

    public function getSelectedCell (): cell

    {

    ...

    var selectedLayers:Array = doc.selection in the table;

    var selectedLayers = obj:Object [0];

    If (obj have PointInsertion! = null) {}

    var ip:InsertionPoint = obj as PointInsertion;

    If (ip.parent cell) {}

    return ip.parent as cell;

    }

    } else if (obj as cell! = null) {}

    return items as cell;

    }

    Returns a null value.

    }

    I am now writing a C plugin that needs to read data using IScriptLabel: once again, when the user has a cursor in the same row.

    My problem is that I can't find (via the C code) against that UIDRefs the labels would have been stored by the script that the table does not seem that the objects of the cell in the same way as the script only.

    Any ideas on how to get the relevant UIDRefs?

    Thank you

    I found the answer:

    1) go to SnpIterTableUseDictHier.cpp.

    (2) go to the function void SnpIterTableUseDictHier::inspectThreadDict (const InterfacePtr& textStoryThreadDict).

    (3) add this code after the line after the line InterfacePtrMyCell (textStoryThread, UseDefaultIID());

    #define Solutiontotheproblem 1

    #if Solutiontotheproblem

    InterfacePtr iscript (textStoryThread-> QueryParent (ScriptInfo::RequestContext ()), IScript::kDefaultIID);

    {if (iscript)}

    Tags IScriptLabel::ScriptLabelKeyValueList is iscript-> GetTags();.

    IScriptLabel::ScriptLabelKeyValueList:iterator iter;

    If (!) Tags.Size ())

    {

    PMString return ("no labels found.");

    returnVal.SetTranslatable (kFalse);

    }

    for (iter = tags.begin (); iter)< tags.end();="">

    {

    PMString returnVal ((*iter).) Key());

    Return +=("::");

    Return += ((*iter).) Value();

    CAlert::InformationAlert (returnVal);

    }

    }

    #endif

    (3) voila!

    Hope that helped. If your question is the answer, please mark my solution as correct

    I used this link for the answer. The main thing to find was finding what associated text interface was IScript is associated with.

  • Set the table using CSS: table, tr, th

    I'm looking to define a table using CSS format.  By browsing items in the school of W3 and google, I defined the next element in the CSS nickname:

    {table. Members}
    do-family: Arial, Helvetica, without serif.
    do-size: 11px;
    make-style: normal;
    make-weight: bold;
    Color: #000000;
    text-align: left;
    padding: 2px;
    vertical-align: top;
    white-space: normal;
    }

    {Th.Members}
    Color: #000000;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    padding: 3px;
    background-color: #808080;
    make-weight: bolder;
    }

    {TR. Members}
    Padding: 6px;
    Color: #000000;
    do-size: 11px;
    border: 1px solid #000000;

    }

    The name of my table is 'members' and I attribute the code of the 'members' class to the table.  The CSS for table.members seems to be inferred correctly page.  However, the tr.members th.members and the definition header line are not.

    Can someone comment on what I need to fix?  Here is a link to the web page.

    http://aosweb.org/Membershipx/bbmember_list.php

    Thank you.

    What follows instead... Note the new line of code in red and the comment beside her

    {table. Members}
    do-family: Arial, Helvetica, without serif.
    do-size: 11px;
    make-style: normal;
    make-weight: bold;
    Color: #000000;
    text-align: left;
    padding: 2px;
    vertical-align: top;
    white-space: normal;
    border-collapse: collapse;  / * This is what prevents the double border on cells * /.
    }

    different th {}
    Color: #000000;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    padding: 3px;
    background-color: #808080;
    make-weight: bolder;
    }

    / * apply the style to thenot the*/

    different td {}
    Padding: 6px;
    color: #0000CC;
    do-size: 11px;
    border: 1px solid #000000;
    }

    The above should work.  I have here an example of an example of worksheet:

    http://www.DreamweaverResources.com/tutorials/TableCellBorders.htm

  • Help needed in the table in the Table using the OPS approach

    We have a requirement in the OPS in which the region of the page of search results should provide details of the header. And in the header Details there is a show and hide the button that would show details of line corresponding to the header (such as the Table - to - Table).



    For more details header I used table under the tip, I used region of detail and there I created the table for more details of line.

    I also created see links in the header details links discovers the object and a view object Details.



    I put in the request of the controller process method, see link name and name of the child attribute for external table (table details header) and the inner table (line details table)



    When I launch OAF page, I get the error below. I am facing this error when I tried to put the link name view attribute and child of the internal table (i.e. table line details) in the controller.

    Retail 0 #.
    java.lang.NullPointerException
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.updateInnerTableProperties (unknown Source)
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequestAfterController (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest (unknown Source)

    User - try the framework OFA Forum

  • insert into the table using the loop and permanently display

    Hello

    I am trying to insert some values of loop loop run into two tables and trying to draw using Graph XY. I need values Joanie be inserted one by one in each iteration. But at the end of the iteration in the table, I get only last value... can someone help me?

    Hello Manu,

    use a shift register to store each table. BuildArray allows to add/Add (not Insert!) of new values in the table.

    Then you need not use an ExpressVI to create the chart, a knot simple bundle (as indicated in the context-sensitive help) is enough to create a field in a XY Chart...

    Example with a table:

    Keep in mind:

    It's not (memory/CPU time) effective to use for time of data acquisition time (giving rise to large Bay). Use different approaches then...

Maybe you are looking for

  • I tried to send an email with attachment and keep trying now and ends not to try the loop a little...

    I tried to send a mail, but something happens and I can't stop the action of 'send message '. The problem is my account does not work and he creates something like a loop... try and try, and I cannot use mail...

  • Home page of Firefox / my bottom toolbar

    Home page of Firefox seems bigger and fills the entire screen, blocking my tool bar (clock, icons, etc.). It blocks off the upper part of the screen, but when I make the mouse upward, the minimize, close and reduce the buttons appear. Frankly, it's a

  • Set Up airport to back up several computers in the small office

    I'll put up a new Airport Extreme. I want 4-5 computers in a small office in each have separate backups only the device. How to configure?

  • X 1 carbon Win10 WIFI drops BOUNCING

    Hi team I have a Thinkpad X 1 of carbon with Win10 own instalation and all updated. The laptop in under warranty so if I'm not able to solve this problem, I will return the laptop. The WIFI card is an Intel N7260 and all the time and at any time unex

  • Aspire 4752 processor upgrade

    My computer died so I thought it best to get a replacement motherboard, made me think why not upgrade all can, found a heatsink heat stronger and more ram and a usb 3.0 port girl audio edge ect. But the processor needs to be recognized by the bios, a