Viewing 15 posts - 1,276 through 1,290 (of 1,838 total)
I try to have an open mind when it comes to learning new things. After 20+ years in IT I've needed to, learning different technologies, different companies, even different...
November 7, 2016 at 9:23 am
this is averages over a few months:
average database size was 186 GB, on Compellent SAN
average backup time (using TSQL commands, with compression) to external Drobo disk array was 20 minutes
average...
November 4, 2016 at 8:55 am
sgmunson (11/3/2016)
Honestly, it does seem as though the query is close, but lacks the rigor that would be present if the poster really understood the nature of the existing data....
November 3, 2016 at 11:54 am
SQLDCH (11/3/2016)
...How's 3-1 feel to Cleveland now?
The way I look at it, the Indians stood toe-to-toe with the best team in baseball for 7 games, only really having two and...
November 3, 2016 at 8:50 am
I worked at a .com company before for 3 years, and the problem I had there was that they often ran into unknown unknowns. The people building the hardware...
November 3, 2016 at 8:20 am
drew.allen (11/2/2016)
November 3, 2016 at 6:24 am
philand3 (11/2/2016)
i am not looking t OT instead my issue is with dutyhours incorrect computation.
Checking again to see where went wrong with...
November 2, 2016 at 3:12 pm
sgmunson (11/2/2016)
While this appears to be "fixed"... I have to ask why an hour is being added to the creation date to get the event date?
This is from another...
November 2, 2016 at 1:45 pm
You could easily make the first record reflect the termination date by doing this:
SELECT p.person_id AS PersonID, j.old_job AS JobTitle, p.start_date AS StartDate, ISNULL(p.Termination_Date, DATEADD(day, -1, j.effective_date)) AS EndDate
...
November 2, 2016 at 7:41 am
if this query is only ever meant to return 1 row, then maybe instead of calculating a generic flag 'x' in the CASE statement, calculate a preference:
SELECT TOP 1 *,...
November 1, 2016 at 11:56 am
OK, wait... maybe this line is the problem:
else sum(( [minutes] /60.0) - [Dutyhours] )
should be:
else sum(( [minutes] /60.0)) - [Dutyhours]
November 1, 2016 at 9:57 am
We can't without seeing the data for person_num 00010272 which is the one you said is calculating OT wrong.
November 1, 2016 at 9:46 am
check if the user has permissions for the dbo schema, they probably need:
GRANT ALTER ON SCHEMA::dbo TO
November 1, 2016 at 9:34 am
philand3 (11/1/2016)
Hi,For Data Definition Language please refer my first page.
BR
I think people are asking for the create table statement of your erp.action and erp.action_history tables since that is what you...
November 1, 2016 at 9:10 am
I think the best way to handle this will be a self join, probably on a temp table that has just the relevant rows from the audit table, maybe something...
November 1, 2016 at 8:33 am
Viewing 15 posts - 1,276 through 1,290 (of 1,838 total)