<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – UUID functions</title>
    <link>/en/sql-reference/functions/data-type-specific-functions/uuid-functions/</link>
    <description>Recent content in UUID functions on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/sql-reference/functions/data-type-specific-functions/uuid-functions/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Sql-Reference: UUID_GENERATE</title>
      <link>/en/sql-reference/functions/data-type-specific-functions/uuid-functions/uuid-generate/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/data-type-specific-functions/uuid-functions/uuid-generate/</guid>
      <description>
        
        
        &lt;p&gt;Returns a new universally unique identifier (&lt;a href=&#34;../../../../../en/sql-reference/data-types/uuid-data-type/&#34;&gt;UUID&lt;/a&gt;) that is generated based on high-quality randomness from &lt;code&gt;/dev/urandom&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;behavior-type&#34;&gt;Behavior type&lt;/h2&gt;
&lt;a class=&#34;glosslink&#34; href=&#34;../../../../../en/glossary/volatile-functions/&#34; title=&#34;&#34;&gt;Volatile&lt;/a&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;UUID_GENERATE()
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE TABLE Customers(
     cust_id UUID DEFAULT UUID_GENERATE(),
   lname VARCHAR(36),
   fname VARCHAR(24));
CREATE TABLE
=&amp;gt; INSERT INTO Customers VALUES (DEFAULT, &amp;#39;Kearney&amp;#39;, &amp;#39;Thomas&amp;#39;);
 OUTPUT
--------
      1
(1 row)

=&amp;gt; COPY Customers (lname, fname) FROM STDIN;
Enter data to be copied followed by a newline.
End with a backslash and a period on a line by itself.
&amp;gt;&amp;gt; Pham|Duc
&amp;gt;&amp;gt; Garcia|Mary
&amp;gt;&amp;gt; \.
=&amp;gt; SELECT * FROM Customers;
               cust_id                |  lname  | fname
--------------------------------------+---------+--------
 03fe0794-ac5d-42d4-8246-54f7ec81ed0c | Pham    | Duc
 6950313d-c77e-4c11-a86e-0a54aa3ec114 | Kearney | Thomas
 9c9653ce-c2e4-4441-b0f7-0137b54cc28c | Garcia  | Mary
(3 rows)
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
  </channel>
</rss>
