Viewing 9 posts - 1 through 9 (of 9 total)
I want to select the empid listed more than once and then mark DOB as an ERROR if the dates are not equal.
March 17, 2014 at 2:04 pm
This seemed to work Lowell. Thanks a bunch.
January 13, 2014 at 2:26 pm
I get incorrect syntax near keyword CONVERT and Must declare the scalar variable @startdate
January 13, 2014 at 1:35 pm
Sorry Luis....I edited the post. Is there a more efficient way/Faster option to produce results than what I have listed now?
December 16, 2013 at 11:44 am
Correct the first query did not produce duplicates. The second does.
April 23, 2013 at 12:36 pm
That worked.....I ended up doing this:
Declare @Denominator int, @NumeratorT int, @NumeratorT1 int
SET @Denominator = (SELECT COUNT(*) FROM TestScores.dbo.Analysis)
SET @Numerator = (SELECT SUM(t_complete) TestScores.dbo.Analysis)
SET @Numerator = (SELECT SUM(t1_complete) TestScores.dbo.Analysis)
SELECT Distinct...
April 1, 2013 at 3:19 pm
Still provides 0's. The numbers that I am trying to divide are:
t_complete = 176420
Count = 5265365
Format is tinyint.
Thoughts?
April 1, 2013 at 11:48 am
The query successfully completed with your suggestion. Howerver, it returned a zero.
April 1, 2013 at 11:05 am
Viewing 9 posts - 1 through 9 (of 9 total)