Re: Moving from Transact SQL to PL/pgsql

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: Moving from Transact SQL to PL/pgsql
Дата
Msg-id FBA1DA04-6F14-11D9-BDFB-000A95B03262@pgedit.com
обсуждение исходный текст
Ответ на Moving from Transact SQL to PL/pgsql  (Duffy House <kevin07@optonline.net>)
Список pgsql-sql
On Jan 23, 2005, at 10:22 PM, Duffy House wrote:

> The first issue will be getting up to speed on PL/pgsql.  Where can I 
> find
> primer on PL/pgsql, with lots of examples? How silimar is PL/pgsql to 
> PL/SQL
> under Oracle?

The PostgreSQL documentation is the place to start:

http://www.postgresql.org/docs/8.0/interactive/plpgsql.html

The PostgreSQL distribution has a file with some examples in it:

src/test/regress/sql/plpgsql.sql

The pgEdit distribution (http://pgedit.com/download) has a fairly 
extensive plpgsql example for importing and analyzing web server logs.

I'm not familiar with Oracle, but there is a porting section in the 
documentation:

http://www.postgresql.org/docs/8.0/interactive/plpgsql-porting.html



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL



В списке pgsql-sql по дате отправления:

Предыдущее
От: Thomas F.O'Connell
Дата:
Сообщение: Re: How to update dependent tables AND design considerations
Следующее
От: Franco Bruno Borghesi
Дата:
Сообщение: Re: update from multiple rows