commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel H A Lima <email_danie...@yahoo.com.br>
Subject Re: running postgreSQL script
Date Tue, 02 Mar 2010 19:30:57 GMT
Take a look at:

http://download.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm
http://www.postgresql.org/files/documentation/books/aw_pgsql/node143.html

--- Em ter, 2/3/10, Daniel H A Lima <email_daniel_h@yahoo.com.br> escreveu:

De: Daniel H A Lima <email_daniel_h@yahoo.com.br>
Assunto: Re: running postgreSQL script
Para: "Commons Users List" <user@commons.apache.org>
Data: Terça-feira, 2 de Março de 2010, 16:29

@script_name is a SQL Plus sintax

If you are using psql (PostgreSQL command line), you can try \i script_name



--- Em ter, 2/3/10, siomara@portosdobrasil.gov.br <siomara@portosdobrasil.gov.br> escreveu:

De: siomara@portosdobrasil.gov.br <siomara@portosdobrasil.gov.br>
Assunto: running postgreSQL script
Para: user@commons.apache.org
Data: Terça-feira, 2 de Março de 2010, 16:13

Does anybody know how to cal a postgreSQL script from inside of another one?

With Oracle I used:

@script.sql

Does anyone know the equivalent with postgreSQL?

Thanks

Siomara



      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com


      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message