pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jaime Casanova <systemguards@gmail.com>
To: Gabriel Hermes Colina Zambra <hermeszambra@yahoo.com>
Cc: Alvaro Herrera <alvherre@commandprompt.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 12:45:17 +0000
Message-ID: <c2d9e70e0706200545p637a59d4waeca839c11627115@mail.gmail.com> (raw)
In-Reply-To: <591795.59166.qm@web63707.mail.re1.yahoo.com>
References: <20070620023536.GA7972@alvh.no-ip.org>
	<591795.59166.qm@web63707.mail.re1.yahoo.com>

On 6/20/07, Gabriel Hermes Colina Zambra <hermeszambra@yahoo.com> wrote:
>
> 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
>
[...]
>
> 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.
>

mmm... y como determinas de que maquina se esta ejecutando esa
sentencia para armar la sentencia? Bueno supomgo que ese es el menor
problema...

el nombre del recurso compartido lo grabaras en alguna tabla? todos
los clientes deben tener el mismo nombre de recurso compartido?

ahh... y ahora el meollo del asunto... permisos... claro siempre
puedes definir una carpeta especial para eso... pero a muchos
administradores de red les molesta esas carpetas compartidas... si no
tienes uno de esos, claro esa solucion funciona (no que me guste, pero
funciona ;)

-- 
Atentamente,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
                                       Richard Cook



view thread (25+ messages)  latest in thread

Message-ID: <c2d9e70e0706200545p637a59d4waeca839c11627115@mail.gmail.com>
Permalink:  ../c2d9e70e0706200545p637a59d4waeca839c11627115@mail.gmail.com/
Also on:    postgresql.org/message-id/c2d9e70e0706200545p637a59d4waeca839c11627115@mail.gmail.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: systemguards@gmail.com, hermeszambra@yahoo.com, alvherre@commandprompt.com, ECHAPILLIQUEN@minem.gob.pe, pgsql-es-ayuda@postgresql.org
  Subject: Re: Ejecutar \copy desde VB
  In-Reply-To: <c2d9e70e0706200545p637a59d4waeca839c11627115@mail.gmail.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