SQLServerPedia Syndication

All posts in this category get syndicated to SQLServerPedia.com

  • Why My Policy will not Evaluate System DBs

    Why My Policy will not Evaluate System DBs

    Do you have a policy that is supposed to include “Every Database” as part of its condition, but for some reason it never includes the system databases?  The “Every” condition is a built-in condition that cannot be changed and does not include system databases. If you want to include the system databases in your policy you…

    read more

  • How to move the TempDB Database

    How to move the TempDB Database

    Note that TempDB is recreated every time SQL starts.  Why is this important?  It means we don’t have to move the physical file on the file system. First we need to know the name and file location of the TempDB database files.  When you change the location, make sure to keep the same name.  Technically we don’t…

    read more

  • How to move the MSDB database

    How to move the MSDB database

    First we need to know the name and file location of the MSDB database files.  When you change the location, make sure to keep the same name.  Technically we don’t need the current physical path, but it’s just a good idea to have it documented in case things go badly. SELECT name, physical_name FROM sys.master_files WHERE database_id…

    read more

  • How to move the Model Database

    How to move the Model Database

    First we need to know the name and file location of the Model database files.  When you change the location, make sure to keep the same name.  Technically we don’t need the current physical path, but it’s just a good idea to have it documented in case things go badly. SELECT name, physical_name FROM sys.master_files WHERE database_id…

    read more

  • How to move the Master database

    How to move the Master database

    The catch to moving the Master database is that you must also move the Resource database.  Microsoft states that the Resource database must reside in the same location as the Master database.  You can see their instructions HERE on how to move the Master database. However, on my cluster I did not find the Resource…

    read more

  • How to add your CMS server to a group

    How to add your CMS server to a group

    You cannot add a connection to your CMS server, on your CMS server.  Well that is what I thought until SQLSaturday in Houston, where John Sterrett (Blog|Twitter) pointed out that you can use an IP address.  I think Microsoft prevents this primarily because you already have a connection defined for it simply by virtue of it…

    read more

  • syspolicy_purge_history Job Fails

    syspolicy_purge_history Job Fails

    The syspolicy_purge_history SQLAgent job is used by Policy Based Management in SQL server to clear out the policy evaluation history kept by PBM. The job consists of the following three steps. First to check to see if PBM is enabled and exit if it is not. Run the msdb.dbo.sp_syspolicy_purge_history system stored procedure to clear the history Use…

    read more

  • T-SQL Tuesday Mirroring and SSWUG

    T-SQL Tuesday Mirroring and SSWUG

    This month’s T-SQL Tuesday is hosted by Allen Kinsel (Blog|Twitter) and covers “disasters and recovery”.  My favorite DR solution is mirroring.  Mirroring is easy to setup and fast, if implemented properly.  It’s a database level solution that allows you to keep a remote copy of your database in sync with your principal database.  Everything is…

    read more

  • SQLRally 2012 Dallas

    SQLRally 2012 Dallas

    It’s Official !! The host for SQLRally 2012 has officially been given to Dallas and the North Texas SQL Server User Group.  NTSSUG is elated to have been chosen as the host for this event.  We have hosted three SQLSaturdays in the last 12 months, so we are prepared to dig in our heals.  Well,…

    read more

  • Don’t develop SSRS reports in the wrong version

    Don’t develop SSRS reports in the wrong version

    I had an interesting issue a couple of months ago while creating an SSRS report.  I developed my report in BIDS, built it, and previewed it just fine.  I was also able to deploy it to my RS server just fine, but when I viewed the report from the browser I got a cryptic error…

    read more