Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • V$transaction notes for finding XID composition. Oracle
  • Sample WW22 listener.ora Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • initUOCIOTTO.ora Oracle
  • All Hints for Oracle Databases Oracle
  • Convert multiple rows to single column Oracle
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • Error Handling in Proc Oracle
  • nfs mount command Linux/Unix
  • How to sort list of files on basis of their sizes. Linux/Unix
  • refre.sql Oracle
  • compile_inv.sql Oracle
  • Explain Plan Output 2 Oracle
  • To Find Orphan OS processes. 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

  • myfile Oracle
  • How to see which patches are applied. Oracle
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • Rename Tablespace Oracle
  • Export With Query Another Example. Oracle
  • Flowers Resize datafiles Oracle

Leave a Reply Cancel reply

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

Categories

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

Recent Posts

  • 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
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • move_arch_files.ksh Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • set_env_dba Linux/Unix
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • Check Oracle installed products using one command Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • plan10g.sql good Oracle
  • Generating XML from SQLPLUS Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme