pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Harald Kirschner <hkirschn@Rational.Com>
To: pgsql-sql@postgresql.org
Cc: WeKIS <wekis@gmx.de>
Subject: wildcards with datetime columns
Date: Tue, 14 Dec 1999 16:40:42 +0100
Message-ID: <000501bf4649$94925c40$1669f3ce@mw-hkirschn.europe.rational.com> (raw)

Folks,

how do I use wildcards in 'where' clauses together with datetime columns?

example:
select * from table where datum > 'Fri Dec 14%';

I use '%' as wildcard, but it does not work. What is the correct character
for that?

I get an error messages 'wrong datetime format' something like that. Any
hints?

Regards,
   Harald

Rational Software GmbH		Telefon 089-62838237
Keltenring 15			Fax	089-62838537
D-82041 Oberhaching		Mobil   0170-4532237





Message-ID: <000501bf4649$94925c40$1669f3ce@mw-hkirschn.europe.rational.com>
Permalink:  ../000501bf4649$94925c40$1669f3ce@mw-hkirschn.europe.rational.com/
Also on:    postgresql.org/message-id/000501bf4649$94925c40$1669f3ce@mw-hkirschn.europe.rational.com

 · 

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: hkirschn@Rational.Com, wekis@gmx.de
  Subject: Re: wildcards with datetime columns
  In-Reply-To: <000501bf4649$94925c40$1669f3ce@mw-hkirschn.europe.rational.com>
  References: <000501bf4649$94925c40$1669f3ce@mw-hkirschn.europe.rational.com>

* 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