Forum Replies Created

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

  • RE: How to detect blocking immediately

    Like you mentioned, create an alert:

    Location in management studio: SQL SERVER->SQL Server Agent->Alerts

    * GENERAL TAB*

    type : SQL server performance condition alert

    object: SQL Server: General statistics

    counter: processes blocked

    alert if rises above...

    Wilfred
    The best things in life are the simple things

  • RE: SQL Server System Table to find Error log

    As been told, the errorlog is no database table. Query the registry (use xp_regread) for the location of the errorlog.

    You can also use this construction to copy the errorlogfile into...

    Wilfred
    The best things in life are the simple things

  • RE: index question

    ... do I need to rebuild the index after truncating the table to get the index size under control?...

    If you truncate the table, SQL marks the table as empty/reusable. All...

    Wilfred
    The best things in life are the simple things

  • RE: health check up

    Start reading Books Online ("BOL" is the abbreviation you'll see on Forums) and search for the DBCC command, especially CHECKDB

    Wilfred
    The best things in life are the simple things

  • RE: How to tell if Index stats need updating?

    Yeah, I know that discussion.

    Make sure you know the benefits of asynchronously update stats before calling them.

    Good luck

    Wilfred
    The best things in life are the simple things

  • RE: How to tell if Index stats need updating?

    What? Not enabling auto_create_stats is asking for a performance showstopper. (I don't think I'll have to tell you why)

    Determine the overhead and time you'll have to spend on determine which...

    Wilfred
    The best things in life are the simple things

  • RE: Insert and Update

    Here comes the Microsoft answer: "Upgrade to MSSQL 2008, start using the MERGE statement" :D:D

    Wilfred
    The best things in life are the simple things

  • RE: Change columntype in a view

    Hey, another W van Dijk! 🙂

    Post this question in the T-SQL forum

    Wilfred
    The best things in life are the simple things

  • RE: Change Existing Field Collation

    Had the same issue, try this script for fixing collation in your tables:

    ------------------------------------------------------------

    -- LM_ChangeCollation - Change collation in all tables

    -- made by Luis Monteiro - ljmonteiro@eurociber.pt

    -- modified by wilfred...

    Wilfred
    The best things in life are the simple things

  • RE: How to tell if Index stats need updating?

    If you run sp_updatestats SQL tells you which statistics were updated. The algoritm SQL uses is documented on the internet, maybe somebody can provide the link?

    Wilfred
    The best things in life are the simple things

  • RE: Troubleshooting help for long-running query

    Also check:

    - SQL version (equal ?)

    - physical drive design, location of datafiles/logfiles

    - statistics

    - index fragmentation

    Wilfred
    The best things in life are the simple things

  • RE: Can you restore a database from a snapshot?

    You're mixing snapshot backups (performed by NetApp Snapmanager) with SQL database snapshots.

    This is a totally different concept.

    When we are talking about snapshots, what do you mean? When your system administrator...

    Wilfred
    The best things in life are the simple things

  • RE: Cannot copy 2000 db to 2005 using detach/attach

    To move a database from 2000 to 2005 you CANNOT detach/attach. You must backup/restore.

    This in not true for user databases (read the article, it's true for system databases). Upgrading to...

    Wilfred
    The best things in life are the simple things

  • RE: DBCC shrinkfile

    indexes rebuild?

    Wilfred
    The best things in life are the simple things

  • RE: post Restore rebuilding indexes

    So ur actually saying SQL does not recreate these indexes on restore

    Correct, indexes are not recreated after a restore. The indexpages are part of the backup and they are...

    Wilfred
    The best things in life are the simple things

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