Forum Replies Created

Viewing 15 posts - 346 through 360 (of 821 total)

  • RE: Datatypes In Your Mind

    stephen.long 56048 (5/5/2014)


    The list shown here includes bit in the list of "exact numeric types".

    http://msdn.microsoft.com/en-us/library/ms187752.aspx (Data Types (Transact-SQL))

    The definition of bit, shown here, calls it "An integer data type that...

  • RE: SSMS Results

    In SSMS 2008 r2, results could be copied only in grid mode or if the amount of the text is less than 2MB. If text is more than 2MB you...

  • RE: SSMS Results

    When results come out in text, you can search for a string (ctrl+f), instead, in grid mode you can not search in the results.

  • RE: Temporary Tables and Statistics in Stored Procedures

    Ford Fairlane (4/10/2014)


    Interesting QotD - Learned something here.

    Good!

  • RE: Syntax Validation

    kupy (4/7/2014)


    Carlo Romagnano (4/7/2014)


    happycat59 (4/7/2014)


    SET NOEXEC might find syntax errors but it doesn't find all errors. I copied a piece of code that included a "RANK... PARTITION BY [invalid...

  • RE: Syntax Validation

    happycat59 (4/7/2014)


    SET NOEXEC might find syntax errors but it doesn't find all errors. I copied a piece of code that included a "RANK... PARTITION BY [invalid column]" -...

  • RE: A Questionable Trigger

    free_mascot (4/2/2014)


    Carlo Romagnano (4/2/2014)


    In sqlserver 2008 r2 the update doesn't return any resultset and no error message.

    (2 row(s) affected)

    (2 row(s) affected)

    What I'm missing?

    I have executed in SQL 2012 and got...

  • RE: A Questionable Trigger

    I do not like question too long. I have just few minute to answer.

    A lot of useless words and none of the main one.

  • RE: A Questionable Trigger

    In sqlserver 2008 r2 the update doesn't return any resultset and no error message.

    (2 row(s) affected)

    (2 row(s) affected)

    What I'm missing?

  • RE: Indexes

    Hugo Kornelis (3/30/2014)


    Carlo Romagnano (3/21/2014)


    Remember that "Filtered indexes" are used only if the WHERE clause matches or is compatible with the filter.

    View http://www.sqlservercentral.com/questions/T-SQL/105826/

    And even then, they are often not used...

  • RE: OPENQUERY-2

    Stewart "Arturius" Campbell (3/24/2014)


    Interesting question, thanks Carlo

    thought the lack of a semi-colon between deleted.* and COMMIT would cause an error.

    Goes to show...

    The lack of a semi-colon causes or would cause...

  • RE: Indexes

    Remember that "Filtered indexes" are used only if the WHERE clause matches or is compatible with the filter.

    View http://www.sqlservercentral.com/questions/T-SQL/105826/

  • RE: OPENQUERY-1

    marcia.j.wilson (3/18/2014)


    I'm not sure I completely understand this.

    Is this what's going on?

    -The query initially adds a single row with a value of 1.

    - The open query returns the deleted set...

  • RE: OPENQUERY-1

    crussell-931424 (3/18/2014)


    It's still a little confusing.

    About?

  • RE: OPENQUERY-1

    Hany Helmy (3/18/2014)


    Thomas Abraham (3/17/2014)


    Thanks for the question, Carlo.

    Don't know which is more interesting - the option for -1 rows, or the fact that 3% selected it as their answer!

    -1...

Viewing 15 posts - 346 through 360 (of 821 total)