Re: [GENERAL] loops

2009-06-02 Thread Merlin Moncure
On Tue, Jun 2, 2009 at 12:24 PM, John R Pierce wrote: > Esneiker wrote: >> >> Hello, can anybody tell me how to do loops in postgres? >> > > SQL, the query language, has no such control structures.  SQL is a > 'declarative' language rather than a procedural one. > > pl/pgsql stored procedures do,

Re: [GENERAL] loops

2009-06-02 Thread John R Pierce
Esneiker wrote: Hello, can anybody tell me how to do loops in postgres? SQL, the query language, has no such control structures. SQL is a 'declarative' language rather than a procedural one. pl/pgsql stored procedures do, however, as they embed SQL in a procedural context. depesz posted

Re: [GENERAL] loops

2009-06-02 Thread hubert depesz lubaczewski
On Tue, Jun 02, 2009 at 11:32:03AM -0400, Esneiker wrote: > Hello, can anybody tell me how to do loops in postgres? As usually, the fine manual: http://www.postgresql.org/docs/current/interactive/plpgsql-control-structures.html Best regards, depesz -- Linkedin: http://www.linkedin.com/in/depe

[GENERAL] loops

2009-06-02 Thread Esneiker
Hello, can anybody tell me how to do loops in postgres? Thanks. Ing. Esneiker Enriquez Cabrera. Excelencia en Software. Desoft S.A. en Ciego de Ávila. Joaquín de Agüero Esq. Calle 2. Ciego de Ávila. Cuba. email: eenriq...@cav.desoft.cu