Forum Replies Created

Viewing 15 posts - 5,971 through 5,985 (of 49,571 total)

  • RE: TRUNCATING MULTIPLE TABLES

    Truncate Table T1

    Truncate Table T2

    ...

    Truncate Table T11

    A truncate can only affect a single table so you have to write 11 truncate statements, and there cannot be a foreign key...

  • RE: Space needed for clustered index rebuild

    The only way you're going to change the fill factor is with a rebuild. It's up to you whether that and your sensibilities are worth the work that this is...

  • RE: BULK Delete

    Ratheesh.K.Nair (5/11/2015)


    1.Is there anyway this can be achieved with less logging to database?

    Insert, maybe, delete no.

    Will it help if change the recovery mode to Bulk-Logged?

    For the insert, maybe, for...

  • RE: Space needed for clustered index rebuild

    Ken Davis (5/11/2015)


    The CI on the big 5-month archive table is highly fragmented. Background info: this was implemented with a terrible clustering key - a random GUID. About...

  • RE: How to check page splits number?

    In SQL 2008, with a huge amount of difficulty. The page splits perfmon counter doesn't track page splits but tracks page allocations. The extended event (if it was even in...

  • RE: Space needed for clustered index rebuild

    Then I'm curious, why do you need an index rebuild?

  • RE: Query

    I'm asking so that I can be sure that I have your requirements right. I don't feel like writing queries multiple times

    Status 1 for maximum month (which will be 12)...

  • RE: Running a batch file to execute a stored procedure

    No. How could something running on their machine be able to access resources that can't be accessed from their machine?

    If a user runs a batch file on their machine,...

  • RE: Query

    For each row in the example data, please could you explicitly state what the value of status should be for that row?

  • RE: Trace Flag 4299?

    I'd push back on this someone and ask them. Because

  • RE: Query

    What value? Please be specific. For each row in the example you gave, what should the status column be?

  • RE: Query

    So for the example you specified, what should be the output?

  • RE: Copying database failed

    Use backup/restore to copy a database from one server to another. Far easier and far less prone to fail than the copy database wizard

  • RE: Running a batch file to execute a stored procedure

    If you run the batch file from your machine, it's looking for files and folders on your machine. Hence D:\Path, means it's looking for the drive on your machine mapped...

  • RE: Running a batch file to execute a stored procedure

    And does the folder "D:\Path\" exist on your machine?

Viewing 15 posts - 5,971 through 5,985 (of 49,571 total)