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 the link to the appropriate docs.




--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to