Viewing 10 posts - 1 through 10 (of 10 total)
Thank you for the response.
I support both SQL 2005 (Express and Standard) and SQL 2000. So whatever I write has to work in both environments.
March 13, 2009 at 7:59 am
Thank you, that works.
Could you comment on the following query, which lists all the available slots?
select X.thisAppt, datediff(mi, X.thisAppt, X.nextAppt) gapTillNextAppt from
(select A1.endDateTime thisAppt, min(A2.apptDateTime) nextAppt from appts A1,...
January 30, 2009 at 10:13 am
eharper (and others): Thank you very much responding to me.
You are right about storing redundant data - in actuality I do not store the endDateTime, and both my table and...
January 29, 2009 at 8:25 pm
December 18, 2008 at 2:02 pm
Could you please help me understand the query you have written, I am tring to work on 'finding the next available time slot' in a scheduling application and can use...
December 18, 2008 at 1:29 pm
Yes, that makes sense. Thanks again for your help.
December 18, 2008 at 1:27 pm
Thank you very much for the response. I will try it out.
As to the reason for asking....a client has suggested that they suspect rows are mysteriously disappearing from a table.
Since...
December 17, 2008 at 8:32 pm
I am trying this on SQL Svr 2000, SQL Express 2005 and SQL Express enterprise.....I have clients who use all three.
As to table structure:
CREATE TABLE [dbo].[appointments] (
[apptSeq] [int] IDENTITY (1,...
December 17, 2008 at 7:24 pm
Thank you, that works, I would not have thought of it.
December 8, 2008 at 7:23 am
Thank you, this is brilliant, works perfectly.
December 1, 2008 at 5:31 am
Viewing 10 posts - 1 through 10 (of 10 total)