Forum Replies Created

Viewing 15 posts - 4,096 through 4,110 (of 5,841 total)

  • RE: Why create statistics on every column of every table in a database.

    Paul White NZ (3/25/2010)


    There's no real harm in doing what they are asking, so it's hard to come up with a compelling argument not to do it.

    My best shot would...

  • RE: Why create statistics on every column of every table in a database.

    lmu92 (3/24/2010)


    Maybe this argument will help, too:

    Within one query, SQL server will only use one index per table. So, if you have the following query

    SELECT col1, col2, col3, col4

    FROM table

    WHERE...

  • RE: help in avoiding loop

    I will add that this certainly looks like this could be a quite complex problem. Forums, as someone else mentioned, are 'staffed' by volunteers and they are best used...

  • RE: How to move the mdf and ldf file location from one drive to another drive

    John Mitchell-245523 (3/23/2010)


    muthukkumaran (3/23/2010)


    Use the alter database method instead of detach/attach.

    Write a dynamic sql script to move the files.

    First try to do in your Dev/test server.

    This is one way of...

  • RE: Administering SQL from a Pocket PC

    Richard M. (3/22/2010)


    Idera's SQL Diagnostic Manager includes the SQL Mobile Manager that lets you do that and much more. Of course, it is a steep price if only or that...

  • RE: T-SQL: Why “It Depends”

    Paul White NZ (3/24/2010)


    TheSQLGuru (3/23/2010)


    Tom, why do you think that autoshrink will make the database more likely to fit into RAM?

    Possibly because auto-shrink may compact data onto fewer pages?

    edit: Jack...

  • RE: T-SQL: Why “It Depends”

    Tom, why do you think that autoshrink will make the database more likely to fit into RAM?

  • RE: SQL Server 2000 Custom Paging

    If you want this new paging process to be even remotely efficient you WILL have to refactor it. In doing this many times for a variety of clients in...

  • RE: deletion of 2 million records

    One very important thing has been missed in this thread (and in Lynn's article from my quick review): error checking and explicit transaction begin/rollback/commit.

    I also didn't see any mention...

  • RE: Database size Increased..

    1) What exactly is an INS backup?

    2) What index maintenance is being done?

    3) run dbcc sqlperf(logspace) and report the size and percent used on the tlog of the relevant database.

    4)...

  • RE: Load/performance testing

    Also note that Microsoft recommends you do some homework to evaluate the system BEFORE you enable lock pages in memory because it can cause or exacerbate problems.

  • RE: sys.dm_db_index_physical_stats not accurate?

    rgarrett 82118 (3/18/2010)


    CREATE TABLE [dbo].[syQueueXMLMessage](

    [TrackingNbr] [uniqueidentifier] NOT NULL,

    [XMLMessage] [nvarchar](3000) NOT NULL,

    [UserID] [int] NOT NULL,

    [DateAdded] [datetime] NOT NULL,

    [ts] [timestamp] NOT NULL,

    CONSTRAINT [syQueueXMLMessage_TrackingNbr_U_C_IDX] PRIMARY KEY CLUSTERED

    (

    [TrackingNbr] ASC

    )WITH (PAD_INDEX =...

  • RE: sp_executesql - LINQ - Performance tuning

    almost certainly parameter sniffing on the initial query, wrong datatype, or widely disparate values leading to suboptimal plan in cache. There are ways to deal with each of those.

  • RE: T-SQL: Why “It Depends”

    CirquedeSQLeil (3/16/2010)


    Jeff Moden (3/16/2010)


    ith the last couple of posts in mind, I hope everyone realizes that the big brother to "It Depends" is "Test it!". 😉

    I think this needs a...

  • RE: T-SQL: Why “It Depends”

    roger.plowman (3/16/2010)


    A very sobering read, as I'm embarking on the from-scratch rewrite of our company's backbone application to use SQL Server (basically it runs the company) and unfortunately I *am*...

Viewing 15 posts - 4,096 through 4,110 (of 5,841 total)