Forum Replies Created

Viewing 15 posts - 13,696 through 13,710 (of 49,552 total)

  • RE: Reorganze index and Statistics

    opc.three (3/27/2013)


    At 50% I would rebuild. If you're having trouble with log size look into partitioning your table and indexes so you can rebuild smaller subsets of your index, ie...

  • RE: retrieve the previous version of a stored procedure

    Please note: 4 year old thread

  • RE: Updating covering Index

    nadersam (3/27/2013)


    I am asking that because i have a big table with a column included in many indexes and i am afraid that could have an impact on performance when...

  • RE: How to study for MCSA SQL Server 2012

    dob111283 (3/27/2013)


    I've been playing with mysql all that time. Creating tables, using commands, search queries, etc. I would never go into learning with books but not practicing at the same...

  • RE: fragmentation in database

    I mentioned the number of pages in the post right above.

    As for page density, no fixed number here you have to use your judgement. If you have a fill factor...

  • RE: How to study for MCSA SQL Server 2012

    The exams assume a certain amount of practical experience, a year or two I think. Simply memorising books will probably not be enough, you need to get your hands on...

  • RE: Table design and query performance

    WHERE IDColumn LIKE 'XY%'

    Not LEFT, being a function on the column it would be non-SARGable. Like with a trailing wildcard can use indexes.

    Edit: LEFT, not like in the previous sentence.

  • RE: KILLED/ROLLBACK STATE - SERVICE RESTART

    If it's a killed process that's rolling back and there's a non-zero rollback percent complete and time remaining, and there's progress on the rollback, wait. If you restart SQL the...

  • RE: KILLED/ROLLBACK STATE - SERVICE RESTART

    Abu Dina (3/27/2013)


    I wouldn't advise restarting SQL Server as you could end up with a corrupted database after the restart.

    Not possible.

    You could end up with a database in recovery...

  • RE: Reorganze index and Statistics

    It doesn't matter. Before or after will have the same effect, the stats will be updated. Reorganise doesn't touch the stats.

  • RE: Cannot create a database...Keep getting error

    The account that SQL Server is running under does not have permission to that particular folder. Your account does not matter, nor does your login to SQL Server. If you've...

  • RE: FULLSCAN vs. REBUILD

    REbuilding an index updates the associated statistics WITH FULLSCAN.

    why should I run an everyday REBUILD for all indexes when I know that only few of them get fragmented?

    You probably shouldn't.

  • RE: Difference between?

    Sean Lange (3/26/2013)


    What in fact the first query is doing is it will assign the value from the last row in the result set. Since it is an identity it...

  • RE: Difference between?

    Oh, and as for performance.

    Query 1 (the one that doesn't work right)

    Table 'PrimaryTable_Medium'. Scan count 1, logical reads 90, physical reads 0, read-ahead reads 0, lob logical reads 0, lob...

  • RE: Difference between?

    They certainly don't give the same output. The first assumes an implied order that does not exist and hence will return a value one higher than the identity value of...

Viewing 15 posts - 13,696 through 13,710 (of 49,552 total)