Skip site navigation (1) Skip section navigation (2)

Re: Sql Anywhere to PostgreSQL?

From: ljb <lbayuk(at)pobox(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Sql Anywhere to PostgreSQL?
Date: 2006-10-26 01:17:38
Message-ID: ehp2bh$1nkt$ (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
> 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.

In response to

pgsql-admin by date

Next:From: Duncan McDonaldDate: 2006-10-26 03:08:42
Subject: Backing Up Partial Databases
Previous:From: Joshua MarshDate: 2006-10-25 23:23:39
Subject: Re: CLUSTER using more memory than expected

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group