Viewing 15 posts - 76 through 90 (of 130 total)
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
November 14, 2018 at 8:34 am
I will also check out the script you posted.
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
November 14, 2018 at 7:50 am
Love what you posted. Should I use the following to compare against specific referenced records?;SELECT DISTINCT WEA, SSI1, SSI2, SSI3 FROM RT_Group_Coverage
EXCEPT
SELECT DISTINCT WEA, SSI1,...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
November 14, 2018 at 7:50 am
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
May 25, 2018 at 11:15 am
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
May 25, 2018 at 9:37 am
I have refined it to this;SELECT
WEA,
Date_Time,
AVG(SSI1),
AVG(SSI2),
AVG(SSI3)
OVER
(ORDER BY Date_Time ASC)
FROM RT_Group_Coverage
WHERE Date_time > DATEADD(hour, -24, GETDATE()) AND SSI1...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
May 25, 2018 at 9:02 am
sestell1, based on the query you posted, I tried it this way, and do get results;
SELECT
WEA,
Date_Time,
AVG(SSI1),
AVG(SSI2),
AVG(SSI3)
OVER
(ORDER BY Date_Time...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
May 25, 2018 at 8:14 am
Thanks sestell1, Unfortunately it gives a syntax error on the usage of hour in the DateAdd portion. I have tried adding a single quote before and after the word hour....
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
May 25, 2018 at 6:42 am
Luis, that is true, it may end up being that simple. The three SSI columns need to be averaged over the 24 hour period, for each WEA. Some days may...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
May 24, 2018 at 10:01 am
Luis, thank you and I will update the question shortly.
sestell1, I am stuck on how to accomplish it. I have not done anything like this before.
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
May 24, 2018 at 9:39 am
Yes, but I am trying to avoid having to make the user change anything. This will eventually go to upper management, so taking all the extra steps out is a...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
November 11, 2017 at 6:33 am
I figured out part of the answer.
In the Export function, I added the line range[2, 7].EntireColumn.NumberFormat="#.##%;. This now displays the calculated value as Percentage on export. I still...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
October 18, 2017 at 8:34 am
Sounds like a good idea. Hitting the reference up now.
Thanks again.
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
September 3, 2013 at 12:07 pm
Thank you for the suggestion. Max is only three digits for it. If I start running into issues, I will add the value you suggest.
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
September 3, 2013 at 11:50 am
I very much appreciate the help. This is what my final query ended as;
USE [NMS_RT]
GO
/****** Object: StoredProcedure [dbo].[GrpStatus] Script Date: 09/03/2013 12:48:45 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
September 3, 2013 at 11:31 am
Viewing 15 posts - 76 through 90 (of 130 total)