Re: Porting SQL Server 2000 database to PostgreSQL - Mailing list pgsql-general

From Robert Treat
Subject Re: Porting SQL Server 2000 database to PostgreSQL
Date
Msg-id 1085172920.9368.1562.camel@camel
Whole thread Raw
In response to Re: Porting SQL Server 2000 database to PostgreSQL  (anony@dslextreme.com (anony))
List pgsql-general
On Fri, 2004-05-21 at 02:49, anony wrote:
> 3. inside the function single quotes must be escaped because your
> function is entered in as a string literal.
>

be aware that your editor might quote these for you (at least some of
the admin apps do, not sure about PgAdminIII though)

> 4. to return recordsets you must create a custom return TYPE and use a
> FOR loop with %ROWTYPE to interate thru the data.
>

this isn't always true... see
http://techdocs.postgresql.org/guides/SetReturningFunctions

And while you're there check out the section on the main page about
converting from other databases, there are a couple on $ql server. Also
take notes on your conversion and submit your own article when your done
:-)


Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


pgsql-general by date:

Previous
From: jseymour@LinxNet.com (Jim Seymour)
Date:
Subject: Re: Does INSERT inserts always at the end ?
Next
From: "Carl E. McMillin"
Date:
Subject: Re: Am I locking more than I need to?