Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Getting started with notebook Python/PySpark
  • find checksum of a file. Linux/Unix
  • My Test Case On 21-OCT-2005 Oracle
  • S3 Basic info AWS
  • purge_trc.sh Linux/Unix
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • PLSQL Table Syntax 1 Oracle
  • Renaming the column name Oracle
  • Find Plan Hash value fphv.sql Oracle
  • Histogram information Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • This is from Temi Oracle
  • column level grant syntax Oracle
  • Find sort details from Db find_sort.sql 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

  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • All Hints for Oracle Databases Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • oracle 11g RAC on vmware Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary 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 (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • Renaming Oracle Instance Name Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • find checksum of a file. Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • compile_inv.sql Oracle
  • When error comes for temporary tablespace with version <= 9i Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme