Forum Replies Created

Viewing 15 posts - 616 through 630 (of 667 total)

  • RE: Perform math on string

    GSquared (4/29/2009)


    You're looking at the right columns. They've been Int all along. It's a pain.

    Sorry G, I must have misunderstood. Thought you meant earlier that the MS guys...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: Are the posted questions getting worse?

    David Webb (4/29/2009)


    Yes. I saw it 5 times during the next two weeks and saw some new detail I had missed on the times before. Bought the soundtrack...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: Perform math on string

    Jan Van der Eecken (4/29/2009)


    Jeff Moden (4/28/2009)


    Sergiy (4/28/2009)


    Jeff Moden (4/27/2009)


    I don't allow such garbage into my db's to begin with. 😛

    I believe this is the method that doesn't suck so...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: Perform math on string

    Jeff Moden (4/28/2009)


    Sergiy (4/28/2009)


    Jeff Moden (4/27/2009)


    I don't allow such garbage into my db's to begin with. 😛

    I believe this is the method that doesn't suck so much.

    :hehe:

    Heh... I just knew...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: TSQL

    The QoTD did not mention which version of SQL it was referring to. That's why further up I said that the link given in the explanation mentions SQL2000, and that...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: TSQL

    Piyush,

    I beg to differ. Try this:

    CREATE FUNCTION [dbo].[usfn_GetDateTime] ( )

    RETURNS datetime

    AS

    BEGIN

    RETURN GETDATE ( )

    END

    GO

    SELECT [dbo].[usfn_GetDateTime]()

    Although GETDATE() is clearly non-deterministic this compiles properly and the SELECT statement returns...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: TSQL

    Douglas Duncan (4/11/2009)


    The correct answer is no, and I would imagine that the people in power will correct the issue soon. In addition to the explanation given in the answer,...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: Are the posted questions getting worse?

    ... My dad taught at a university and was given by someone (I never knew who) a 4-foot section of a four-by-four with one end shaped into the handle of...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: Multi Column Sort

    Looking at the original sample the OP posted Chris may be right when he says

    Horizontally you do not need to do anything anymore since the tuples are already sorted.

    But then,...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: Multi Column Sort

    I agree with Chris. But now, in the presence of NULLs in any of the columns, how can simultaneous horizontal and vertical comparisons work without introducing some artificial replacement values...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: Multi Column Sort

    And by the way, since this seems to be just a sample of data to be sorted with 3 columns and five rows, have you considered what would happen to...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: Multi Column Sort

    Jsanborn, why don't you go back to the basics and try to come up with a MANUAL algorithm that comes up with the desired result in ALL cases? And then...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: SQLServerCentral To Take Over PASS

    Steve Jones - Editor (4/1/2009)


    Not sure I want to joke about us taking over SQL Server development, they might buy us and make us help! :hehe::-P:w00t:

    You must be careful with...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: Advise for complete Beginners

    Another thing you should definitely do is download a copy of SQL Server Express as well as SQL Server Books Online (highly commended, the most valuable resource of information on...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

  • RE: SQL Server

    Then again, why not? Windows NT was built with a Hardware Abstraction Layer underneath it, so all you need is a HAL that runs on Solaris machines or whatever plus...

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

Viewing 15 posts - 616 through 630 (of 667 total)