Re: Moving from Transact SQL to PL/pgSQL - Mailing list pgsql-sql

From Clint Stotesbery
Subject Re: Moving from Transact SQL to PL/pgSQL
Date
Msg-id BAY101-F3FEBF48053B35C6904FF9A6780@phx.gbl
Whole thread Raw
In response to Moving from Transact SQL to PL/pgSQL  ("Kevin Duffy" <kevin07@parkerglobal.com>)
List pgsql-sql
For Oracle info, check out one of my recent posts:
http://archives.postgresql.org/pgsql-sql/2005-01/msg00231.php

For TSQL, well, I was involved in project where we converted an Oracle db 
(with procs, functions, triggers, etc) to PostgreSQL and MS Sql Server. 
plpgsql and plsql are close enough where it isn't too hard to convert 
between the two. TSQL and plpgsql are quite different.
-Clint

----Original Message Follows----
From: "Kevin Duffy" <kevin07@parkerglobal.com>
To: <pgsql-sql@postgresql.org>
Subject: [SQL] Moving from Transact SQL to PL/pgSQL
Date: Mon, 24 Jan 2005 12:14:22 -0500


Hello:

I am starting a project using Postgres.  The requirements are very similar 
to work I have done in the past using M$-SQL.  Therefore, there are many 
Transact SQL stored procedures I need to port over to PL/pgSQL.

Where would I find documentation on PL/pgSQL, with examples?

How close to Oracle PL-SQL is Postgres?  Would a Oracle PL-SQL book cover 
the basics?

Remember be kind to the newbee.


Kevin Duffy




pgsql-sql by date:

Previous
From: Ralph Graulich
Date:
Subject: Rule problem with OLD / NEW record set
Next
From: Wilton
Date:
Subject: Complete instruction in a trigger