Viewing 15 posts - 1,321 through 1,335 (of 1,838 total)
sqlfriends (10/19/2016)
so I schedules a sql agent job that does below:
sqlcmd -S myserver...
October 19, 2016 at 12:21 pm
I'd have to see the original rows from your TEST table for this person. Is there a mismatch on the number of CLOCK_IN vs CLOCK_OUT entries for this person?
October 18, 2016 at 3:18 pm
That must be a custom function you have locally, it's not part of SQL Server 2014. I don't know enough about it to understand what problem you are having...
October 18, 2016 at 3:01 pm
OK, sorry for the delay in getting back to you, busy day at work today. If they can change shifts that would make it difficult to work with the...
October 18, 2016 at 11:45 am
I still do little things here or there in command line for automation purposes. I remember back in college though (early 90's), using Unix, I had one class that...
October 18, 2016 at 10:56 am
OK, I was unaware there were shifts that would cause the clock-in clock-out to potentially overlap the day boundary. Do you have a table that defines the shift start...
October 17, 2016 at 3:22 pm
I think the problem may be in the way you're trying to do the UPDATE. See EXAMPLE A in:
https://msdn.microsoft.com/en-us/library/ms188427.aspx
basically the OPENQUERY should have a SELECT in it not an...
October 17, 2016 at 1:02 pm
here's a quick example query based on the info you provided:
WITH Prep AS
(SELECT CAST(creation_date AS date) AS creation_date, CAST(creation_date AS time) AS creation_time, person_num, full_name, event_name,
ROW_NUMBER()...
October 17, 2016 at 12:44 pm
sounds like you could use what's called cross-tab queries, such as presented by Jeff Moden:
October 17, 2016 at 12:00 pm
Possible is all the nodes that are capable of running the SQL Server instance, preferred is the one node where you'd like it to be running under ideal conditions.
I think...
October 17, 2016 at 11:42 am
hegdesuchi (10/13/2016)
Thank you :-).I suggested same but they are asking to check individual column when there is no difference .
Thanks again 🙂
If they're trying to avoid UPDATEs where there is...
October 13, 2016 at 1:19 pm
I believe the SQL Agent performance alerts are based on the same set that performance counters are.
some explanation of performance counters:
https://msdn.microsoft.com/en-us/library/ms190382.aspx
setting up performance alert:
October 13, 2016 at 1:03 pm
I've seen this kind of behavior before when a SQL Agent job gets interrupted by something like a server reboot. You can usually find if that happened in the...
October 12, 2016 at 8:06 am
Paul Hernández (10/12/2016)
the line managers estimate how many units they expected to be produced and then there are several process, in which some...
October 12, 2016 at 7:31 am
I'm sorry, I forgot this was a custom stored proc. It's basically doing the sp_foreachdb loop outside of the remote procedure call:
CREATE PROCEDURE dbo.sp_all_db_filespace AS
BEGIN
...
October 12, 2016 at 6:51 am
Viewing 15 posts - 1,321 through 1,335 (of 1,838 total)