Forgot how to call a database link in Apex... @linkname not working for me

Don't have access to my old apps and I can't remember how to call fields from a database link now...
when i try
select "TABLE"."DATE" as "Date"
from "TABLE" "TABLE" @LINKNAME
I get ORA-00933: SQL command not properly ended
Tried CHRISD which is the name of the link, then tried CHRISD.REGRESS.RDBMS.DEV.US.ORACLE.COM which is the entire name.
Neither one looks right to me but I can't remember the correct syntax for the link name... I remember putting something about userlink in there somewhere but nothing I can think of works.
anyone?

select ename from emp@dblink
...lose the double quotes.
Scott

Similar Messages

  • What happened to my bookmarks, and how do I retrieve them. Your instructions are not working for me

    I have Yahoo mail, and recently they changed the format. Ever since then I've had nothing but trouble. At one time I lost my Orange Firefox button which contained the print, and bookmarks ops, among others. One day I lost my button, so I un-then re-installed Firefox. Shortly after that I lost my bookmarks, and have NOT
    been able to retrieve them DISPITE following the instructions. I started a new bookmark list, and then I lost
    it again. Your instructions do not work for me. I even tried re-installing Firefox, but that was a waste of time.
    I really like Firefox, but it seems since Yahoo Mail changed, I've had trouble with it. Sometimes changing something doesn't always work out .................................................If I can't retrieve these bookmarks, I'll just have to change my browser.............................

    These can't get your data back, but will help in the future.
    These add-ons can be a great help by backing up and restoring Firefox
    '''[https://addons.mozilla.org/en-US/firefox/addon/febe/?src=collection&collection_id=33bf10fa-666d-45a2-9bc9-491ce21671c6 FEBE (Firefox Environment Backup Extension)]''' {web link}
    FEBE allows you to quickly and easily backup your
    Firefox extensions, history, passwords, and more.
    In fact, it goes beyond just backing up -- It will actually rebuild
    your saved files individually into installable .xpi files.
    It will also make backup of files that you choose.
    '''[https://addons.mozilla.org/en-US/firefox/addon/opie/?src=collection&collection_id=33bf10fa-666d-45a2-9bc9-491ce21671c6 OPIE]''' {web link}
    Import/Export extension preferences

  • Database Variant to Data.vi not working for the Date datatype with LV 8.2?

    I'm moving a large body of LV database code from LV 7.1 to 8.2 and find that the Database Variant to Data.vi is not working correctly when used with the Date datatype. It works fine with 8.0, and the common Variant to Data works also. Am I missing something? Thanks in advance for any assistance. Wes

    Thanks for the prompt reply Crystal,
    The data is stored in an Oracle database using the DATE type. I'm querying many rows along with other columns and converting each of the values as necessary for each column with the 'Database Variant to Data' vi. Only conversion to Timestamp is no longer working as of version 8.2. I recognize that plain Variant to Data works but I have many (100's) of VIs to change if that is the only solution (not the end of the world). Most often the dates are originally generated in the database using PL/SQL procedures calling SYSDATE which look like: 5/1/2006 11:56:26 AM (in TOAD anyway) which I then need to read into LV as type Timestamp.
    Regards, Wes.

  • Database roles seems like its not working for me - your help is appreciated

    Hi,
    I am using database 10g express edition.
    I am using sql developer to connect to database.
    I have 2 database connections,
    one is called TCF and has a user called oracle.
    two is called TCF_TEST and has a user called smith.
    oracle user has privileges to do anything.
    smith user has privileges to only connect, and something called resources.
    I logged in to the database using oracle and gave the following command:
    CREATE ROLE TCF_R;
    GRANT SELECT ON EMP_IOD TO TCF_R;
    GRANT TCF_R TO SMITH;Then I logged in as smith and was able to create a table.
    first of all, the user does not have any privileges to create a table.
    Second, when creating a table, smith can insert, update, delete records which also smith does not have any privileges to do.
    so basically this whole thing is not working the way I want.
    what am I doing wrong and what do I do to fix it ??
    Thanks,
    if you need more info, please let me know so I can provide it.

    hey 009,
    thanks for your help,
    ok this is what I did step by step:
    first , I created a user and granted create session to that user as below
    CREATE USER SMITH IDENTIFIED BY SMITH;
    GRANT CREATE SESSION TO SMITH;Then I logged in and gave SMITH privilege to create tables. (the reason for this is only for testing, I create a table and then I want to check if SMITH can drop it later on).
    Then I created one table.
    then Revoked the create table privilege from SMITH, log out, log back in and tested to make sure SMITH cannot create tables.
    up to here everything is successfull.
    Now since SMITH only has the following privileges which is only create session:
    Privilege     Admin Option     From Role
    CREATE SESSION          -
              1 - 1      
    it should not drop, insert , or update any table, or even select because I did not give it any grants.
    but its doing all of the above.

  • Linking between pages is not working for me on mobile devices. Can someone help?

    I can get the page linking to work on my desktop machine, but when I preview on mobile devices through Edge Inspect the page does not work. It tells me the page can't be found. Can someone help? - Thanks Robin

    Try downloading Reflow Preview 8 that was released yesterday and see if that fixes it. If not can you post the name of the page you are trying to link too and I'll see if I can reproduce it.
    Thanks for you help and thanks for using Reflow,
    Chris

  • Copying links from published forms - not working for all!

    I currently have two web based forms open.  I am trying to allow others to view the results and feedback and have therefore published both forms.  I have then copied the links from each forms and created links to them via a Sharepoint site.  One of these links works fine whilst the other states 'That URL is not in the correct format for an Acrobat.com document link.'.
    Any advice on how to fix this?

    Hi;
    When you paste the URL directly into a web browser does it display the results correctly?  If it does then it seems it would be related to how the link is embedded in the sharepoint site.  Double check that you've copied and pasted the URL correctly.  Is the Sharepoint site a public site you could share the URL with me to take a look at it?  If so you can email me at [email protected]
    Thanks,
    Josh

  • How to call logical database

    hi friends,
        plz explain me how to call logical database in a report program?

    hi,
    Logical databases are special ABAP programs that retrieve data and make it available to application programs. The most common use of logical databases is still to read data from database tables by linking them to executable ABAP programs.
    However, from Release 4.5A, it has also been possible to call logical databases using the function module LDB_PROCESS. This allows you to call several logical databases from any ABAP program, nested in any way. It is also possible to call a logical database more than once in a program, if it has been programmed to allow this. This is particularly useful for programs with type 1.
    Logical databases contain Open SQL statements that read data from the database. You do not therefore need to use SQL in your own programs. The logical database reads the program, stores them in the program if necessary, and then passes them line by line to the application program or the function module LDB_PROCESS using an interface work area.
    Logical Databases - Views of Data
    A logical database provides a particular view of database tables in the R/3 System. It is always worth using logical databases if the structure of the data that you want to read corresponds to a view available through a logical database.
    The data structure in a logical database is hierarchical. Many tables in the R/3 System are linked to each other using foreign key relationships. Some of these dependencies form tree-like hierarchical structures. Logical databases read data from database tables that are part of these structures.
    Advantages of Logical database -
    1) No need of programming for retrieval , meaning for data selection
    2) Easy to use standard user interface, have check completeness of user input.
    Disadvantages
    1) Fast in case of lesser no. of tables But if the table is in the lowest level of hierarchy, all upper level tables should be read so performance is slower.
    GO THROUGH THE LINKS
    http://www.sap-basis-abap.com/saptab.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Re: **LDB**
    www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
    www.sap-img.com/abap/abap-interview-question.htm
    www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
    Use Tcode SE36 For creating Logical Database.
    Here is a simple Program on Logical database.
    NODES: spfli,sflight.
    START-OF-SELECTION.
    WRITE 'Test Program for GET'.
    *Fetching SPFLI table
    GET spfli.
    WRITE: / 'Carrid:', spfli-carrid,
    'Connid:', spfli-connid.
    *Fetching SFLIGHT table
    GET sflight.
    SKIP 5.
    WRITE: / 'Carrid:', sflight-carrid,
    'Connid:', sflight-connid.
    logical database
    logical database
    http://help.sap.com/saphelp_nw04/helpdata/en/60/183d78163011d2953c0000e8353423/frameset.htm
    general
    example program
    http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9be035c111d1829f0000e829fbfe/frameset.htm
    regards,
    pavan
    REWARD POINTS IF USEFUL

  • How can i Create Database Link

    Dear Expert,
    I have two servers on that there are two databases then
    how can i create database link.

    CREATE [SHARED][PUBLIC] DATABASE LINK link_name
    [CONNECT TO user IDENTIFIED BY password]
    [AUTHENTICATED BY user IDENTIFIED BY password]
    [USING 'connect_string']

  • How do you close a database link in Apex?

    How do you close a database link in Apex that is referenced in an interactive report on Page 1? I want to make sure the database link is closed before a user navigates to another page in the Apex application.
    Lets assume the database link is referenced in the region source for Page 1 as follows:
    Page 1 - Employee Listing
    Region Source:
    select ename, job, hiredate
    from scott.emp@link1
    Any suggestions are appreciated.
    Ms. H

    John,
    I figured out how to eliminate the ORA-02020 and ORA-02081 errors. The solution is reference below:
    1. Create an interactive report in a page.
    2. Add the SQL statement in the region source as listed below:
    SELECT ENAME, JOB, HIREDATE
    FROM SCOTT.EMP@DBLINK
    WHERE (UPPER(ENAME) LIKE '%' || UPPER(:P1_TEXT_SEARCH)||'%')
    Conditional Display
         Condition Type:
    PL/SQL Expression
         Expression 1
         :P1_TEXT_SEARCH IS NOT NULL
    3. Add a search button and text search field as items on the page.
    4. Create a process in the page to check the cursor and catch an exception as listed below:
         Name: CHECK_CURSOR
         Sequence: 30
         Point: On Submit - After Computations and Validations
         Type: PL/SQL Anonymous Block
         PL/SQL Process:
         FOR C1 IN (SELECT ENAME, JOB, HIREDATE
         FROM SCOTT.EMP@DBLINK
    WHERE (UPPER(ENAME) LIKE '%' || UPPER(:P1_TEXT_SEARCH)||'%'))
         LOOP
         IF C1.ENAME IS NOT NULL
              THEN
              HTP.P('Employee Name: '||C1.ENAME||' ');
              END IF;
         END LOOP;
         EXCEPTION
              WHEN NO_DATA_FOUND
              THEN
              APEX_APPLICATION.G_PRINT_SUCCESS_MESSAGE := 'No Data Found Error';
              WHEN OTHERS THEN
              APEX_APPLICATION.G_PRINT_SUCCESS_MESSAGE := 'Unexpected Error';
    Conditional Processing
    When Button Pressed (Process After Submit When This Button is Pressed)
         P1_SEARCH_DATA
    5. Create a process in the page to close the database link as listed below:
         Name: CLOSE_DBLINK
         Sequence: 40
         Point: On Submit - After Computations and Validations
         Type: PL/SQL Anonymous Block
         PL/SQL Process:
         COMMIT;
         EXECUTE IMMEDIATE 'ALTER SESSION CLOSE DATABASE LINK DBLINK';
    Conditional Processing
    When Button Pressed (Process After Submit When This Button is Pressed)
         P1_SEARCH_DATA
    6. Apply changes, run the page, and conduct a test.
    I hope this solution is helpful to others.
    Ms. H

  • Owb92 demo: How to configure workflow database link?

    Hi,
    I follow the doc for owb92 demo, but got error while deploying the wh_proc_loc. The error is as follows. How do configure workflow database link on owb? Thanks.
    RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link ORCL.US.ORACLE.COM@WB_LK_LD_OLAP. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
    - ORA-06550: line 1, column 7:
    PLS-00201: identifier '[email protected]@WB_LK_LD_OLAP' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    Have you checked whether none of the specified errors applies?
    - The user needs the "EXECUTE ANY PROCEDURE" privilege
    - OWB Runtime available, this could mean several things:
    ......* runtime repository unavailable (as in not installed?... unlikely)
    ......* runtime platform service unavailable --> try running service_doctor.sql in directory <your OWB home>\owb\rtp\sql\
    Good luck, Patrick

  • How to disable "blue underlined links" (which I did not code) in FireFox?

    How to disabl "blue underlined links" (which I did not code) in FireFox? Here's an example website that has no underlined links coded in the simple html source: www.setv.org. After I updated FireFox to a more recent FireFox version, blue underlines appear in websites. I know that there is a way to disable that annoying 'feature'.
    Thanks in Advance
    tron nee
    Electro-Optical Tech*Artist
    Los Angeles Burning Man Artist Association
    burner et von tron

    Cor El,
    Thank you. Re; under-lined links...I thought I looked everywhere...but I missed it!
    Any chance there being a way to easily enable/disable animations? I'd sure like to selectively rid the screen of those noisy flashy-blinky advertisements.
    And how about storing java-script enable/disable flags with bookmarks? That way I would not be forced to click tools->options->content->enable-javascript each time I wanna turn it on or off? When I surf using database engines I disable j-script (phkem) and when I need to get something from nextegg I turn it on. What about being able to selectively disable/enable (also stored in bookmarks) embedded google-ads/beacons flags? I hate being tracked, now I'm getting ads on my cable TV set based on where I've been lurking on the InterNet. Big-phkn-brother's on us, and its the greedy phkn corporations who don't give sht about us except for what's in our wallets. InterNet used to be cool, now its the CIA, the FBI, KGB, policia, FartBuuk, Macro$haft, AT&T, Giggle (at least they give something of value back), and all the other facist big-brothers. Mozilla was born fighting that schema. There's so much more that FireFox could do to mitigate InterNet facism.
    Anyway, thanks again for your time and I appologize for the ranting.
    burner von tron

  • Database link from XE to 8i - Ok for XE, but error ORA-12705 for ApEx

    I have oracle 8.1.7.4 (8i) with these settings:
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    {color:#ff0000}NLS_CHARACTERSET CL8MSWIN1251{color}
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT dd-mon-rr
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    {color:#ff0000}NLS_NCHAR_CHARACTERSET CL8MSWIN1251{color}
    NLS_RDBMS_VERSION 8.1.7.4.0
    And oracle XE:
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    {color:#ff0000}NLS_CHARACTERSET AL32UTF8{color}
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    {color:#ff0000}NLS_NCHAR_CHARACTERSET AL16UTF16{color}
    NLS_RDBMS_VERSION 10.2.0.1.0
    I create database link from XE to 8i - it works fine:
    I create view in XE based on table from 8i
    and using SQL Developer {color:#0000ff}I can Select/Insert{color} into this view {color:#0000ff}from XE{color}.
    BUT when I login {color:#0000ff}to Application Express{color} and try the same SELECT from the view - {color:#0000ff}I get error:{color}
    ORA-12705: ORA-12705: invalid or unknown NLS parameter value specified
    ORA-02063: preceding line from LINKED8i
    What should I do to make Application Express work with the view based on table in remote database correctly - i.e. allow me to Select/Insert/... ?

    Hi,
    i don't have a solution for your problem but i want to share with you my research in using Database Links with XE/Apex.
    I have done it a in a lot of projects and in most of all cases it shows a strange behavior when using Database Links via Apex. As far as i know SQL-Request in Apex are executed via the DBMS_SQL-Package. And that seems to be source for all errors and strange behaviors you get.
    If you post a SQL-Request directly from your XE, everything's fine. If you do the same from APEX, sometimes it is very slow and sometimes it fails.
    So, my approach to this issue is to work with Materialized Views. Your can create MV's on your XE to reference your remote tables and even schedule refreshes. In Apex, you only work with these MV's instead of the remote tables. And everything's going to be fine!
    Hope this helps!
    Regards, Jens

  • Database link in Apex

    Hi,
    I have a problem with Database link in my application.
    Is their any way to Drop the Database link in APEX.
    Thank You,
    Edited by: Jahnavi on Nov 2, 2009 1:09 PM

    Jahnavi:Does this query creates a new connection every time I press the button? It depends on whether the local connection that handles your page request already has a connection open to the remote database. If a remote connection is open then the connection is re-used.
    Why would you want to terminate the database link ?
    Varad

  • Phone is frozen in  a middle of a call and my top restart button do not work, how can i fix this

    phone is frozen in  a middle of a call and my top restart button do not work, how can i fix it

    Bummer.
    Without having the top button, you couldn't do a hard reset.
    I'd say you might be looking at backing up and restoring through iTunes unfortunatley.

  • CALLER ID not working for International incoming calls

    Hi,
    I've a strange issue where CALLER ID not working for International incoming calls, it shows INTERNATIONAL UNKNOWN NUMBER in the phone display, but the number shows correclty in Verizon Call assistant !!!
    Any clue?

    yashshankar wrote:
    Hi
    I recently  purschased an Online number but the caller id does not work for incoming calls.How do we resolve this problem?.
    Regards
    Yash
    You didn't mention what country your Online Number is in.  Not all of Skype's Online Numbers are eligible for use as Caller ID when calling telephones or sending SMS messages.  If your number is from one of these countries (Chile, Denmark, Estonia, Hong Kong, Poland, Sweden, the UK and the US), then it can be used this way.  Otherwise, you can use a mobile number from countries other than Japan or Mexico as Caller ID with Skype, after the number goes through a verification process where Skype sends SMS messages with codes to that number.
    To get to these settings, log into your Skype account here on the Skype web site using the "Account" link at the top of this page.  You'll see a screen that would include your current Caller ID settings, and a link to change that.  If your Online Number is from one of those countries I referenced above, just select it and you're done. 
    Hope that helps!
    Patrick
    Location/Ubicacion: Arizona USA
    Time Zone/Hora Local: UTC/GMT -7
    If this message has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.
    Si esto mensaje le ha ayudado, por favor haga clic en "Aceptar como solución". Si encuentra un mensaje útil, por favor "Da Kudos" al final del mensaje, por lo que esta información puede beneficiar a otros.
    I am not a Skype employee. No soy un empleado de Skype.

Maybe you are looking for