Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • To find all disk io ( EMC as well as local) Linux/Unix
  • top 10 AI news today Uncategorized
  • When to rebuld B-tree index Oracle
  • SQL_PROFILE – I explaination Oracle
  • Monitor Long Running Job Oracle
  • Library cahe Latches and internal explaination Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • create database link syntax Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Pending Transaction Neighbors Script Oracle
  • block_ident.sql Oracle
  • Unix split command to split files Linux/Unix
  • DBMS_STATS Metalinks Notes 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

  • Finding Oracle Patches with opatch Oracle
  • export import with parameter file. Oracle
  • How to choose Driver table in SQL statement Oracle
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • Oracle Connections expire_time and firewall Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA 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 (402)
  • 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

  • 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
  • Creating a Container Database using dbaascli08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Good notes for shared pool Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • pvm_pre_change.sql Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • useful dg links Oracle
  • track_autoupgrade_copy_progress.sql Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Privilege to describe the table. Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme