Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • EXTPROC Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • This is from Temi Oracle
  • Important Solaris Commands Linux/Unix
  • Committing distributed transaction using commit force Oracle
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • oracle 10g on linux Linux/Unix
  • Renaming the column name Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Good Doc 28-JUN-2006 Oracle
  • Finding Oracle Patches with opatch Oracle
  • ORA-3136 Oracle
  • Default User Profile Oracle

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

  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Privilege to describe the table. Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • FGA Part-I Oracle
  • Export With Query Another Example. Oracle
  • Index Range Scan 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 (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • 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.sql23-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
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • track_autoupgrade_copy_progress.sql Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • All About Trace Fils Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • SQL Server: How to see historical transactions SQL Server
  • sql_doing_fts.sql Oracle
  • tab.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme