Forum Replies Created

Viewing 15 posts - 256 through 270 (of 335 total)

  • RE: Query generates different exec plan!

    It sounds like parallelism is slowing the query down. Try upping your cost threshold for parallelism setting with sp_configure and see if that doesn't cause the slow server to...

  • RE: Cancelling Long Running Reindexing jobs

    I would try reindexing the tables outside of the maintenance plan and see how that works. If it's taking 800+ hours I would also look at just dropping and...

  • RE: Problem with Query

    I changed your query a little.

    select t.name as tablename

    , c.name as columnname

    , isnull(p.name,'''') as ConstraintName,

    case p.xtype

    When 'PK' Then 'Primary Key'

    When 'C' Then 'Check'

    When 'UQ' Then 'Unique'

    When 'F' Then 'Foreign...

  • RE: Reindexing the system tables

    I looked around and couldn't find anything other than them saying to drop and recreate. I even copied sysindexes and then tried to delete all of the rows and...

  • RE: Version

    select @@version in query analyzer will give you the release your on.

    I would check the licensing service to see how many Cal's you have.

    Tom

  • RE: Slow Query on Cluster

    In profiler, under events and warning, missing column statistics.

    Tom

  • RE: Cache

    It really depends on your data as to whether recompiles are good or not.

    For example: Say you have a table with a million rows in it and has...

  • RE: Slow Query on Cluster

    Have you run a profiler to check for missing column statistics? I have seen query times jump up when column statistics go missing.

    Tom

  • RE: Kill all user Process Automatically

    I agree, I usually write my own scripts to do backups and dbcc's, and have never run into a problem with backing up the database. I would profile the...

  • RE: File Backup

    Does that mean it is good practice to script all views, udf's,diagrams,table_schema.

    The whole point of database backup's is recovery of the database. That doesn't mean, the database less the...

  • RE: Need Blocking script

    In query analyzer start 2 sessions.

    Session 1:

    begin transaction

    update some_table set some_column = some_value

    Session 2

    Select * from some_table.

    Session 2 is blocked by session 1.

    Rollback the transaction when...

  • RE: File Backup

    I don't think so. Stored procs are stored on the physical mdf files of the database. If you are doing file backups, you are capturing the database schema...

  • RE: Kill all user Process Automatically

    I found the script out there. Search for "Kill all Connections".

    That should do you.

    Thanks Tom

  • RE: Reindexing the system tables

    This should do for you.

    Microsoft Knowledge Base Article - 106122

    sp_fixindex.

    Let us know.

    Thanks Tom.

  • RE: shrinking pages after atler column

    I would try to bcp the table out into a new table. Not 100%, but I remember reading that sql doesn't reclaim space in file when columns are shortned or...

Viewing 15 posts - 256 through 270 (of 335 total)