<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"><channel><title>Martin Poon - Microsoft MVP blog [SQL Server] : Database</title><link>http://msmvps.com/blogs/martinpoon/archive/tags/Database/default.aspx</link><description>Tags: Database</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Installing WordPress using Microsoft Web Platform Installer (Web PI) v2.0</title><link>http://msmvps.com/blogs/martinpoon/archive/2010/04/25/installing-wordpress-using-microsoft-web-platform-installer-web-pi-v2-0.aspx</link><pubDate>Sun, 25 Apr 2010 14:52:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1764240</guid><dc:creator>Martin Poon</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/martinpoon/rsscomments.aspx?PostID=1764240</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/martinpoon/commentapi.aspx?PostID=1764240</wfw:comment><comments>http://msmvps.com/blogs/martinpoon/archive/2010/04/25/installing-wordpress-using-microsoft-web-platform-installer-web-pi-v2-0.aspx#comments</comments><description>&lt;p&gt;Microsoft Web Platform Installer (Web PI) is a free tool that makes getting the latest components of the Microsoft Web Platform easy. This includes the latest Visual Web Developer 2010 Express, ASP.NET 4, and ASP.NET MVC2.&lt;/p&gt;
&lt;p&gt;Web PI can also be used to download open source projects which works on PHP and MySQL. Web PI will guide you throughout the process of downloading, installing, and configuring all software that are required. Following are some screen captures, showing how easy it will be to download and install the popular publishing platform [ WordPress ] with just a few clicks!&lt;/p&gt;
&lt;p&gt;Firstly, you will need to logon to your Windows operating system using an administrative account. This could be &lt;span style="FONT-WEIGHT:normal;"&gt;Windows 7, Windows Vista, Windows XP SP2+, Windows Server 2003 SP1+, Windows Server 2008, and Windows Server 2008 R2.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Then,&amp;nbsp;download and execute Web PI that can be found at &lt;a href="http://www.Microsoft.com/web/downloads/platform.aspx"&gt;http://www.Microsoft.com/web/downloads/platform.aspx&lt;/a&gt; &lt;br /&gt;Here&amp;#39;s&amp;nbsp;how Web Platform Installer v2.0 looks like.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/1172.1004252121-Web-PI-_2D00_-What_2700_s-New.JPG"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/5466.1004252124-Web-PI-_2D00_-WordPress.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/5466.1004252124-Web-PI-_2D00_-WordPress.JPG" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Choose [WordPress], and press [Install]. Web PI will proceed to detect 3rd-party applications that need to be downloaded (PHP, MySQL, WordPress), and the Microsoft products and components that need to be installed and configured (IIS).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/5707.1004252125-Web-PI-_2D00_-Components-to-be-installed-01.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/5707.1004252125-Web-PI-_2D00_-Components-to-be-installed-01.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As MySQL will need to be installed in order to support WordPress, Web PI will prompt for the root password of MySQL.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/4718.1004252126-Web-PI-_2D00_-MySQL-root-password.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/4718.1004252126-Web-PI-_2D00_-MySQL-root-password.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Press [Continue], and the installation starts.&amp;nbsp;Web PI will download, install, and configure all of the software for you!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/7357.1004252128-Web-PI.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/7357.1004252128-Web-PI.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/4212.1004252130-Web-PI.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/4212.1004252130-Web-PI.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/2555.1004252133-Web-PI.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/2555.1004252133-Web-PI.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/7838.1004252137-Web-PI.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/7838.1004252137-Web-PI.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/6765.1004252138-Web-PI.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/6765.1004252138-Web-PI.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Web PI will then prompt&amp;nbsp;for&amp;nbsp;the site information for setting up an IIS web site.&lt;br /&gt;(You will need to grant appropriate permission for IIS to access the folder as specified in the &amp;#39;physical path&amp;#39;.)&lt;br /&gt;(Your should absolutely have a different Web site setting!)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/6765.1004252147.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/6765.1004252147.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And the next step is MySQL database settings.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/1007.1004252151.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/1007.1004252151.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/2148.1004252157.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/2148.1004252157.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/4212.1004252219.JPG"&gt;&lt;img src="http://msmvps.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/4212.1004252219.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s that easy! Go, and give it a try!&lt;/p&gt;
&lt;p&gt;===== For more information =====&lt;/p&gt;
&lt;p&gt;~ Microsoft Web Platform Installer 2.0&lt;br /&gt;&lt;a href="http://www.microsoft.com/web/downloads/platform.aspx"&gt;http://www.microsoft.com/web/downloads/platform.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;~ Microsoft Web Platform Installer: The Official Microsoft IIS Site&lt;br /&gt;&lt;a href="http://www.iis.net/webpi"&gt;http://www.iis.net/webpi&lt;/a&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/2664.1004252219.JPG"&gt;&lt;/a&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/martinpoon/2555.1004252133-Web-PI.JPG"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;~ WordPress&lt;br /&gt;&lt;a href="http://wordpress.org"&gt;http://wordpress.org&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1764240" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/.NET/default.aspx">.NET</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/download/default.aspx">download</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/Database/default.aspx">Database</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/Expression/default.aspx">Expression</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/IIS/default.aspx">IIS</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/Open+source/default.aspx">Open source</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/PHP/default.aspx">PHP</category></item><item><title>101 samples for Visual Studio 2005</title><link>http://msmvps.com/blogs/martinpoon/archive/2007/10/20/101-samples-for-visual-studio-2005.aspx</link><pubDate>Sat, 20 Oct 2007 02:43:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1251929</guid><dc:creator>Martin Poon</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/martinpoon/rsscomments.aspx?PostID=1251929</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/martinpoon/commentapi.aspx?PostID=1251929</wfw:comment><comments>http://msmvps.com/blogs/martinpoon/archive/2007/10/20/101-samples-for-visual-studio-2005.aspx#comments</comments><description>&lt;font face="trebuchet ms,geneva"&gt;&lt;font size="4"&gt;Microsoft provides 101 samples to help you get started with Visual Studio 2005. You can find code projects (in C# / VB) related to different categories: data access, web development, windows forms, Visual Studio Tools for Office (VSTO), tablet PC, and .NET Compact Framework.&lt;/font&gt;&lt;/font&gt;&lt;font face="trebuchet ms,geneva" size="4"&gt;&amp;nbsp;&lt;/font&gt;&amp;nbsp; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;font face="trebuchet ms,geneva"&gt;&lt;font size="4"&gt;===== For more information =====&lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;font face="trebuchet ms,geneva"&gt;&lt;font size="4"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="trebuchet ms,geneva"&gt;&lt;font size="4"&gt;~ 101 samples for Visual Studio 2005 &lt;/font&gt;&lt;/font&gt;&amp;nbsp; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="trebuchet ms,geneva" color="#800080" size="4"&gt;&lt;a href="http://msdn2.microsoft.com/en-us/vstudio/aa718334.aspx"&gt;http://msdn2.microsoft.com/en-us/vstudio/aa718334.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1251929" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/VSTO/default.aspx">VSTO</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/.NET/default.aspx">.NET</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/ADO.NET/default.aspx">ADO.NET</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/VS2005/default.aspx">VS2005</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/Database/default.aspx">Database</category></item><item><title>Database snapshot</title><link>http://msmvps.com/blogs/martinpoon/archive/2006/11/03/Database-snapshot.aspx</link><pubDate>Fri, 03 Nov 2006 13:48:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:242367</guid><dc:creator>Martin Poon</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/martinpoon/rsscomments.aspx?PostID=242367</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/martinpoon/commentapi.aspx?PostID=242367</wfw:comment><comments>http://msmvps.com/blogs/martinpoon/archive/2006/11/03/Database-snapshot.aspx#comments</comments><description>&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;Database snapshot is new in SQL Server 2005, and is available only in Enterprise Edition. Database snapshot is a static, read-only view of a source database at the time the snapshot is created, excluding all uncommitted transactions. &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;Snapshots should be placed on the same server instance as the source database, and that multiple snapshots can be created on a database. Though snapshots can be created and dropped without affecting the data of the source database and other snapshots, I do not recommend keeping the snapshot(s) for a long time as the performance of the system will be affected, especially on databases that require frequent updates. Also, back up and restore of snapshots are not supported, and the snapshots are gone when the source database and/or the snapshot are having problems. Therefore, when a persistent and reliable read-only copy of a source database is required, do *not* use database snapshots.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;Following are some of the practical uses of database snapshots. &lt;br /&gt;- To maintain historical data for report generation. &lt;br /&gt;- To offload reporting when combined with mirror database. &lt;br /&gt;- To safeguard data against administrative errors. &lt;br /&gt;- To safeguard data against user errors. &lt;br /&gt;- To manage a test database. &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;Creation of a database snapshot only requires a few seconds, as SQL Server uses a copy-on-write mechanism that does *not* copy the data from the source database immediately. All data is kept in the original database (source database), while a sparse file on the NTFS file system is created for holding the *old data* that have been *changed since* the creation of the snapshot. Before writing any committed transactions to the source database, the original data is copied to all snapshots, and is stored in the sparse files (and thus the term &amp;#39;copy-on-write&amp;#39;). Upon accessing the data of a snapshot, unchanged data will be extracted from the source database, while changed data will be extracted from the sparse file.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;Note that database snapshots are *not* related to snapshot backups, snapshot isolation of transactions, or snapshot replication.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;===== to create a database snapshot ===== &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;Creation of database snapshot is *not* supported in SQL Server Management Studio! To create a database snapshot, execute the following Transact-SQL.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;font face="courier new,courier"&gt;CREATE DATABASE AdventureWorks_dbss200611022200 ON &lt;br /&gt;(NAME = AdventureWorks_Data, FILENAME = &lt;br /&gt;&amp;#39;C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\AdventureWorks_Data200611022200.snapshot&amp;#39;) &lt;br /&gt;AS SNAPSHOT OF AdventureWorks;&lt;/font&gt; &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;Following are some recommendations for managing the snapshots. &lt;br /&gt;- Name of the database snapshot is AdventureWorks_dbss200611022200. It is a good practice to specify the name of the source database (AdventureWorks), an indication for database snapshot (dbss), the create date (20061102) and time (2200).&lt;br /&gt;- Limit the number of database snapshots as all database snapshots continue to grow when the source pages are updated. &lt;br /&gt;- Give a meaningful file extension name for the physical snapshot file (e.g., *.snapshot). &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;===== to drop a database snapshot ===== &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;font face="trebuchet ms,geneva"&gt;The following Transact-SQL can be used to drop a database snapshot. All user connections to the database snapshot will be terminated. All sparse files that are used by the database snapshot will also be removed.&lt;/font&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="courier new,courier" size="3"&gt;DROP DATABASE AdventureWorks_dbss200611022200 &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;===== to revert a database snapshot ===== &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;Before reverting a database snapshot, all other database snapshots of the same source database should be dropped. The following Transact-SQL can be used to revert the AdventureWorks database to the database snapshot AdventureWorks_dbss200611022200.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="courier new,courier" size="3"&gt;USE master; &lt;br /&gt;-- Drop AdventureWorks_dbss200611022345 if it exists. &lt;br /&gt;IF EXISTS (SELECT dbid FROM sys.databases &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE NAME = &amp;#39;AdventureWorks_dbss200611022345&amp;#39;) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DROP DATABASE AdventureWorks_dbss200611022345; &lt;br /&gt;-- Reverting AdventureWorks to AdventureWorks_dbss200611022200 &lt;br /&gt;RESTORE DATABASE AdventureWorks &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM DATABASE_SNAPSHOT = &amp;#39;AdventureWorks_dbss200611022200&amp;#39;; &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;===== limitations on the source database ===== &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;- The source database cannot be dropped, detached, or restored. &lt;br /&gt;- I/O is increased resulting from the copy-on-write operation. &lt;br /&gt;- Files cannot be dropped from the source database or from any snapshots. &lt;br /&gt;- The source database cannot be configured as a scalable shared database. &lt;br /&gt;- The source database should be online, unless the database is a mirror database within a database mirroring session. &lt;br /&gt;- To create a database snapshot on a mirror database, the database must be in the synchronized mirroring state. &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;===== limitations on the database snapshots ===== &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;- Back up, restore, attach, detach, full-text indexing are not supported for database snapshots. &lt;br /&gt;- Security constraints of a database snapshot inherits from the source database at the time of snapshot creation. The inherited permissions cannot be changed and permission changes made to the source database will *not* be reflected in the database snapshots.&lt;br /&gt;- Database snapshots must be placed on the same server instance as the source database. &lt;br /&gt;- Database snapshots works on an entire database. &lt;br /&gt;- When a snapshot runs out of disk space, the snapshot becomes suspect and must be deleted. &lt;br /&gt;- Snapshots are read-only. &lt;br /&gt;- Snapshots cannot be created on the model, master, and tempdb databases. &lt;br /&gt;- Files cannot be dropped from a database snapshot. &lt;br /&gt;- Database snapshots can only be created on NTFS file systems. &lt;br /&gt;- A snapshot always reflects the state of filegroups at the time of snapshot creation: online filegroups remain online, while offline filegroups remain offline.&lt;br /&gt;- Database snapshots depend on source database. When the source database becomes RECOVERY_PENDING, the database snapshots may become inaccessible.&lt;br /&gt;- Reverting is unsupported for read-only filegroups or compressed filegroups. &lt;br /&gt;- In a log shipping configuration, database snapshots can be created only on the primary database, and *not* on a secondary database. Database snapshots will need to be dropped when the roles of the primary and secondary server instances need to be switched.&lt;br /&gt;- The database snapshot cannot be configured as a scalable shared database. &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;===== restrictions on reverting ===== &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;- The source database should not contain any read-only or compressed filegroups. &lt;br /&gt;- The online status of the files should be the same as when the snapshot was created. &lt;br /&gt;- Only one snapshot can exist. &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;===== for more information ===== &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;- Database Snapshots (SQL Server 2005 Books Online) &lt;br /&gt;&lt;/font&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms175158.aspx"&gt;&lt;font face="trebuchet ms,geneva" size="3"&gt;http://msdn2.microsoft.com/en-us/library/ms175158.aspx&lt;/font&gt;&lt;/a&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=242367" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/SQL+Server+Enterprise+Edition/default.aspx">SQL Server Enterprise Edition</category><category domain="http://msmvps.com/blogs/martinpoon/archive/tags/Database/default.aspx">Database</category></item></channel></rss>