Viewing 15 posts - 6,331 through 6,345 (of 26,490 total)
Tammy-274861 (7/11/2014)
Everybody has weekends LOL.Anyhow, enjoy your weekend even if a bit 😎
Tammy
Nope. Civilian contractor currently deployed in Afghanistan. I work 7 days a week, 12+ hours a day....
July 11, 2014 at 5:49 pm
Tammy-274861 (7/11/2014)
Hi Lynn!I will test it on Monday with the real data and will let you know.
It works with the test data which is great 🙂
Have a nice weekend!
Tammy
I would...
July 11, 2014 at 4:49 pm
Tammy-274861 (7/11/2014)
Lynn is correct, and that is why I had clarified by saying that as long as the sum of the gaps for the measurement year...
July 11, 2014 at 4:12 pm
Looking back it looks like the OP may have been on the forums when I posted my solution. Will have to wait and see.
July 11, 2014 at 12:57 pm
I'm still lost. Based on everything you just posted, what is the expected results. What should you see from the processing of a query that does everything correctly...
July 11, 2014 at 12:54 pm
J Livingston SQL (7/11/2014)
Lynn Pettis (7/11/2014)
July 11, 2014 at 12:40 pm
I made an assumption you are using at least SQL Server 2000.
DECLARE @Temperature TABLE (CalendarDate datetime, Temperature decimal(10,2),UOM char(1))
INSERT INTO @Temperature
SELECT GETDATE(), 55, 'F'
UNION ALL
SELECT GETDATE(), 15, 'C'
UNION ALL
SELECT GETDATE()...
July 11, 2014 at 12:33 pm
Second question, since you posted this in a SQL Server 7/2000 forum, are you using SQL Server 2000 or SQL Server 7? It matters in helping you develop a...
July 11, 2014 at 12:26 pm
To see what is happening, run the following. If you look at the second query I have removed the MAX and GROUP BY. The result set you see...
July 11, 2014 at 12:24 pm
kabaari (7/11/2014)
Yes!!!! I ran this and returned 116207 rows in 00:00:17. Are you open to connect on LinkedIN? BTW, Thanks!
Glad to see it worked. Just for clarity, what was...
July 11, 2014 at 12:12 pm
Greg Edwards-268690 (7/11/2014)
Lynn Pettis (7/10/2014)
July 11, 2014 at 12:10 pm
First, to clarify. A person is considered continuously enrolled as long as the total of any gaps in enrollment are less than 45 days in the given calendar year.
Based...
July 11, 2014 at 11:58 am
Arno Ho (7/11/2014)
Your algorithm is faster than mine but it does not fully meet my expectations
We need to calculate the hours scheduled and that is really the hours worked...
July 11, 2014 at 9:50 am
Vague, can you elaborate as to what you are looking for here?
July 11, 2014 at 9:39 am
Viewing 15 posts - 6,331 through 6,345 (of 26,490 total)