Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Database link password in user_db_links Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Rownum with Order by Oracle
  • arch_configUOCIOTTO.ora Oracle
  • tracksqltime.sql Oracle
  • Find long Running Transaction Linux/Unix
  • Sample WW22 listener.ora Oracle
  • Jai Shree Ram Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • sql_doing_fts.sql Oracle
  • Histogram Overview Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • plan10g.sql Oracle
  • Wait time tuning research 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

  • How to find where datafile is created dbf_info.sql Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Oracle 10g Wait Model Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Import and export statements Oracle
  • Roles and Stored Object behaviour 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Good notes for shared pool Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • To find all disk io ( EMC as well as local) Linux/Unix
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • currwait.sql Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Monitor Long Running Job Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme