Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Wait.sql Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • send email from unix mailx with attachment. Linux/Unix
  • nfs mount command Linux/Unix
  • Changing Instance Name ( No DB_NAME) Oracle
  • Sample WW22 listener.ora Oracle
  • Drop tempfiles from database Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Insert cause enqueue locks Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • Exadata Basics Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • refre.sql Oracle
  • Checking SQL Server Version SQL Server
  • Pending Distributed Transations 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

  • FRA Information. Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • exp syntax in oracle 10g Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • eplan9i.sql 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Handling LOB data in Oracle Oracle
  • ORACLE_SID in sqlplus Oracle
  • login.sql Oracle
  • DBMS_SQL for alter session. Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Identical Dblink Issue… Oracle
  • Jai Shree Ram Oracle
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme