Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • When error comes for temporary tablespace with version <= 9i Oracle
  • Configure ssh authentications for RAC Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • Gathering statistics with DBMS_STATS Oracle
  • handling filenname with space Linux/Unix
  • To Find Orphan OS processes. Linux/Unix
  • TNSNAMES entries details Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • create user with unlimited quota Oracle
  • Find nth max and min. Oracle
  • CPU Core related projections AWS
  • Roles and Stored Procs II Oracle
  • Facts about SCN and Rollback Segment 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

  • eplan9i.sql Oracle
  • VIvek Encryption Package and Its Usage Oracle
  • exp syntax in oracle 10g Oracle
  • Important Script Method for tuning Oracle
  • Rename Tablespace Oracle
  • Mutating Table Error while using database trigger 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • OEM-Commnds Oracle
  • exp syntax in oracle 10g Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • Jai Shree Ram Oracle
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • Rman Notes -1 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme