Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • New OFA for 11g Oracle
  • scp with ssh2 Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • find_idle_cpu.sql Oracle
  • Nice notes on wait events Oracle
  • get_vmstat_solaris Oracle
  • Jai Shree Ram Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • DBMS_SQL for alter session. Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • Giving Grant on v$DATABASE Oracle
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • Wait.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

  • Error Handling in Proc Oracle
  • Temporary Tablespace Information and restriction. Oracle
  • eplan.sql Oracle
  • dbms_job.submit example Oracle
  • Sequence Resetting Oracle
  • block_ident.sql Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • scripts to take listener.log backup Linux/Unix
  • alter database backup controlfile to trace Oracle
  • Parallel DML Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • cif crons Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • DB Console Mainenance. Oracle
  • Zip and unzip with tar Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme