Forum Replies Created

Viewing 15 posts - 49,306 through 49,320 (of 59,066 total)

  • RE: First and first character after space should be capital.

    Will you never have anything with more than one space or punctuation? For example, will you ever have something like "new york, ny"?

  • RE: Move multiple rows into multiple columns

    This looks like a classic "Cross Tab Report" and the method for creating one (it's pretty simple) is in Books Online...

    That not withstanding, how different questions and categories do...

  • RE: big mess

    isn't moving productions db's to vmware better?

    I wouldn't move Production to VMWare if I had a choice... Development? Sure... just not Prod.

  • RE: Date Function

    Nicely done, Gail... It shows that the Convert method takes about 4 times longer than the DateAdd/DateDiff method... While someone may not be working on a million rows, anytime...

  • RE: How to excute The storedProcedure in Where caluse?

    I just fixed the $*$#&! smiley faces that showed up in the above code... 😉

  • RE: How to excute The storedProcedure in Where caluse?

    You don't need the overhead of a "split" function for this... just a Tally table. Please see the section titled "One Final "Split" Trick with the Tally Table" in...

  • RE: Date Function

    Oh yeah... almost forgot... there is one faster method... convert to Float, distribute Floor, convert back to DateTime... but most people don't use that because it only brings a little...

  • RE: Date Function

    I prefer the method that Gail listed... it's all "math" and that makes if faster than character conversions. It also keeps it as a DateTime datatype so that other...

  • RE: splitting a row into multiple rows.

    sql_novice_2007 (7/9/2008)


    I have a table with two columns ID and Names.

    ID Names

    1 david,peter,sam

    2 john,kevin,marsh

    3 brian,broad

    I...

  • RE: eliminate nested while loop

    It's not @@ScopeIdentity... It's SCOPE_IDENTITY().

    Now that you put it that way, though, I think you might want to try the new OUTPUT clause in 2k5... that can give you a...

  • RE: A Simple Mistake

    In that case, I'm amazed at how many different peoples have apparently adopted the Arabic language as their own... just look at their code 😛

  • RE: Select * shocking faster than Select individual columns

    Grant Fritchey (7/8/2008)


    Jeff will beat me for saying this, but according to the plan that is an added cost that is not present in the SELECT * plan. I'd just...

  • RE: eliminate nested while loop

    I can't help on the XML stuff... but you may want to consider using SCOPE_IDENTITY() instead... @@IDENTITY will return the wrong number if, for example, you have a trigger on...

  • RE: Query Help

    chazcross (7/8/2008)


    Im having some trouble writing a query to return results the way i would like it.

    It's important to know how many titles you might have per company... if it's...

  • RE: Split integer valuefrom decimal valye

    indraprakash (7/8/2008)


    Hi,

    round function not gives proper output

    floor is right.

    Ummmm.... why do you think that? Using the optional 3rd parameter of ROUND makes it behave like FLOOR but with...

Viewing 15 posts - 49,306 through 49,320 (of 59,066 total)