pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe <dev@freedomcircle.net>
To: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Open a Transaction
Date: Thu, 08 Feb 2007 11:56:07 -0500
Message-ID: <1170953767.697.44.camel@pampa> (raw)
In-Reply-To: <55c095e90702080850re95fc47j95afdea67579c933@mail.gmail.com>
References: <55c095e90702080850re95fc47j95afdea67579c933@mail.gmail.com>

Hi Ezequias,

On Thu, 2007-02-08 at 14:50 -0200, Ezequias Rodrigues da Rocha wrote:
> Hi list,
> 
> Could someone tell me what is wrong on this statement ?
> 
> Start Transaction

The above should read 

begin;

> delete from base.something
> where
> id in(
> 41503,
> 41504,
> 41505,
> 41506,
> 41507,
> 41508,
> 41509,
> 41510,
> 41511,
> 41512,
> 41513,
> 41514,
> 41515,
> 41516,
> 41517,
> 41518,
> 41519,
> 41520,
> 41521,
> 41522,
> 41523,
> 41524,
> 41525,
> 41526,
> 41527,
> 41528,

Remove the extra comma.

> )
> end;

Remove 'end'.

> Commit;

Joe




view thread (7+ messages)  latest in thread

Message-ID: <1170953767.697.44.camel@pampa>
Permalink:  ../1170953767.697.44.camel@pampa/
Also on:    postgresql.org/message-id/1170953767.697.44.camel@pampa

 · 

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: dev@freedomcircle.net, ezequias.rocha@gmail.com
  Subject: Re: Open a Transaction
  In-Reply-To: <1170953767.697.44.camel@pampa>

* 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