Forum Replies Created

Viewing 15 posts - 151 through 165 (of 206 total)

  • RE: Why STUFF

    Ed Wagner (5/4/2016)


    It came from Wayne Sheffield's SQL Spackle article on string concatenation. The article is at http://www.sqlservercentral.com/articles/comma+separated+list/71700/. It's a great technique.

    It's broken so no, it's not great.

  • RE: Why STUFF

    I'd no more ask this person to administer my database than I'd ask Donald Trump to run my country.

  • RE: Log Shipping Information

    Try rendering it with check boxes rather than radio buttons. UI 101.

  • RE: Converting Questionable Dates

    g.maxfield (3/18/2016)


    I also get error

    Msg 195, Level 15, State 10, Line 2

    'VARCHAR' is not a recognized built-in function name.

    Vide supra.

  • RE: Converting Questionable Dates

    David Day (3/18/2016)


    Then (with all due respect) the questions either need to indicate the version, or have version-specific options. Given the mess the latter would become, the former would...

  • RE: Converting Questionable Dates

    David Day (3/18/2016)


    Except, when I cut-and-paste from the question:

    SELECT

    TRY_CONVERT(VARCHAR(10), 'Mar 34, 2016 4:56 PM')

    I get an error:

    Msg 195, Level 15, State 10, Line 3

    'VARCHAR' is not...

  • RE: Converting Questionable Dates

    Andrew Watson-478275 (3/18/2016)


    edwardwill (3/18/2016)


    far (3/18/2016)


    How do you use the statment? With a correct Syntax there is no error

    I pasted the example into a query window and pressed F5

    SELECT

    ...

  • RE: Converting Questionable Dates

    far (3/18/2016)


    How do you use the statment? With a correct Syntax there is no error

    I pasted the example into a query window and pressed F5

    SELECT

    TRY_CONVERT(VARCHAR(10), 'Mar...

  • RE: Converting Questionable Dates

    I get an error:

    Msg 195, Level 15, State 10, Line 1

    'VARCHAR' is not a recognized built-in function name.

  • RE: TRY_CONVERT smaller

    Msg 195, Level 15, State 10, Line 1

    'VARCHAR' is not a recognized built-in function name.

  • RE: Converting hex values

    sipas (2/9/2016)


    I like the ones where you have to try and figure out what's wrong with the question, then go for the option you think the questioner intended - thanks...

  • RE: Converting hex values

    Yet another question where "None of the above" is the correct answer.

  • RE: CROSS APPLY on named sets

    See attachment.

    Edward

  • RE: CROSS APPLY on named sets

    Jacob Wilkins (1/13/2016)


    edwardwill (1/13/2016)


    Eirikur Eiriksson (1/12/2016)


    SQLRNNR (1/12/2016)


    I dunno about the "correct" answer on this one. The statements compile for me but produce an error at run-time. Seems to be a...

  • RE: CROSS APPLY on named sets

    Eirikur Eiriksson (1/12/2016)


    SQLRNNR (1/12/2016)


    I dunno about the "correct" answer on this one. The statements compile for me but produce an error at run-time. Seems to be a bit of a...

Viewing 15 posts - 151 through 165 (of 206 total)