Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Reading config file from other folder inside class Python/PySpark
  • get_vmstat_solaris Oracle
  • proper cpu stats Linux/Unix
  • switchover for primary database Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Proc Compilation Oracle
  • cache buffer chain latch Oracle
  • ORACLE_SID in sqlplus Oracle
  • chk_space_SID.ksh Linux/Unix
  • PLSQL Table Syntax 1 Oracle

Global Unique Identifier Generation in Oracle 9.2 SYS_GUID()

Posted on 12-Sep-2005 By Admin No Comments on Global Unique Identifier Generation in Oracle 9.2 SYS_GUID()

SYS_GUID generates and returns a globally unique identifier (RAW value) made up of 16 bytes. On most platforms, the generated identifier consists of a host identifier and a process or thread identifier of the process or thread invoking the function, and a nonrepeating value (sequence of bytes) for that process or thread.

The following example adds a column to the sample table hr.locations, inserts unique identifiers into each row, and returns the 32-character hexadecimal representation of the 16-byte RAW value of the global unique identifier.

SQL-> select sys_guid() from dual;

SYS_GUID()

——————————–

0096CC63BC0070DAE0440003BA194E67

Oracle, SQL scripts

Post navigation

Previous Post: How to Modify the statistics collection by MMON for AWR repository
Next Post: online_bkup.sql

Related Posts

  • Rman Notes -1 Oracle
  • Rollback force for distributed transactions Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • find_string_in_database.sql Oracle
  • sesswait.sql Oracle
  • Difference between SYNC and AFFIRM Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • Create type and Grant on it. Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • move_arch_files.ksh Linux/Unix
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • Jai Shree Ram Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • find the files that are 1 day old. Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme