2
I have a database in POSTGRESQL populated , I wanted to know if there is a command
SQL that returns an aqruivo that had the following command for all existing tables:
INSERT INTO aluno(id , nome, idade ) values(1,'Raul',23)
I wanted to do this to populate another database that has data similar to the old database , but has new tables!
Just to be clear, you need to generate a file with the SQL’s command to insert the data already registered in your old tables in order to add them to new tables but with the same structure?
– R.Santos
If so, please see if this link helps you http://www.guj.com.br/t/postgresql-gerar-script-de-um-banco-populado-resolvido/291383/3
– R.Santos
These new tables are created in which database? It’s Postgresql too
– R.Santos
It’s another bank in Postgressql too!
– Pena Pintada