Forum Replies Created

Viewing 15 posts - 38,506 through 38,520 (of 49,571 total)

  • RE: DATABASE

    600 MB of a 6 GB database isn't much. It's 10% of the data file size. Which, incidentally, is the default autogrow %

  • RE: Build a table with info on my Tables

    Update usage does not update stats. It updates the space used metadata. That's what's wrong in this case.

    Jeff is 100% correct. You need to run updateusage before running that. If...

  • RE: Move table from one filegroup to another filegroup

    RPSql (6/11/2009)


    But when I checked table property it says that Filegroup="New File Group" and "Text filegroup"="Old File Group"..Why is it so? Why on Text filegroup it mentions Old file...

  • RE: Please Help me Very Urgent

    mmartin (6/11/2009)


    Maybe it is corruption on a non-date field.

    If it was corruption the error would not say 'date time conversion'. It would say something like this "SQL Server detected a...

  • RE: Move table from one filegroup to another filegroup

    RPSql (6/11/2009)


    Can you please give detailed description or any article for this for moving table with clustered index, non clustered index and a table without any index...

    See my initial reply.

  • RE: deleting backup logs

    To restore to a point in time you need all of the transaction log backups from the full backup up to the point you're restoring to. They are not cumulative.

  • RE: Move table from one filegroup to another filegroup

    Alberto De Rossi (6/11/2009)


    This is the one, promise. Sorry for the inconvenience

    SET XACT_ABORT ON

    BEGIN TRY

    BEGIN TRAN

    CREATE CLUSTERED INDEX ix_TableA_Transfer ON tableA (id) ON [OtherFileGroup]

    COMMIT

    END TRY

    BEGIN CATCH

    ...

  • RE: Move table from one filegroup to another filegroup

    RPSql (6/11/2009)


    1. Move a table without any index or primary key or constraints

    Create a clustered index and specify ON with the new filegroup. Then drop the clustered index

    2. Move a...

  • RE: Who's At Fault

    bob.willsie (6/11/2009)


    So, my question to the group is: What, if any, is an acceptable error rate for data loss or corruption on SQL Server?

    Zero.

    Corruption is usually due to hardware problems,...

  • RE: Restore Problem

    acapucion (6/11/2009)


    IWe tried backuping the XYZ database (compatibility mode is still set to 2000, no changes was made)

    on SQL Server 2008 environment. But we are trying to restore the database...

  • RE: Comparing Table Variables with Temporary Tables

    That it is. I'm trying to get some clarification as to where that row estimate comes from. It's not from statistics, there's no auto stats events fired and no stats...

  • RE: Backup detected log corruption in database

    The following should work, but take a backup first (as with all production-type fixes)

    Switch the database to simple recovery.

    Run a checkpoint

    Switch back to full recovery

    Take a full backup

    Test log backups...

  • RE: Date string in WHERE causes table scan instead of index seek

    Joseph Fallon (6/11/2009)


    GilaMonster (6/11/2009)


    Joseph Fallon (6/11/2009)


    When I don't use "SELECT * FROM " the query always uses the covering index. Thanks for the tip Mr Stobbs.

    Is the index really covering...

  • RE: Stored Procedure Code to "Up To Date"

    gmartin (6/11/2009)


    I want to "select" without locking things up. SNAPSHOT may be better option, but that's not turned on at the moment.

    If you use the default isolation, does that...

  • RE: Comparing Table Variables with Temporary Tables

    sscddr (6/11/2009)


    The article should discuss the wonders of "option (recompile)". It forces SQL to recompile the query plan with knowledge of the number of rows currently in the table...

Viewing 15 posts - 38,506 through 38,520 (of 49,571 total)