Viewing 15 posts - 406 through 420 (of 702 total)
mish (8/14/2009)
August 14, 2009 at 10:16 am
Mish,
Back to your original question (how to use TOP to get the second and third rows of a result set). Have you tried my suggestion of using TOP...
August 13, 2009 at 1:57 pm
Lynn Pettis (8/12/2009)
Steve Jones - Editor (8/12/2009)
Really? You have 15GB in 5 days. Can't you do the estimate for a year?15GB * (365/5) = xxGB
Or, an average of 3GB/day *...
August 13, 2009 at 9:51 am
I am not familiar with MySQL, but can tell you that the TOP n command in SQL Server simply limits the results to the first n rows selected. If,...
August 12, 2009 at 1:33 pm
GilaMonster (8/12/2009)
Lynn Pettis (8/12/2009)
Laugh I did at the image of Qui-gon and Yoda, both with light-sabres ready, asking Is this homework?😀
And laugh even harder again at the response to this...
August 12, 2009 at 12:16 pm
Mish,
Are you in fact using MySQL rather than MS SQL Server 2005? Responses in this forum will assume the latter, as did Gail's suggested query using the Row_Number() function. Does...
August 12, 2009 at 11:18 am
If I understand this correctly, your final selection of three board members for a candidate could be the first three rows of an intermediate resut (one of your CTE's perhaps)...
August 10, 2009 at 7:16 pm
Aaron N. Cutshall (8/10/2009)
Time spent tracking down the problem: 6.5 hoursTime spent actually fixing the problem: 5 seconds
This reminds me of the story about a field engineer being called in...
August 10, 2009 at 6:35 pm
One more synonym for USER_NAME() is USER. No parentheses needed for that version which doesn't have the optional parameter.
For converting names to mixed case, I'll guess you've already discovered...
August 7, 2009 at 1:40 pm
Besides looking at the syntax for "Update ... From", also note that the second error appears to have be a simple typo. There's an exclamation point in line...
August 7, 2009 at 12:55 pm
This was an interesting question that got me experimenting and digging a bit into BOL. First, I found that TIMESTAMP values are stored as either BINARY(8) or VarBINARY(8) depending on...
August 6, 2009 at 7:10 pm
gah (8/5/2009)
Bob Hovious (8/5/2009)
Hmmmm party encounters a Spamming Troll...Roll 3xd10 for saving throws against annoying misspellings....
Wizard casts Ancient Programming Languages...
Elf has shot the food!
xyzzy 😀
I guess...
August 5, 2009 at 5:51 pm
Bruce W Cassidy (8/5/2009)
Oh, never mind. I...
August 5, 2009 at 5:48 pm
Mike,
Welcome to SSC and thank you for sharing that function.
You should consider your head safe..... Your post made it clear that defining a function to do this...
August 3, 2009 at 3:50 pm
As well as what the data type is, how are you looking at it?
If it's type "datetime" and you run a SQL query like Select MyDate from MyTable
in...
July 31, 2009 at 7:55 pm
Viewing 15 posts - 406 through 420 (of 702 total)