| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Victor Lopez <v(dot)lopez(dot)s(at)ono(dot)com> |
| Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
| Subject: | Re: casi OT ... reemplazar con parametros? |
| Date: | 2006-10-25 19:54:03 |
| Message-ID: | 20061025195402.GD9340@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
Victor Lopez escribió:
> > postgres(at)casanova:/usr/local/pgsql$ ./pgsql/bin/psql --set mnemonic=prueba
> > Welcome to psql 8.2beta1, the PostgreSQL interactive terminal.
> >
> > Type: \copyright for distribution terms
> > \h for help with SQL commands
> > \? for help with psql commands
> > \g or terminate with semicolon to execute query
> > \q to quit
> >
> > postgres=# \c :mnemonic
> > You are now connected to database "prueba".
> > prueba=# drop table :mnemonic;
> > DROP TABLE
> Lo que no llego a entender es la linea que quita la tabla ¿ :mnemonic ?
> ¿:mnemonic no es solo una variable?
Claro, lo que hace es quitar la tabla "prueba".
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mario Gonzalez ( mario__ ) | 2006-10-25 20:37:24 | Re: RE: [pgsql-es-ayuda] manuales en español |
| Previous Message | Edwin Quijada | 2006-10-25 19:33:10 | RE: [pgsql-es-ayuda] manuales en español |