Viewing 8 posts - 1 through 8 (of 8 total)
A BookingTBAQueue table. Seems to be doing what i need it too.
December 16, 2011 at 9:14 am
That's a great idea. I sort of had that theory in my head, but couldn't for the life of me think how to do it for looking too hard at...
December 16, 2011 at 2:06 am
And regarding the availabilities ending at 23:59, that was just an example to show someone was available for the whole day. People can set availability that run over several days...
November 10, 2011 at 4:22 am
That's great, it seems to work a treat.
What i might do for people that are unavailable, is run a separate query to return all peopleId's that are not available and...
November 10, 2011 at 4:20 am
ok here you go
CREATE TABLE [dbo].[Appointments](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Start] [smalldatetime] NOT NULL,
[End] [smalldatetime] NOT NULL,
CONSTRAINT [PK_Appointments] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE =...
November 8, 2011 at 12:08 pm
ok thanks for the reply. I'll draft something up and post it asap.
November 8, 2011 at 9:55 am
i missed out 12:01 and that there's a PersonId in my peopleavailability/resources table
November 8, 2011 at 7:42 am
my appointments table contains smalldatetimes for start and end datetimes. one appointment per row
appointment
-------------
id
startdatetime
enddatetime
peopleavailability
----------------
id
startdatetime
enddatetime
availtype (Available,Sick,On holiday, etc)
I have a calendar table that contains dates and a times table that contains...
November 8, 2011 at 6:33 am
Viewing 8 posts - 1 through 8 (of 8 total)