Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • prepfiles.sh for step by step generating pending statistics files Oracle
  • move_arch_files.ksh Linux/Unix
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • Paste command syntax Linux/Unix
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • FGA Part-I Oracle
  • Important Script Method for tuning Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • restarting network in linux Linux/Unix
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • My Minimum Tuning Programs 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

  • plan10g.sql Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • findobj.sql Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • Creating never expiring DB user accounts in Oracle 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 (402)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Sample WW22 listener.ora Oracle
  • tracksqltime.sql Oracle
  • scripts to take listener.log backup Linux/Unix
  • Rename Oracle Instance Name Oracle
  • Default User Profile Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • myfile Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme