Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)

  • RE: Blank Output when I run the restore script

    Try using below script. Also you would need to change query option --> remove include column header in resultset from query output.

    /**************************************************************************************************/
    /***        Build Restore Scripts...

  • RE: Build restore scripts dynamically

    This script would require small modifications. I have modified the script so tht it would display restore script properly in output window. Also we would need to remove query option...

  • RE: DBCC CHECKDB failed - A database snapshot cannot be created because it failed to start.

    In SQL Server, DBCC commands use internal read-only database snapshots. These database snapshots are created on the same drive where the corresponding database data files are located. Database snapshots grow...

  • RE: Truncate log for Mirrored Database

    By mistake i mentioned mirror database. The steps mentioned would be executed on principle server on principle database. In case of T-log drive running out of disk space you've to...

  • RE: Truncate log for Mirrored Database

    Yes database which is residing on principle server. You've to take T-log backup multiple time to enable database for shrinking T-log file.

  • RE: Truncate log for Mirrored Database

    You can follow below steps

    1. Run below script against db in mirroring on principle server.

    DECLARE @DatabaseName VARCHAR(50);

    SET @DatabaseName = 'Mirrored DB Name' --> Replace the mirror...

  • RE: Called Microsoft

    Hi,

    It is recommended to grant the SQL service account the OS privilege "Lock pages in memory". By doing this you are preventing the OS from swapping SQL's memory pages to...

Viewing 7 posts - 1 through 7 (of 7 total)