I have a table with two fields:
- id(UUID) that is primary Key and
- description (
var255)
I want to insert random data with SQL sentence. I would like that description would be something random.
PS: I am using PostgreSQL.
I have a table with two fields:
var255)I want to insert random data with SQL sentence. I would like that description would be something random.
PS: I am using PostgreSQL.
The following worked for me:
create table t_random as select s, md5(random()::text) from generate_Series(1,5) s;