Site icon Database Tutorials

How To Insert Random Data In PostgreSQL

In some cases, we may want to increase the size of the database by inserting random data into the database.

In the script below, we create a table named t_random.

 

We increase the size of the table by inserting some data after the table is created.

 

We can learn the size of the table with the help of the following command.

 

Exit mobile version