{"id":641,"date":"2006-05-13T21:48:23","date_gmt":"2006-05-13T21:48:23","guid":{"rendered":"\/blogs\/kimberly\/post\/TechNet-Webcast-Series-for-the-ITPro-Part-10-of-11-errata.aspx"},"modified":"2006-05-13T21:48:23","modified_gmt":"2006-05-13T21:48:23","slug":"technet-webcast-series-for-the-itpro-part-10-of-11-errata","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/technet-webcast-series-for-the-itpro-part-10-of-11-errata\/","title":{"rendered":"TechNet Webcast Series for the ITPro &#8211; Part 10 of 11 &#8211; errata"},"content":{"rendered":"<p><P>In the last few minutes of the webcast (part 10), I goofed up one line of code and didn&#8217;t realize it until today. As my very last demo (<EM>and there were at least 10 different scenarios\/concepts\/demos yesterday<\/EM>) in my webcast, I decided to show a Database Snapshot on a Mirror database. It was the second database snapshot that I had created so my first database snapshot demo was just fine. However, when I went to create the database snapshot on the mirror, I inadvertently left off the most important part &#8220;AS SNAPSHOT OF AdventureWorks&#8221;. The irony is that I tried to query some tables and just ended up (because we were right at the end of the webcast ;)) saying that I probably wasn&#8217;t getting the table names right. Ha &#8211; there were no tables&#8230; I hadn&#8217;t created a database snapshot, I had created just another database &#8211; so the only tables I was seeing were the catalog views.<\/P><br \/>\n<P>Anyway, just for clarity, I corrected the &#8220;Demo Scripts&#8221; zip that&#8217;s associated with Part 10 BUT if you&#8217;ve already downloaded it then you&#8217;ll have the old (and incorrect) version of this script (SnapshotOnMirror.sql). And, for completeness, I&#8217;ll put the code that I executed during the webcast here: <\/P><FONT color=#0000ff size=2><br \/>\n<BLOCKQUOTE dir=ltr style=\"MARGIN-RIGHT: 0px\"><br \/>\n<P>USE<\/FONT><FONT size=2><FONT color=#000000> AdventureWorks<BR><\/FONT>go<\/P><\/FONT><FONT color=#0000ff size=2><br \/>\n<P>USE<\/FONT><FONT size=2><FONT color=#000000> master<BR><\/FONT>go<\/P><\/FONT><FONT color=#0000ff size=2><br \/>\n<P>CREATE<\/FONT><FONT color=#000000 size=2> <\/FONT><FONT color=#0000ff size=2>DATABASE<\/FONT><FONT size=2><FONT color=#000000> AdventureWorksSnap<BR><\/FONT><\/FONT><FONT color=#0000ff size=2>ON<BR><\/FONT><FONT color=#808080 size=2>(<\/FONT><FONT color=#000000 size=2> <\/FONT><FONT color=#0000ff size=2>NAME<\/FONT><FONT color=#000000 size=2> <\/FONT><FONT color=#808080 size=2>=<\/FONT><FONT color=#000000 size=2> N<\/FONT><FONT color=#ff0000 size=2>&#8216;AdventureWorks_Data&#8217;<\/FONT><FONT color=#808080 size=2>,<\/FONT><FONT size=2><FONT color=#000000> <BR><\/FONT><\/FONT><FONT color=#0000ff size=2>FILENAME<\/FONT><FONT size=2> <\/FONT><FONT color=#808080 size=2>=<\/FONT><FONT size=2> N<\/FONT><FONT color=#ff0000 size=2>&#8216;C:\\Program Files\\Microsoft SQL Server\\MSSQL.1\\MSSQL\\Data\\AdventureWorksSnap_Data.mdfss&#8217;<\/FONT><FONT color=#808080 size=2>)<BR><\/FONT><FONT color=#008000 size=2>&#8212; , SIZE = 167872KB , MAXSIZE = UNLIMITED, FILEGROWTH = 16384KB )<BR><\/FONT><FONT size=2>go<\/P><\/BLOCKQUOTE><\/FONT><br \/>\n<P>and the code that I should have executed here:<\/P><br \/>\n<BLOCKQUOTE dir=ltr style=\"MARGIN-RIGHT: 0px\"><br \/>\n<P><FONT color=#0000ff>USE<\/FONT><FONT size=2><FONT color=#000000> AdventureWorks<BR><\/FONT>go<\/P><\/FONT><FONT color=#0000ff size=2><br \/>\n<P>USE<\/FONT><FONT size=2><FONT color=#000000> master<BR><\/FONT>go<\/P><\/FONT><FONT color=#0000ff size=2><br \/>\n<P>CREATE<\/FONT><FONT color=#000000 size=2> <\/FONT><FONT color=#0000ff size=2>DATABASE<\/FONT><FONT size=2><FONT color=#000000> AdventureWorksSnap<BR><\/FONT><\/FONT><FONT color=#0000ff size=2>ON<BR><\/FONT><FONT color=#808080 size=2>(<\/FONT><FONT color=#000000 size=2> <\/FONT><FONT color=#0000ff size=2>NAME<\/FONT><FONT color=#000000 size=2> <\/FONT><FONT color=#808080 size=2>=<\/FONT><FONT color=#000000 size=2> N<\/FONT><FONT color=#ff0000 size=2>&#8216;AdventureWorks_Data&#8217;<\/FONT><FONT color=#808080 size=2>,<\/FONT><FONT size=2><FONT color=#000000> <BR><\/FONT><\/FONT><FONT color=#0000ff size=2>FILENAME<\/FONT><FONT size=2> <\/FONT><FONT color=#808080 size=2>=<\/FONT><FONT size=2> N<\/FONT><FONT color=#ff0000 size=2>&#8216;C:\\Program Files\\Microsoft SQL Server\\MSSQL.1\\MSSQL\\Data\\AdventureWorksSnap_Data.mdfss&#8217;<\/FONT><FONT color=#808080 size=2>)<BR><\/FONT><FONT color=#008000 size=2>&#8212; , SIZE = 167872KB , MAXSIZE = UNLIMITED, FILEGROWTH = 16384KB )<BR><FONT color=#0000ff><U>AS<\/U><\/FONT><FONT size=2><FONT color=#000000><U> SNAPSHOT&nbsp;<FONT color=#0000ff>OF<\/FONT><\/U><FONT size=2><FONT color=#000000><U> AdventureWorks<\/U>&nbsp; <\/FONT><FONT color=#0000ff><STRONG>&lt;&lt;&lt;&lt; &#8212;&#8212;&#8212;-<\/STRONG><\/FONT><\/FONT><\/FONT><\/FONT><BR><\/FONT><FONT size=2>go<\/FONT><\/P><br \/>\n<P><FONT color=#0000ff>USE<\/FONT><FONT size=2><FONT color=#000000> AdventureWorksSnap<BR>go<\/FONT><\/FONT><\/P><br \/>\n<P><FONT color=#000000><FONT color=#0000ff>SELECT <FONT color=#a9a9a9>*<\/FONT> FROM<\/FONT><FONT size=2><FONT color=#000000>&nbsp;person.contact<BR>go<\/FONT><\/FONT><\/FONT><\/P><\/BLOCKQUOTE><br \/>\n<P dir=ltr><FONT color=#000000>So, quick demos right at the end of the webcast might not have been my best idea ;). But &#8211; I&#8217;m surprised none of you called me on it?! I&#8217;ll blame it on <a href=\"http:\/\/www.amazon.com\/gp\/music\/clipserve\/B0000033LN002010\/0\/ref=mu_sam_wma_002_010\/103-5348227-5827044\" class=\"broken_link\">this<\/a> for now. <\/FONT><\/P><br \/>\n<P dir=ltr><FONT color=#000000>Have a great weekend,<BR>kt<\/FONT><\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the last few minutes of the webcast (part 10), I goofed up one line of code and didn&#8217;t realize it until today. As my very last demo (and there were at least 10 different scenarios\/concepts\/demos yesterday) in my webcast, I decided to show a Database Snapshot on a Mirror database. It was the second [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,58,65,74,78],"tags":[],"class_list":["post-641","post","type-post","status-publish","format-standard","hentry","category-events","category-resources","category-sql-server-2005","category-technet-webcasts","category-tips"],"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/posts\/641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/comments?post=641"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/posts\/641\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/media?parent=641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/categories?post=641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/kimberly\/wp-json\/wp\/v2\/tags?post=641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}