Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • runon_allpdbs_show_conname.sh Oracle
  • dbms_job.submit example Oracle
  • standard Monitoring – 1 Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • OEM-Commnds Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • Oracle Internal Good Websites 1 Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • For Search and replace unix command. Linux/Unix
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix

How To Transfer Passwords Between Databases (ref note: 199582.1)

Posted on 22-May-2009 By Admin No Comments on How To Transfer Passwords Between Databases (ref note: 199582.1)

fix:

1) Log on as SYSDBA

2) Create database link between source and target database

3) Create procedure which selects usernames,passwords

from DBA_USERS in source database and inserts usernames,passwords

into target database

Sample SQL-statements

source database:

SQL> select password from dba_users where username=’SCOTT’;

USERNAME PASSWORD

—————————— ——————

SCOTT F894844C34402B67

target database:

Sqlplus> Create user SCOTT identified by values ‘F894844C34402B67’;

Oracle, SQL scripts

Post navigation

Previous Post: note id 373303.1
Next Post: All About oracle password and security from metalink

Related Posts

  • Another export with Query Oracle
  • Drop specific SQL plan baseline – spm Oracle
  • Wait.sql Oracle
  • import-export with multiple files Oracle
  • Alter procedure auditing Oracle
  • JSON/XML Types in Oracle Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AMC10 (0)
  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (6)
  • Videos (0)

Recent Posts

  • AMC1020-Sep-2026
  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • dbms_job.submit example Oracle
  • Absolute file number and relative file number Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • Exadata Basics Oracle
  • Oracle Metalink useful notes Oracle
  • scp with ssh2 Linux/Unix
  • Sort with ASCII order and Numeric Order Linux/Unix
  • Difference between SYNC and AFFIRM Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme