Forum Replies Created

Viewing 15 posts - 91 through 105 (of 219 total)

  • RE: What's the best way to count?

    Hugo Kornelis (10/19/2010)


    The same page in Books Online also contains this warning: "Partitioned tables and indexes are not fully supported in this view; use the sys.indexes catalog view instead." ......

  • RE: What's the best way to count?

    which query is the fastest and most reliable for returning an accurate record count?

    (One of) the fastest? Yes. The most reliable? I don't think so, because that query counts both...

  • RE: Variable Array Table

    Carlo Romagnano (10/13/2010)


    In the example, unfortunately, most of syntax has been lost because of html tag.

    Could you please zip that script and attach it to your next message? 🙂

  • RE: Variable Array Table

    This example is the query used to send a formatted html by xp_sendmail:

    -- to test send output to text or file c:\temp\1.htm

    SET NOCOUNT ON

    select '' AS []

    SELECT

    ' '...

  • RE: Performance Counters

    Good question, but there is a link to BOL/articles/etc missing in the explanation. Should I take the explanation on trust? 🙂

  • RE: Disabling Indexes

    The question would be more educational if it had no 'DROP CONSTRAINT' statement. In this case I would probably have answered wrong 🙂

  • RE: System Databases

    The Resource database is a read-only database that contains all the system objects that are included with SQL Server ... So, the Resource db cannot be moved.

    Sorry, but this conclusion...

  • RE: SQL 6.5 and Y2K

    The question forces to make an archaeological excavation 😀

  • RE: Split string using Tally Table

    Here is the formatted (in the way I like) code:

    DECLARE @Text NVARCHAR(500)

    DECLARE @StringDelimiter CHAR

    SELECT @Text = 'This t-sql will split these sentences into rows.' +

    'How many rows will be returned?.'...

  • RE: Split string using Tally Table

    This is one of several examples of practical use of Tally table

    As for me, this is one of several the thousands examples of totally unformatted and obscure code. An example...

  • RE: TDE and Tempdb

    This could have a great performace effect for the other unencrypted databases

    I agree with tommyh, the word 'great' is misleading in this context.

    Not being a native English speaker, I deciphered...

  • RE: coalesce and nullif

    Nice question.

    OFF

    I would like thanks my coorker...

    What does the word 'coorker' mean? Is it a typo and needs to be 'coworker'?

  • RE: insert into temp table

    Thanks to the author! That was a good lesson about the SELECT INTO statement.

  • RE: T-SQL SQL 2008

    stewartc-708166 (6/20/2010)


    These operators ... are definately underused.

    Maybe because they are not compatible with SQL Server 2005 and below?

  • RE: T-SQL

    Oh, my eyes 🙂 Using JPEG for the graphic was not the best solution – GIF and PNG are more suitable formats for this.

    However, I like the question.

Viewing 15 posts - 91 through 105 (of 219 total)