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...

  • 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...

  • 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...

  • 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

  • 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

  • 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...

  • RE: Insert and Update

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

  • RE: Change columntype in a view

    Hey, another W van Dijk! 🙂

    Post this question in the T-SQL forum

  • 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...

  • 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?

  • RE: Troubleshooting help for long-running query

    Also check:

    - SQL version (equal ?)

    - physical drive design, location of datafiles/logfiles

    - statistics

    - index fragmentation

  • 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...

  • 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...

  • RE: DBCC shrinkfile

    indexes rebuild?

  • 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...

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