Re: Constraining overlapping date ranges

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Constraining overlapping date ranges
Date: 2010-12-22 13:42:35
Message-ID: iesv7o$9cv$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Filip Rembiałkowski, 22.12.2010 14:28:
> INSERT INTO tbl SELECT 1, '2010-01-01', '2010-12-31';
> INSERT 0 1

I'm curious why you use this syntax as you have fixed values and could use the "standard" VALUES construct without problems:

INSERT INTO tbl VALUES (1, '2010-01-01', '2010-12-31');

Regards
Thomas

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Filip Rembiałkowski 2010-12-22 14:04:02 Re: Constraining overlapping date ranges
Previous Message RensGroen 2010-12-22 13:30:08 Unable to write inside TEMP environment variable path