Forum Replies Created

Viewing 15 posts - 706 through 720 (of 4,745 total)

  • RE: Question about shrinking data files on a read only database

    just some thoughts...

    is most of the database made up of one table?

    what fill factor do you use when you rebuild, as the database is read only you can use 100%

    do...

  • RE: Restore Master Database

    master will change when you make server level changes, so as you said when you change security, configurations or changes to other databases such as add or drop or move...

  • RE: Queries and tables

    use the adventureworks database that comes with SQL

  • RE: How to copy All data from sp_helpdb to some other table

    Lowell (3/30/2013)


    Sp_help returns multiple data sets with different numbers of columnz. It also returns different results depending on the parameters and the object you are testint... a table returns diilfferent...

  • RE: SQL Server access violation

    if this is giving you a serious issue frankly I would refer it to microsoft support, they are the experts on dump files.

  • RE: Restore Master Database

    As the OP has found and Gails blog shows, recovering from system database corruptions can be a complex and error prone process, especially for the model database. Microsoft and BOL...

  • RE: Log Backup

    run dbcc loginfo(yourdbname)

    the row with a status column value of 2 is the last active vlf, you will not be able to shrink beyond that point.

    edit forgot to spell check!

  • RE: Minimal Logging Enhancement in SQL Server 2008

    are you doing the insert in batches? after the first batch the table will no longer be empty so you will no longer get minimal logging.

  • RE: Log Backup

    then the log will have been filling up and growing, consuming your disk space. Set up regular log backups and existing space in the log file will be reused, preventing...

  • RE: Log Backup

    SQL_Surfer (3/25/2013)


    Ah...I thought it truncates the log as well. My drive is running out of space so I am thinking taking log bacup will shrink the size of transaction log...

  • RE: Log Backup

    no , a log backup simply backs up the inactive part of the log file, it does not reduce the size of the file on disk.

    Only a dbcc shrinkfile...

  • RE: doubt on backups

    must be an error in copy and paste - you are missing a '.' - it should read master..sysdatabases

    this code is compatible with all versions of sql from sql2000, you...

  • RE: Query to get system databases

    Jasons query returns the databases that ARE system databases so you would have to flip the logic.

    I THINK SQL2005 includes the resource database in the query but SQL2008 and up...

  • RE: what next?is it helpfull in future

    duplicate post - relies to here please

  • RE: doubt on backups

    all databases on the sql instance

Viewing 15 posts - 706 through 720 (of 4,745 total)