From: ljb <lbayuk@pobox.com>
To: pgsql-admin@postgresql.org
Subject: Re: Sql Anywhere to PostgreSQL?
Date: Thu, 26 Oct 2006 01:17:38 +0000 (UTC)
Message-ID: <ehp2bh$1nkt$1@news.hub.org> (raw)
References: <1d219a6f0610241348o6ad7d685sca6c7b5244372db2@mail.gmail.com>
> Has anyone ever done a conversion from Sql Anywhere to PostgreSQL? I have a
> task to investigate what this would take.
Biggest problem areas I see would be stored procedures and the many SQL
differences. If you use stored procedures, they will need to be completely
rewritten. The SQL differences will get you too; someone who knows both
SQLA and PostgreSQL will have to review line-by-line. Stuff like SQLA's
"current timestamp" vs PostgreSQL "current_timestamp". Or, limiting returned
rows (SQLA: SELECT TOP 10 * FROM ... vs PostgreSQL: SELECT * FROM ... LIMIT
10). Just two examples. Where standards exist, PostgreSQL is much more
standard than Sybase.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: lbayuk@pobox.com
Subject: Re: Sql Anywhere to PostgreSQL?
In-Reply-To: <ehp2bh$1nkt$1@news.hub.org>
References: <1d219a6f0610241348o6ad7d685sca6c7b5244372db2@mail.gmail.com> <ehp2bh$1nkt$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox