Forum Replies Created

Viewing 15 posts - 106 through 120 (of 819 total)

  • RE: The DTU Counters

    Here states different:

    DTUs provide a way to describe the relative capacity of a performance level based on a blended measure of CPU, memory, and read and...

  • RE: Set-Based String Splitting table function

    bevanward - Saturday, March 17, 2018 11:21 AM

    Comments posted to this topic are about the item Set-Based String Splitting table function

    You ...

  • RE: Python division

    Steve Jones - SSC Editor - Thursday, March 15, 2018 9:03 AM

    Arrgg, sorry. Holiday yesterday. Checked the wrong box, though the explanation...

  • RE: Python division

    "The // operator is an integer division operator" that's false (-20). It's a FLOOR division (-21).
    Learn the Syntax

  • RE: FORMAT that string

    Jeff Moden - Thursday, March 1, 2018 3:42 PM

    RIGHT(SomeIntZip+100000,5)

    It's my favorite

  • RE: FORMAT that string

    What's the result of the following query?

    SELECT FORMAT(COUNT(*),'#')
    FROM HolydaysToDo
    WHERE HolydaysToDo.Name = 'Steve Jones'

    The result:
    Arithmetic overflow error...

  • RE: Getting the CONTEXT_INFO()

    set CONTEXT_INFO 55
    SELECT cast(substring(CONTEXT_INFO(),1,4) as int)

  • RE: Viewing Plans

    Solomon Rutzky - Thursday, February 1, 2018 9:20 AM

    Carlo Romagnano - Thursday, February 1, 2018 7:58 AM

  • RE: Viewing Plans

    Steve Jones - SSC Editor - Thursday, February 1, 2018 7:46 AM

    Corrected the answers. Not sure what I was thinking while typing.

    ......

  • RE: Viewing Plans

    Running the following code raises an error:
    GRANT VIEW SHOWPLAN to JoeDev

    Msg 102, Level 15, State 1, Line 1
    Incorrect syntax near 'VIEW'.

  • RE: Collation order by

    It's surprising me!
  • RE: T-SQL sorting

    Toreador - Monday, January 8, 2018 2:01 AM

    Quite interesting I suppose, though the URL in the explanation doesn't state what happens when...

  • RE: SET the results

    The answer is a little confused!
    The statement raises an error, because of incorrect syntax and not because of multiple values assignement. The following statements demonstrate this:
  • RE: Ending 2017

    The 2nd and 3rd answer are equal.
    I'm curious to know why someone chooses the second answer instead of the third or vice versa.
    😀😀😀
  • RE: STRING_SPLIT with no delimiter

    Good to know!
    I would add  a where clause  to avoid empty string
    DECLARE @A VARCHAR(6) = 'ABCDEF'
    SELECT value FROM STRING_SPLIT(CAST(CAST(CAST(@A AS NVARCHAR) AS VARBINARY) AS VARCHAR),...

Viewing 15 posts - 106 through 120 (of 819 total)