pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Franz J Fortuny <ffortuny@ivsol.com>
To: sqllist <pgsql-sql@postgresql.org>
Subject: Standard syntax?
Date: Thu, 12 Oct 2000 12:44:40 -0500
Message-ID: <00fb01c03474$193888c0$3167a8c0@chapur> (raw)

I have been using (with success) this SQL statement in PostgreSQL:

select col1,
     case when col2 = true then
        col3
     else
        col4
     end as colw,
    colM
where .... etc.

The above syntax, however, does not work for Interbase (6.01). For those who
have had experience in other SQL servers, is this a "standard" or ANSI 9X
compatible syntax or should I refrain from such syntax if I want my
statements to be transportable from SQL Server to SQL Server?

Best regards,

Franz Fortuny





view thread (6+ messages)  latest in thread

Message-ID: <00fb01c03474$193888c0$3167a8c0@chapur>
Permalink:  ../00fb01c03474$193888c0$3167a8c0@chapur/
Also on:    postgresql.org/message-id/00fb01c03474$193888c0$3167a8c0@chapur

 · 

reply

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-sql@postgresql.org
  Cc: ffortuny@ivsol.com
  Subject: Re: Standard syntax?
  In-Reply-To: <00fb01c03474$193888c0$3167a8c0@chapur>
  References: <00fb01c03474$193888c0$3167a8c0@chapur>

* 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