Re: Regarding UUID

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: lekha Tripathi <lekha(dot)s(dot)tripathi(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Regarding UUID
Date: 2023-02-08 10:21:17
Message-ID: e372c3708e32f0e6a86c01a7eb39abe6cd53d086.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wed, 2023-02-08 at 15:25 +0530, lekha Tripathi wrote:
> I am having a table with a column type UUID and to insert this column value i
> am having value like "1344443456" in text datatype and i want to insert this value as UUID .
> While trying to insert this value getting error for UUID ,
> So is any way to convert my given value into customised UUID?
> Let me know if any way to do so.

That does not look like a valid UUID at all. I have no idea how that could be
converted to an UUID, same as I don't know how "hello" should be converted to
a timestamp. Perhaps you have some more information?

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Antoine Besnier 2023-02-08 10:37:19 Re: Regarding UUID
Previous Message lekha Tripathi 2023-02-08 09:55:42 Regarding UUID