Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Transfer SQL Profiles from One database to other database. Oracle
  • runsql_once.ksh Linux/Unix
  • FGA Part-I Oracle
  • switchlogfile.sh Linux/Unix
  • Formatter Explain plan Output 1 Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • Kernel Parameters for Solaris Linux/Unix
  • Flowers Resize datafiles Oracle
  • How to start CRS manually Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • To see only files and/or folders using LS command Linux/Unix
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • How To Transfer Passwords Between Databases (ref note: 199582.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

  • myfile Oracle
  • Jai Shree Ram Oracle
  • To find explain plan for a statement that occurred in past. Oracle
  • Mutating Table Error while using database trigger Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • Absolute file number and relative file number 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
  • get_aix_vmstat.ksh Oracle
  • Goldengate document from Porus Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Absolute file number and relative file number Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • TNSNAMES entries details Oracle
  • create trigger syntax Oracle
  • scripts to take listener.log backup Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme