Viewing 9 posts - 1 through 9 (of 9 total)
GSquared (12/11/2012)
December 11, 2012 at 11:10 am
I believe the following will do what you need...
SELECT TOP 1
o.name, MAX(o.entered_date) as date
FROM
...
December 11, 2012 at 11:05 am
This is a pretty crazy proc (new job and I was given a list of long-running queries and told to see if I could speed any up). I saw...
December 6, 2012 at 2:06 pm
That's a fair question.
I don't know that I can prove it 100%. What I can say, though, is that I can monitor disk space for the better part of...
September 26, 2012 at 9:54 pm
Well, I finally got everything to work. As I said before, I completely misunderstood the ROW_NUMBER function. Once I had that done, I was able to get the...
March 3, 2010 at 4:07 pm
Much, much closer. Still a couple things to work out, but now I understand how ROW_NUMBER works. I completely misunderstood it before.
March 3, 2010 at 2:05 pm
CREATE TABLE deed (deed_id INT IDENTITY(1,1), deed_name VARCHAR(25))
GO
INSERT INTO deed (deed_name) VALUES ('Deed F')
INSERT INTO deed (deed_name) VALUES ('Deed C')
INSERT INTO deed (deed_name) VALUES ('Deed I')
INSERT INTO deed (deed_name) VALUES...
March 3, 2010 at 1:10 pm
I did look into ROW_NUMBER as an option. I could use it to return the correct rows, but the application needs the actual value as well.
March 3, 2010 at 11:45 am
Excellent!
I knew I had to be missing something, but could not figure out what it was.
February 24, 2010 at 4:10 pm
Viewing 9 posts - 1 through 9 (of 9 total)