﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by wfvdijk  / usp_createsnapshot / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 13:04:59 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: usp_createsnapshot</title><link>http://www.sqlservercentral.com/Forums/Topic507963-1009-1.aspx</link><description>Sorry, I made typo in my previous post.There are no instances nodes under HKLM\Software\Microsoft\Microsoft SQL Server.However, I did find it under:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\MSSQL.1It would appear that the 32bit version of SQL2005 was installed on the 64bit OS, which is why it got confused.Will have to check which media was used for the install, because I thought it was just the standard MSDN DVD installer which should hopefully have installed the right edition.</description><pubDate>Sun, 20 Jul 2008 17:08:08 GMT</pubDate><dc:creator>Dave Dustin</dc:creator></item><item><title>RE: usp_createsnapshot</title><link>http://www.sqlservercentral.com/Forums/Topic507963-1009-1.aspx</link><description>Try this key:Set	@RegPath = 'SOFTWARE\Microsoft\Microsoft SQL Server\' + @SQLInstance + '\Setup'EXEC	master..xp_regread 'HKEY_LOCAL_MACHINE', @RegPath, 'SQLDataRoot', @value=@DataPath OUTPUT</description><pubDate>Mon, 14 Jul 2008 06:17:49 GMT</pubDate><dc:creator>Wilfred van Dijk</dc:creator></item><item><title>RE: usp_createsnapshot</title><link>http://www.sqlservercentral.com/Forums/Topic507963-1009-1.aspx</link><description>[quote][b]Wilfred van Dijk (7/9/2008)[/b][hr]I don't know why the registry check isn't working on your server. Do you have a different instancename? Have you checked your registry?[/quote]It's a standard default instance install.I've checked and there is no node for HKEY_LOCAL_MACHINE\Microsoft\Microsoft SQL Server\MSSQL.1</description><pubDate>Wed, 09 Jul 2008 04:36:22 GMT</pubDate><dc:creator>Dave Dustin</dc:creator></item><item><title>RE: usp_createsnapshot</title><link>http://www.sqlservercentral.com/Forums/Topic507963-1009-1.aspx</link><description>Thanks for your reply. Just extend the edition check to:[code]/*    Snapshots are only supported on Developer and Enterprise editions*/    if CAST(serverproperty('Edition') AS VARCHAR) not like 'Enterprise%'    and CAST(serverproperty('Edition') AS VARCHAR) not like 'Developer%'        begin            if @verbose = 1                raiserror('This SQL Server edition does not support snapshots',10,1)                return 1        end[/code](I'll post an updated version later)I don't know why the registry check isn't working on your server. Do you have a different instancename? Have you checked your registry?</description><pubDate>Wed, 09 Jul 2008 01:58:22 GMT</pubDate><dc:creator>Wilfred van Dijk</dc:creator></item><item><title>RE: usp_createsnapshot</title><link>http://www.sqlservercentral.com/Forums/Topic507963-1009-1.aspx</link><description>Snapshots are supported on Developer Edition, not just Enterprise Edition.Also, the call to master..xp_regread doesn't work with my x64 install.  Can't find the path in the registry.</description><pubDate>Tue, 08 Jul 2008 20:48:08 GMT</pubDate><dc:creator>Dave Dustin</dc:creator></item><item><title>usp_createsnapshot</title><link>http://www.sqlservercentral.com/Forums/Topic507963-1009-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Database+Snapshots/63243/"&gt;usp_createsnapshot&lt;/A&gt;[/B]</description><pubDate>Wed, 28 May 2008 13:19:18 GMT</pubDate><dc:creator>Wilfred van Dijk</dc:creator></item></channel></rss>