Skip to content
Saturday, March 7, 2026

Bruno REIS' BLOG

Everything about data

  • Home
  • Presentations
  • Data Processing
    • Data Analytics
  • Databases
    • Hybrid
      • TiDB
    • RDBMS
      • PostgreSQL
      • Oracle Database General
        • Oracle Database Errors
        • Oracle RAC, +ASM and Clusterware
        • Oracle Dataguard
        • Oracle Enterprise Management (OEM or EM)
        • Oracle Recovery Manager (RMAN)
        • Oracle Database Security
        • Oracle Tuning
      • Oracle MySQL RDBMS
    • NoSQL
  • Cloud
    • Amazon
    • Google
    • Microsoft Azure
    • Oracle Cloud
  • Book Reviews
  • .Find ME
  • About
You are here
  • Home
  • username) FROM dba_users;

Tag: username) FROM dba_users;

How to extract DDL for all users on Oracle Database

January 13, 2015December 2, 2019 brunors

I was needing to extract DDL for all users on Oracle Database . Then, I took the information about it using a DBMS_METADATA. Thus, follow how to take this information: SQL> set heading off; SQL> set echo off; SQL> set pages 2000 SQL> set long 99999 SQL> set lines 2000 SQL> spool ddl_users.sql SQL> select dbms_metadata.get_ddl(‘USER’,username) FROM dba_users; ##HERE WILL BE SHOWN ALL DLL USERS OF YOUR DATABASE## SQL> spool off I hope this post can help you! brunors

Oracle Database GeneralDDL USERS oracle, select dbms_metadata.get_ddl('USER', username) FROM dba_users;, users dll oracle databaseLeave a comment
brunors

*The views expressed here are my own and do not represent those of my employer.*

Hello, I’m Bruno — a dual citizen of Brazil and Sweden. I bring a global perspective shaped by experiences in both South America and Europe, with a strong focus on collaboration and innovation across cultures. I am a Computer Scientist, PhD Candidate in Information and Communication Technologies, focusing on Data Science and Artificial Intelligence, and hold dual Master’s degrees in Data Science and Cybersecurity. With over fifteen years of international experience spanning Brazil, Hungary, and Sweden, I have collaborated with global organizations such as IBM, Playtech, and Oracle, as well as contributed remotely to projects across multiple regions. My professional interests include Databases, Cybersecurity, Cloud Computing, Data Science, Data Engineering, Big Data, Artificial Intelligence, Programming, and Software Engineering,  all driven by a deep passion for transforming data into strategic business value.

  • LinkedIn
  • GitHub
  • YouTube

Every time we get to the finish line they move it. Every time.
Mary Jackson

TechDataBasket © 2012-2024

Proudly powered by WordPress | Theme: AcmeBlog by Acme Themes