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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Writing oracle/postgress generic SQL


  • From: David Fetter <david(at)fetter(dot)org>
  • To: Ben Edwards <funkytwig(at)gmail(dot)com>
  • Cc: pgsql-general(at)postgresql(dot)org
  • Subject: Re: Writing oracle/postgress generic SQL
  • Date: Fri, 23 Feb 2007 02:14:57 -0800
  • Message-id: <20070223101457(dot)GB25097(at)fetter(dot)org>

On Fri, Feb 23, 2007 at 10:23:56AM +0100, Ben Edwards wrote:
> Anyone know of any guidelines for writing SQL which works under
> Oracle witch will also work under postgress.  This is to ensure that
> SQL written for an Oracle database can be migrated to postgress
> later.

You've just bumped into the problem that while standard SQL exists,
only Mimer and possibly DB2 implement it.  The presentation below
outlines your main choices for supporting more than one DB back-end,
and they're all expensive and troublesome to maintain.

http://www.powerpostgresql.com/Downloads/database_depends_public.swf

The cheapest, highest-quality thing to do is to choose one DB back-end
and then use everything it has to offer.

Cheers,
D
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group