pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gabriel Hermes Colina Zambra <hermeszambra@yahoo.com>
To: Alvaro Herrera <alvherre@commandprompt.com>
To: Jaime Casanova <systemguards@gmail.com>
Cc: Chapilliquen Gutierrez Eduardo <ECHAPILLIQUEN@minem.gob.pe>
Cc: pgsql-es-ayuda@postgresql.org
Subject: Re: Ejecutar \copy desde VB
Date: Wed, 20 Jun 2007 02:41:37 -0500 (CDT)
Message-ID: <591795.59166.qm@web63707.mail.re1.yahoo.com> (raw)
In-Reply-To: <20070620023536.GA7972@alvh.no-ip.org>


Y esta solucion que contra tiene


Private Sub Command1_Click()
Datapsql.Conpsql.Open
Datapsql.Conpsql.Execute "copy central.articulos to
'/pc_respaldo/pruebita.sql'"
End Sub

Datapsql es un dataenviroment, estoy con VB6, el
dataenviroment apunta al odbc definido previamente que
se conecta a la bd.

Bueno con la conexcion conpsql del datapsql y el
execute lo resuelvo.

Ahora el camino si es hacia una carpeta del equipo 
cliente seria
//nombrepc/carpetacompartidaencliente/pruebita.sql"
pero no seria un to si no un from.

Para mi el problema si mal no entendi estaria resuelto
de esta manera sin tantas complicaciones, puesto que
mi solucion anterior del bat era fea.

Atte.
Gabriel Hermes Colina Zambra

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 



view thread (25+ messages)  latest in thread

Message-ID: <591795.59166.qm@web63707.mail.re1.yahoo.com>
Permalink:  ../591795.59166.qm@web63707.mail.re1.yahoo.com/
Also on:    postgresql.org/message-id/591795.59166.qm@web63707.mail.re1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: hermeszambra@yahoo.com, alvherre@commandprompt.com, systemguards@gmail.com, ECHAPILLIQUEN@minem.gob.pe, pgsql-es-ayuda@postgresql.org
  Subject: Re: Ejecutar \copy desde VB
  In-Reply-To: <591795.59166.qm@web63707.mail.re1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox