searching time arrays - Mailing list pgsql-sql

From Nathan Gelbard
Subject searching time arrays
Date
Msg-id Pine.GSO.3.96.990819113459.5869A-100000@floyd
Whole thread Raw
Responses Re: [SQL] searching time arrays
List pgsql-sql
Greetings SQLians;

given the table below, how would i determine which name is
avail on a givin day at a givin time? the time arrays
contain an a list of hours a support person is available;
'{09:00:00,10:00:00,11:00:00,12:00:00}' etc.

any thoughts?

thanxnatez



CREATE TABLE support_sched
(    name varchar(30),    monday time[],    tuesday time[],    wednesday time[],    thursday time[],    friday time[],
 saturday time[],    sunday time[]
 

);



Nate Gelbard                         office: 503.284.0369
Straylight Research               fax   : 516.828.8533



pgsql-sql by date:

Previous
From: jon@it-konsulenterne.dk (Jon Windfeld Bundesen)
Date:
Subject: What JDBC datatype can be used for DATETIME ?
Next
From: Tom Lane
Date:
Subject: Re: [SQL] searching time arrays