Forum Replies Created

Viewing 15 posts - 61 through 75 (of 7,428 total)

  • RE: Is Computer Science Dead?

    Actually I was told a while back to look at it this way. In the early years when Computers were new things were generalized, kind of like early doctors. Now...

  • RE: CAST vs CONVERT or another solution?

    SQLKnowItAll (3/28/2012)


    S_Kumar_S (3/28/2012)


    Hi

    Can you pls guide to some link that shows this difference. Most of the places I know just say that the performance is similar. e.g this one:

  • RE: CAST vs CONVERT or another solution?

    Oh another thing I just noticed which puts what I say ahead is this. You logged 09876 for cat in both tables, but if you store it in int the...

  • RE: CAST vs CONVERT or another solution?

    There is one thing we know for sure and that is that there will be no match if the data in b is alphanumeric. Try this and see if it...

  • RE: Comparing Queries for DBs on same Server

    If they are on the same server you might can use checksum to detect differences in rows.

    Here is a simple example

    SELECT

    *

    FROM

    (SELECT KeyColumns, CHECKSUM(CheckColumn1, CheckColumn2, ...) Chk FROM DB1.dbo.TableName) X

    FULL OUTER...

  • RE: Get month names ordered using recursion

    Honestly the article is good even though I would not use this method for what they are trying to do. But just like a cursor understanding how this works can...

  • RE: Get month names ordered using recursion

    Tony Palmeri (3/13/2012)


    I'm on an older version of SQL Server, so maybe what I am about to suggest already exists in a newer version. ..... the former.

    Phil Factors example above...

  • RE: Get month names ordered using recursion

    Phil Factor (3/13/2012)


    The original code that was presented will work for any language setting. That's important. Scooping out the contents of sys.syslanguages will only work if you do it according...

  • RE: Get month names ordered using recursion

    Jonathan AC Roberts (3/13/2012)What if you want it in a different language?

    That is why you would use either the method I used above. Or monthname = DATENAME(mm,DATEADD(mm,0,0)) instead of monthname...

  • RE: Get month names ordered using recursion

    Just because I was in the mood for a little fun but another option is to use the syslanguages table to get the information like you want. There is a...

  • RE: system stored procecures

    First off full disclosure, I got this wrong as well as I had just forgotten since I don't prefix with sp_

    OK, I think a bit of clarification on the SQL...

  • RE: A Stumbling Count

    izblank (5/31/2011)


    To Antares686:

    The Calendar table is not very big, so you're not saving much space by storing exceptions. Besides, having a full-blown Calendar table gives you much more than...

  • RE: A Stumbling Count

    You know I have done this myself but later came to wonder why people want to store all information for dual logic scenarios when they just need the smaller set....

  • RE: Women in Technology

    cherie j sheriff-437357 (1/8/2010)


    The article stated that men were self promoters while women did their work and waited to be recognized for the work they had done. The article...

  • RE: Women in Technology

    Matt Miller (#4) (1/7/2010)


    Steve Jones - Editor (1/7/2010)


    Antares686 (1/7/2010)


    Many times pay has nothing to do with fairness, it simply boils down to what you are willing to fight for.

    You...

Viewing 15 posts - 61 through 75 (of 7,428 total)