Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • grep multuple patterns Linux/Unix
  • Virtual Indexes in Oracle Oracle
  • ORACLE_SID in sqlplus Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • lck.sql Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • Ports used by Oracle Software Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • get_vmstat.ksh for Solaris 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

  • First Entry in RAC Oracle
  • Goog notes on X$ tables Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • online_ts_bkup.sql Oracle
  • USER_TABLES.Freelists 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 (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • 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
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Error Handling in Proc Oracle
  • compile_inv.sql Oracle
  • executing Function from SQLPLUS prompt Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • How to stop OCSSD Daemon Oracle
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • Find_planinfo.sql Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme