How to recover password from Database link in Oracle 10G

Hi guys,
How can I get a user password from DBLink in Oracle 10G?
From sys.link$ the column "PASSWORD" is empty and the crypted data comming from the new column "PASSWORDX" does not work by using "... identified by values..."
Any idea?
Thanks...

Why do you need to know the password? If you need to re-create the link in another database you can use dbms_metadata to generate the DDL for the database link and for a fixed database link the DDL will include an encrypted password that will match the remote database password.
select dbms_metadata.get_ddl('DB_LINK','Link_name','Owner') from sys.dual
On version 9.2 it extracts the actual visible plan text password. On 10g+ encrypted representation in values clause
HTH -- Mark D Powell --

Similar Messages

  • What is Database Links in Oracle 10g ?

    Same as subject.
    Thanks.

    Hi,
    Database Links
    A database link is a pointer that defines a one-way communication path from an Oracle Database server to another database server. The link pointer is actually defined as an entry in a data dictionary table. To access the link, you must be connected to the local database that contains the data dictionary entry.
    A database link connection is one-way in the sense that a client connected to local database A can use a link stored in database A to access information in remote database B, but users connected to database B cannot use the same link to access data in database A. If local users on database B want to access data on database A, then they must define a link that is stored in the data dictionary of database B.
    A database link connection allows local users to access data on a remote database. For this connection to occur, each database in the distributed system must have a unique global database name in the network domain. The global database name uniquely identifies a database server in a distributed system.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/ds_concepts.htm#i1007709
    Adith

  • Database links between Oracle 10G and 7.1/7.3 & 8.0 databases

    Hi All..
    Unfortunately one of our customers is still using very very old unsupported versions of the database - 7.1 and 7.3 and 8.0. They wish to start an upgrade process - moving up to 10G (via staged upgrades) but wish to know whether they can still access information from old databases via database links.
    I know that the Oracle 10G client cannot connect to database versions this old, and I am presuming that the database itself cannot via DB links but I thought it wise to check.
    Any help appreciated. Thank you.

    Oracle 10.1 is certified to connect to 8.1.7 and later. Database links to earlier versions are not certified and generally do not work.
    The general solution to this sort of thing tends to be putting an older version of the database (8.1.7 or 9.0.1, usually) between the ancient databases and the new database. 10.1 can create a database link to 9.0.1. 9.0.1 can create a database link to 7.3.4 and create views that reference remote 7.3.4 objects that the 10.1 system can query. Of course, you're taking data over the network twice, so performance isn't ideal, but it can work in a pinch.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to Create A new Database in the oracle 10g XE

    i have oracle 10g XE i tried to create a new database but its giveing me error when i execute the sql command that is create database testDatabase how to create a new database in oracle 10g XE

    Hi there 785434,
    (This is a generic SQL question relating to Database Triggers, please post future questions of this type into the relevant forum area.)
    Moderator, please move this if able
    I use Before Update and Before Delete Triggers to record a 'snapshot' of the row being changed in my applications.
    Example:
    CREATE TABLE TEST
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE
    LOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE TABLE TEST_HISTORY
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE,
    CHANGE_DESCRIPTION
    NOLOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE OR REPLACE TRIGGER TRG_BU_TEST
    BEFORE UPDATE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'UPDATE');
    END;
    CREATE OR REPLACE TRIGGER TRG_BD_TEST
    BEFORE DELETE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'DELETE');
    END;
    Using triggers like this will record who made an update or delete to the database and record the row before it was changed.
    Note that this method might not be suitable for very high transaction rates.
    You will need to 'clear' these history tables as part of routine maintenance.
    Hope that this Helps.
    Ronald.

  • How to select username from v$logmnr_contents in oracle 10g

    Hi,
    Can anyone to provide solution for the below mentioned problem.
    I use
    select sql_redo,cscn,USERNAME from v$logmnr_contents where sql_redo is not null and operation_code in(1,2,3,7) and seg_type in(0,2) and (seg_owner is null or seg_owner not in('SYS','SYSMAN'));
    to select sql_redo,cscn and username from v$logmnr_contents.
    I got the sql_redo and cscn properly but username is listed sometimes blank. I need to select the username from v$logmnr to understand which user executes the sql. Please give me a solution immediately because now i am stucked with this problem.
    Thanks in advance

    Hi,
    Please use session_info in your query
    Also set this field in where clause to not be as 'UNKNOWN'.
    Regards
    Mona
    Edited by: mona mirbakhsh on Feb 27, 2010 5:23 AM

  • Could not initialize the Password Store Database Link value in Preference Store

    I have 9iAS release 2, insfrastructure and midtier installed on the same Windows 2000 box...
    I am trying to install and configure portal on remote machine (solaris) on RDBMS 9.0.1.4...
    - Portal installation was no problem
    - creating a new DAD was no problem
    Now, I am trying to configure portal with MIDTIER mode...It falls over on STEP 1 for INSTALL_ACTION:assocPortalToExistingSSO() module with following error message:
    "SQL> Could not initialize the Password Store Database Link value in Preference Store
    ERROR: User-Defined Exception"
    Database link is been created on my remote database by ptlasst.bat command...
    How do I see whether that DB LINK is working properly ?
    Any comment would be helpful...
    Jagdish

    I found the problem to the iTunes Music Store connectivity. When iTunes version 6 is installed, it places a configuration / preferences file in the following location:
    "C:\Documents and Settings\<user>\Application Data\Apple Computer\iTunes\iTunes.pref"
    This file contains several very large keys:
    Preferences:129= (41,826 characters in length)
    Music Store= (1,722 Characters in length)
    Somewhere in these keys is stored are references to userid's, connections or other TCP/IP / internet connectivity objects that are being used when iTunes is installed. By deleting this file, these old setting appear to be cleared out.
    In my case, one or more of the keys in this file appear to have been storing a property from my old dial-up ISP connection that was no longer valid for my new, Comcast cable modem connection.
    Once I deleted this file, and re-started iTunes, it was as if I had never run the software before. I bypassed the option for searching for and importing .mp4's from My Music, and Itunes opened correctly, with full access to the music store. My library and playlists were intact and all is well.
    Apple should re-write the protion of iTunes codes that stores anything pertaning to an internet connection that may change over time. Alternatively, iTunes should either A) Prompt for this information B) Enable user access to this parameter in a settings dialog C) Access this information dynamically at runtime.
    Paul

  • 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

  • Loading the username and password from database when login to xMII

    Hi
      can you explain briefly about how to configure the netweaver for loading username and password from database when the user login to xMII via netweaver platform?
    In xMII 11.5 we are configuring xMII itself? but in xMII 12.0 configuring by netweaver platform. if anyone know please explain step by step

    I am sending you some java code, which you can use in JSP.
    import java.sql.*;
    public class connectOracle{
    public static void main(String[] args) {
    System.out.println("Getting Column Names Example!");
    Connection con = null;
    String url = "jdbc:oracle:thin:@172.16.0.21:1521:orcl";
    String driver = "oracle.jdbc.driver.OracleDriver";
    String user = "scott";
    String pass = "tiger";
    try{
    Class.forName(driver);
    con = DriverManager.getConnection(url, user, pass);
    catch (SQLException s){
    System.out.println("SQL statement is not executed!");
    catch (Exception e){
    e.printStackTrace();
    }

  • How to recover Passwords Plus data after installing Lion?

    How to recover Passwords Plus data after installing Lion?

    While waiting for DataViz to rewrite the app, get another hard drive and install 10.6 on that; re-start from there, you can then open Passwords Plus. Use whatever method you like to copy the data. A bit of a chore yes, but I can't think of another way.
    There is in the AppStore Ascendo DataVault which performs the same function. I am going to wait a week for DataViz, then jump ship.

  • How do I go from a link to a specific image in a slideshow?

    I have a two-part question.
    1. How do I go from a link to a specific image in a slideshow? If you take a look at the attached screenshot, here's what I'd like to accomplish. I wan to click on a link like B for examply at the top of the page. It scrolls down the page to ANCHOR "b" where I have a slide show. Once it scrolls down, I would like to have the slideshow to slide over to the image set that matches the link that was clicked. in this case, if i click on B at the top, the slideshow would slide to image set "B".
    2. Each piece of work I want to display has three images. One which is our main image seen inside the black outlined box below. There are however two additional images tied to each piece being shown. What is the best way to set this up? The default way of using the slideshow is limiting.

    Unfortunately I don't have an answer for you as I have the same problem!
    I want to link images on one page to certain slides on another.
    Have you had any luck solving this?
    I've spent hours looking for a solution... I'm very frustrated!!!
    Will post again if I get some answers.
    Best of luck
    David
    David, as of right now there is no way to click a link and have it go to a speficic image inside of a slideshow on another page. It will only show the first image in the slideshow on that other page.
    So, perhaps you could just have the image you want to jump to on the other page, be the first image in the slide show. Make sense?

  • How to recover photos from the recycle bin ?

    how to recover phontos from the recycle bin or how to find them on icloud ??

    If you are using Photo Stream on your computer (Mac - logged into iCloud & Phtot Stream on / PC - installed iCloud Control Panel logged in and have Photo Stream turned on) then the photos you deleted should be safe and sound on your computer. Otherwise you may be out of luck.

  • How to recover photos from a usb key to put on ipad

    how to recover photos from a usb key to put on ipad

    What do you mean 'how to recover' ? If you want to copy the photos from the USB drive to your iPad then you can try using the camera connection kit, but a lot of USB drives require more power than is supplied to the kit and the photos need to be in a particular format : you need to create a DCIM directory off the root of the drive with the photos underneath it, and the photo filenames need to be exactly 8 characters long (no spaces) plus the file extension i.e. in a similar format as if a camera had created/written them

  • How do you create a database link in Forms9i

    I am writting and application that is to connect to multiple databases and do given task, but the triggers I assign to items only work in the database that you connect to for forms to run.
    How do you create a database link in Forms9i?
    Thank you in advance for your reply.
    Travis

    It seems like you will have to have database links set up in all your databases to point to all other remote databases and have a common global naming scheme for all your objects so that no matter what database you log into you will have access to all objects in the universe.

  • How to recover answer from security questions?

    how to recover answer from security questions?

    Hi there Chaleska,
    If you can't remember the answers to your security questions, you can use the steps outlined in the article below to reset those questions.
    If you forgot the answers to your Apple ID security questions
    http://support.apple.com/kb/HT6170
    -Griff W.

  • How to get documents from RMS linked to particular case id using webdynpro

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

Maybe you are looking for

  • Using the Apple Universal Dock with an old amplifier?

    Hi, Yesterday, I bought the universal dock to hear the music I have on my iPhone on my home stereo, an old amplifier (NAD C320), connecting them with an 3.5mm <-> 2 RCA cable. I hear a little noise every 10 seconds, but there's no music. I did the sa

  • Problem with search forms in master-detail structure

    According to JHeadstart error message i cant generate 2 search forms in one page, BUT i generated master table in one page and master form + detail table in another so WHY i cant put search forms for both tables?? They are on the different pages! How

  • Audio problem-posted again

    I have a MacBook Pro running OS 10.5.6, dual core intel chip, 4 G ram. We are working with AVCHD footage from a Panasonic AG-HMC150. We Log and Capture with ProRes material shot in 1080i. It edits fine, but when I use the L key to search faster than

  • How to produce digital wave

    Just starting to build digital wave replace for counter signal in my DAQ. I can't get logical AND result as shown in attachment. In case of irregular pulses, How to build up or edit digital waveform more conveniently? Attachments: digital.jpg ‏68 KB

  • [SOLVED] Handbrake output formats

    I'm having a bit of an issue with handbrake atm. It only allows for two formats to rip to mkv and mp4, and under audio it only supports  AAC (faac) and AC3  (pass-thru). Am I missing something here or is there an additional package that needed to be