Unique UUID value - PostgreSQL 9.2 - Mailing list pgsql-general

From drum.lucas@gmail.com
Subject Unique UUID value - PostgreSQL 9.2
Date
Msg-id CAE_gQfXMJWTMpQCSwzifDGDc22_NAuG9WF2bBNvmjrvEEAkVqg@mail.gmail.com
Whole thread Raw
Responses Re: Unique UUID value - PostgreSQL 9.2  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
Hi all,

I've got 2 tables:

Temp-Table
Table-A

Need to copy all the data from Temp-Table to Table-A. But there is a Constraint that does not allow me to have duplicated items.

So I need to create a Unique value.

Example:

Column Code        |   Column Info   | 
code_67493675936        info_2016

Question:

How can I do that using PostgreSQL 9.2?

pgsql-general by date:

Previous
From: Chris Mair
Date:
Subject: Re: Unexpected result using floor() function
Next
From: Dustin Kempter
Date:
Subject: BDR