Forum Replies Created

Viewing 15 posts - 406 through 420 (of 702 total)

  • RE: help using the TOP command in sql

    mish (8/14/2009)


    Thanks John for the help. I have managed to get an answer to my original question and I now know that SQL does not have a command similar to...

  • RE: help using the TOP command in sql

    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...

  • RE: Estimate the transaction table size and partition

    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 *...

  • RE: help using the TOP command in sql

    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,...

  • RE: Are the posted questions getting worse?

    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...

  • RE: help using the TOP command in sql

    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...

  • RE: Issue with assigning candidates to a review list

    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)...

  • RE: Stored procedure parameters

    Aaron N. Cutshall (8/10/2009)


    Time spent tracking down the problem: 6.5 hours

    Time spent actually fixing the problem: 5 seconds

    This reminds me of the story about a field engineer being called in...

  • RE: user identification

    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...

  • RE: Working with Joins

    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...

  • RE: Convertsionsproblem between timestamp and bigint

    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...

  • RE: Are the posted questions getting worse?

    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...

  • RE: Are the posted questions getting worse?

    Bruce W Cassidy (8/5/2009)


    [font="Verdana"]The part of the joke that wasn't necessarily obvious to the young'ns is that RPG is a generator. It generates COBOL code.

    Oh, never mind. I...

  • RE: Date conversion

    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...

  • RE: Date conversion

    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 MyTablein...

Viewing 15 posts - 406 through 420 (of 702 total)