Forum Replies Created

Viewing 15 posts - 47,926 through 47,940 (of 49,571 total)

  • RE: Update stats

    EXEC sp_MSForEachTable 'UPDATE STATISTICS ? with fullscan; print ''?'' '

  • RE: T-Log backup question

    DBAhawk (12/28/2007)


    Sounds like I did the right thing, then. If the problem recurs, I'll shorten the log backup interval again perhaps first adding additional backups in the off hours...

  • RE: T-Log backup question

    Setting the DB to Truncate Log on Checkpoint means you've switched the recovery mode to Simple.

    In Simple recovery mode, the inactive portions of the log are discarded once the data...

  • RE: Using the TOP 1 with a variable, how?

    In 2005 only

    SELECT TOP (@Variable) Columns FROM Table

  • RE: changes objects ?

    select * from sys.procedures where modify_date > @Date

    select * from sys.triggers where modify_date > @date

    Or, if you want to check all objects

    select * from sys.objects where modify_date > @date

  • RE: Data corruption on a Database

    p.s. Please post questions related to SQL 2005 in one of the SQL 2005 forums. Questions in the wrong place may get you inaccurate answers as we're assuming a different...

  • RE: Update stats

    If you rebuild the index, you don't need to update the statistics. It's done as part of the index rebuild.

    The ? is a place holder for the table name.

  • RE: Data corruption on a Database

    x-portal (12/28/2007)


    Getting this error on the error log. Could someone help me to fix it?

    <snip>

    CHECKDB found 0 allocation errors and 0 consistency errors in database 'Budget'. [SQLSTATE 01000]

    What error?...

  • RE: Just passed. My steps to passing 70-431 ( no exam spoilers, dont worry!)

    mobasha (12/28/2007)


    three hours?

    its along time, then it must be alot of questions.

    is it more than 50 question or what.

    Don't remember. I wasn't counting.

    They do give you a fair amount...

  • RE: About Index Tuning wizard

    Rather don't use the index tuning wizard. It's prone to giving rather sub-optimal suggestions. Learning to tune indexes yourself will get you much better results most of the time.

    If you're...

  • RE: Last Modified Date

    Narendra (12/28/2007)


    SELECT * from sys.procedures where modify_date >'12/20/2007'

    sys.procedures doesn't exist in SQL 2000, and SQL 2000 doesn't have a modification date in sysobjects.

    Both those are 2005 and higher features.

  • RE: Dump transaction is not working for few database

    Try enclosing the DB name in square brackets

    dump transaction [Rose-25-APR07] with no_log

  • RE: Isnull function

    Madhivanan (12/28/2007)


    You need to use IS NULL or IS NOT NULL to check againt NULL

    Yes. My point exactly. Do you know why?

  • RE: Dump transaction is not working for few database

    What's the compatability mode of the databases i works in and the ones it doesn't?

    Dump transaction is deprecated in SQL 2005. You should use Backup Log with truncate_only, or, even...

  • RE: How to Short-circuit Where Clauses

    Any form of function on a column in the where clause prevents index seeks, even something like UPPER, LEFT or the like.

Viewing 15 posts - 47,926 through 47,940 (of 49,571 total)