Viewing 15 posts - 1 through 15 (of 16 total)
Hi,
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 by each...
July 11, 2014 at 9:02 am
Hi,
Thank you for all your answers and proposed solutions
I applied that Lynn
With my method it takes 15 minutes and 12 minutes with the Lynn solution
I think I'll have to...
July 3, 2014 at 6:31 am
hi
"No problem" for night shifts over two days
-> we record the hours per day
-> if someone works beyond a day, we split into 2 ranges presences (or absences)
we...
June 26, 2014 at 6:47 am
hi,
every day, the statistics are calculated
- Tables of statistics are truncated
- We calculated for the entire base hours of attendance, hours of absences, financial allocations are made...
June 23, 2014 at 11:47 pm
Hi,
ARNAUD should be approved absent from 12:00 p.m. to 1:00 p.m. (lunch?)
but actually absent from 11:45 a.m. to 1:15 p.m.....
so therefore he was AWOL(!) 11:45am to 12:00 pm and also...
June 22, 2014 at 11:56 pm
hi,
the resource was not present for this '09/12/2013'
0 to 495
720 to 780
1005 to 1440
so, he has 1440- (495+60+435) = 450
He's absent during the time 510 to 555
so...
June 20, 2014 at 4:10 am
"the only problem with this test is that the three queries will return different results if you revise the source and target tables to cover the full range of scenarios....
March 25, 2014 at 8:51 am
I'm ok with Darren
To understand, I tried this 3 SQL in a lot and obtain this results
set statistics io on
----- SQL1 ------
SELECT .[ID],.[Item], .[Price], .[OrderDate], .[Units], .[ShipmentDate]
FROM [Source] ...
March 25, 2014 at 8:38 am
hello,
The join between #source and #Target in the SELECT .... EXCEPT is not essential
You can obtain the same result with a best cost
SELECT .[ID]
,...
March 25, 2014 at 3:50 am
CREATE TABLE TEST(
Code_test int IDENTITY(1,1) NOT NULL,
shortname varchar(14) NULL,
Name varchar(38) NOT NULL,
CONSTRAINT [PK_TEST] PRIMARY KEY (Code_test)
)
go
--Create a view without the identity column
create view vtest
as
select shortname,...
February 10, 2014 at 2:34 am
Hi,
I used the instruction containstable (myTable, MyColumn, 'C++' )
it's work fine with 'C++', 'C#' ...
You can see this
http://technet.microsoft.com/en-us/library/ms189760.aspx
Best regards
February 10, 2014 at 2:08 am
Viewing 15 posts - 1 through 15 (of 16 total)