Forum Replies Created

Viewing 15 posts - 15,211 through 15,225 (of 49,552 total)

  • RE: Some doubts on T-SQL basic fundamentals

    ganeshkumar005 (12/17/2012)


    But my concern remain unanswered is - how exactly the update process will occur internally? All in one shot? Or in a sequntial manner -- If yes, which row...

  • RE: Instance level backup

    SQL backups are at a database level, so to backup an instance you need to take database backups of all databases on that instance (don't forget the system DBs)

  • RE: DBCC Commands

    If you retain your backups for a week or more, running CheckDB just on weekends is fine. Just be sure that you retain backups (full and log) long enough that...

  • RE: Some doubts on T-SQL basic fundamentals

    Could you be more specific please?

    If you mean something like this:

    UPDATE Table SET SomeColumn = SomeValue WHERE SomeID between 1 and 10 -- updates 10 rows

    then there's no temp table...

  • RE: SQL 2012 Startup Duration?

    Were the TempDB files where they should be? Or did SQL have to create them?

  • RE: dbcc indexdefrag vs reorganize

    Firstly, stop using the DBCC commands, they're deprecated, included only for backward compatibility with SQL Server 2000 and should not be used in new development. The replacements are ALTER INDEX...

  • RE: DB Shrink

    shindle 17293 (12/16/2012)


    Am I correct in explaining that the compressed backup size will not reduce further even if I perform a shrink on the database as the backup has already...

  • RE: Missing Indexes on Temp tables

    ganeshmuthuvelu (12/16/2012)


    Can anyone confirm that SQL Server 2008 R2 provides no way to find these out?

    The missing index information should be in the execution plan.

    Even with normal tables, you...

  • RE: Formatting Phone Number

    Edit: nm

  • RE: Missing Indexes on Temp tables

    Get the user to run then and send you the execution plans. Analyse and see if the index suggestion in there (if any) is sensible. Otherwise analyse the plan and...

  • RE: ORDER BY Should be same as my input in IN()

    Josh Ashwood (12/16/2012)


    Indeed, I must confess that I have committed the following sins according to Celko :-

    - Written more than three cursors in my lifetime

    Check

    - Used UPDATE...FROM more than once

    Check

    -...

  • RE: Partitioning

    mah_j (12/16/2012)


    You mean besides that, I should check other options like indexing ,memory management,.....?

    I mean that if you want to performance tune your query, then performance tune your query. Don't...

  • RE: Partitioning

    mah_j (12/16/2012)


    I created partition over [TransDate] and all the indexes ON DB_PartitionScheme ([TransDate]),but the logical reads of this table and cpu time increase in test db.

    Not surprising.

    I don't know why...

  • RE: database log file size 900 GB

    Please read through this: http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    I have changed the DB to FULL recovery mode temporarily untill this log space is released back to the disk

    Waste of time.

    In simple recovery model, the...

  • RE: Deadlock due to intra-query parallelism

    Abdul Rahman (12/14/2012)


    But after interpreting the output and discussing with the developers, they want to start with adding with(Nolock) to all the queries, detected by -T1222.

    Won't help. Look at the...

Viewing 15 posts - 15,211 through 15,225 (of 49,552 total)