<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>My torn data pages</title>
  <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/" />
  <link rel="self" href="http://www.resquel.com/ssb/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2008-06-17T18:13:20.0930376+02:00</updated>
  <author>
    <name>Stan Segers</name>
  </author>
  <subtitle>ReSQueL -- Blog</subtitle>
  <id>http://www.resquel.com/ssb/</id>
  <generator uri="http://www.dasblog.net" version="2.0.7180.0">DasBlog</generator>
  <entry>
    <title>Getting ready for 70-432</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,24bcccff-03e6-4497-a086-7416dbe1905c.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,24bcccff-03e6-4497-a086-7416dbe1905c.aspx</id>
    <published>2008-06-17T18:13:20.0930376+02:00</published>
    <updated>2008-06-17T18:13:20.0930376+02:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
After running through the prep-guide (looking through a pair of SQL Server 2005 glasses),
I identified a couple of topics worth giving a closer look. The topics are derived
from the prep-guide, my comments about the topic added in <em><font color="#0000ff">blue
italics</font></em> and the bulleted list refers to (mostly) BOL-resources. This post
is based on the <a href="http://www.microsoft.com/learning/en/us/exams/70-432.mspx">prep-guide
for 70-432</a> with published date June 11, 2008 
</p>
        <blockquote>
          <p>
            <b>Installing and Configuring SQL Server 2008 (10 percent)</b>
          </p>
          <p>
Configure additional SQL Server components. 
<br />
This objective may include but is not limited to: SQL Server Integration Services
(SSIS), SQL Server Analysis Services (SSAS), SQL Server Reporting Services (SSRS),
replication. <font color="#0000ff"><em>Not that I expect this to be really different
from SQL Server 2005, but if your background is just DBA (MCTS/MCITP) it may be your
first encounter with the BI-components.</em></font></p>
          <ul>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/ms143731(SQL.100).aspx" target="_blank">Considerations
for Installing Integration Services</a>
            </li>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/ms143708(SQL.100).aspx" target="_blank">Considerations
for Installing Analysis Services</a>
            </li>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/ms143736(SQL.100).aspx" target="_blank">Considerations
for Installing Reporting Services</a>
            </li>
          </ul>
          <p>
            <b>Maintaining SQL Server Instances (13 percent)</b>
          </p>
          <p>
Implement the declarative management framework (DMF).<br />
This objective may include but is not limited to: create a policy; verify a policy;
schedule a policy compliance check; enforce a policy; create a condition. 
</p>
          <ul>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/bb510667(SQL.100).aspx">Administering
Servers by Using Policy-Based Management</a> Entry page, includes <a title="Tutorial: Administering Servers by Using Policy-Based Management" href="http://msdn.microsoft.com/en-us/library/bb522659(SQL.100).aspx">tutorial</a>. 
</li>
            <li>
Oh, <a title="Dan's Blog: Declarative Management is Out!" href="http://blogs.msdn.com/dtjones/archive/2007/12/22/declarative-management-is-out.aspx">DMF
= Policy-Based Management</a>... stupid MS-Name-Game. 
</li>
          </ul>
          <p>
Back up a SQL Server environment. 
<br />
This objective may include but is not limited to: operating system-level concepts. <font color="#0000ff"><em>I
don't expect a lot of fireworks, but the operating system-level concepts made me curious.</em></font></p>
          <ul>
            <li>
              <a title="http://msdn.microsoft.com/en-us/library/ms178094(SQL.100).aspx" href="http://msdn.microsoft.com/en-us/library/ms178094(SQL.100).aspx">Planning
for Disaster Recovery</a> Actually, I'm still curious what is meant by operating system-level
concepts. This link from BOL is actually my best shot at a document where some broader
considerations are presented.</li>
          </ul>
          <p>
            <b>Managing SQL Server Security (15 percent)</b>
          </p>
          <p>
Manage transparent data encryption.<br />
This objective may include but is not limited to: impact of transparent data encryption
on backups. 
</p>
          <ul>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/cc278098(SQL.100).aspx" target="_blank">Database
Encryption in SQL Server 2008 Enterprise Edition</a> General overview of encryption,
how TDE fits in and some remarks on how backup is affected. Since the topic says "not
limited to", consider the whole article to be valuable. 
</li>
          </ul>
          <p>
            <b>Maintaining a SQL Server Database (16 percent)</b>
          </p>
          <p>
Back up databases.<br />
This objective may include but is not limited to: full backups; differential backups;
transaction log; compressed backups; file and filegroup backups; verifying backup. <em><font color="#0000ff">Only
compressed backups is to be classified as new.</font></em></p>
          <ul>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/bb964719(SQL.100).aspx" target="_blank">Backup
Compression (SQL Server)</a>
            </li>
          </ul>
          <p>
            <b>Performing Data Management Tasks (14 percent)</b>
          </p>
          <p>
Implement data compression.<br />
This objective may include but is not limited to: sparse columns; page/row. 
</p>
          <ul>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/cc280604(SQL.100).aspx">Using Sparse
Columns</a>
            </li>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/cc280521(SQL.100).aspx">Using Column
Sets</a>
            </li>
          </ul>
          <p>
Maintain indexes.<br />
This objective may include but is not limited to: create spatial indexes; create partitioned
indexes; clustered and non-clustered indexes; XML indexes; disable and enable indexes;
filtered index on sparse columns; indexes with included columns; rebuilding/reorganizing
indexes; online/offline. <font color="#0000ff"><em>Spatial and filtered indexes on
sparse columns are of interest here, along with "is not limited to" which could be
indexes on hierarchyid columns.</em></font></p>
          <ul>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/bb895265(SQL.100).aspx">Working with
Spatial Indexes (Database Engine)</a> Entry Page 
</li>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/cc280372(SQL.100).aspx">Filtered
Index Design Guidelines</a>
            </li>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/bb677173(SQL.100).aspx">Using hierarchyid
Data Types (Database Engine)</a> includes <a title="Tutorial: Using the hierarchyid Data Type" href="http://msdn.microsoft.com/en-us/library/bb677213(SQL.100).aspx">Tutorial</a></li>
          </ul>
          <p>
            <b>Optimizing SQL Server Performance (10 percent)</b>
          </p>
          <p>
Implement Resource Governor. 
</p>
          <ul>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/bb933866(SQL.100).aspx">Managing
SQL Server Workloads with Resource Governor</a> Entry page, includes <a title="Resource Governor How-to Topics" href="http://msdn.microsoft.com/en-us/library/bb964723(SQL.100).aspx">How-To</a></li>
          </ul>
          <p>
Use Performance Studio. 
</p>
          <ul>
            <li>
              <a href="http://msdn.microsoft.com/en-us/library/bb677179(SQL.100).aspx">Data Collection</a> Entry
page, includes <a title="Managing Data Collection How-to Topics" href="http://msdn.microsoft.com/en-us/library/bb677329(SQL.100).aspx">How-To</a></li>
            <li>
Again, Performance Studio, also an MS-Name-Game, what you're really looking for is
Data Collection... and trying to get that confirmed, I found this <a href="https://msevents.microsoft.com/cui/WebCastEventDetails.aspx?culture=en-US&amp;EventID=1032349947">webcast
by Bill Ramos</a> (62 minutes).</li>
          </ul>
        </blockquote>
        <p>
The rest, well it is all too familiar from SQL Server 2005. Sure, I'll look for some
"<a title="What's New (Database Engine)" href="http://msdn.microsoft.com/en-us/library/bb510411(SQL.100).aspx">What's
new</a>" resources, but I think the above pretty much covers what I need to familiarize
my self with.
</p>
        <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:e8e79581-27ef-4718-9892-c1522d38ef95" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati
tags: <a href="http://technorati.com/tags/70-432" rel="tag">70-432</a>, <a href="http://technorati.com/tags/SQL%20Server%202008" rel="tag">SQL
Server 2008</a>, <a href="http://technorati.com/tags/MCTS" rel="tag">MCTS</a></div>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=24bcccff-03e6-4497-a086-7416dbe1905c" />
      </div>
    </content>
  </entry>
  <entry>
    <title>SQL Server 2008 coming closer</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,3b929db0-ba00-442c-acb8-2abaab8505d6.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,3b929db0-ba00-442c-acb8-2abaab8505d6.aspx</id>
    <published>2008-06-10T20:02:47.7059943+02:00</published>
    <updated>2008-06-10T20:02:47.7059943+02:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://www.microsoft.com/downloads/details.aspx?familyid=35f53843-03f7-4ed5-8142-24a4c024ca05&amp;displaylang=en" target="_blank">Release
Candidate 0</a> is available for download (and downloading) and the MCTS exam <a href="http://www.microsoft.com/learning/en/us/exams/70-432.mspx" target="_blank">70-432</a> went
into beta testing (and I registered). Since the beta is only running from June 9th
through June 30th, I had to go for 27th as it was the only gap in my schedule. Let's
see if I can find the time to blog about my preparations...
</p>
        <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:4ce57898-daf8-422e-8871-8f3bd2caf736" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati
tags: <a href="http://technorati.com/tags/70-432" rel="tag">70-432</a>, <a href="http://technorati.com/tags/SQL%20Server%202008" rel="tag">SQL
Server 2008</a>, <a href="http://technorati.com/tags/MCTS" rel="tag">MCTS</a></div>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=3b929db0-ba00-442c-acb8-2abaab8505d6" />
      </div>
    </content>
  </entry>
  <entry>
    <title>-----</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,9a538a8b-42e9-441f-a276-2559cb930b34.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,9a538a8b-42e9-441f-a276-2559cb930b34.aspx</id>
    <published>2008-06-06T06:52:38.5936086+02:00</published>
    <updated>2008-06-06T06:52:38.5936086+02:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://blogs.msdn.com/euanga/archive/2008/06/05/sql-server-has-a-logo-again.aspx" target="_blank">
            <img src="/ssb/content/upload/logo-header-sql08-dg.gif" border="0" />
          </a>
        </p>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=9a538a8b-42e9-441f-a276-2559cb930b34" />
      </div>
    </content>
  </entry>
  <entry>
    <title>70-446 exam = pass</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,82af5194-ccfc-41cf-825f-b01a3cc136bf.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,82af5194-ccfc-41cf-825f-b01a3cc136bf.aspx</id>
    <published>2008-06-06T00:14:29.186+02:00</published>
    <updated>2008-06-06T00:18:57.622487+02:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Exam-stats: 180 minutes<sup>1</sup>, 61 question spread over 6 testlets (cases), passing
score 700 points, only multiple choice questions, no simulations. I got 752, was lousy
on SSAS ...and this actually was the first Microsoft exam where I really needed the
time!!!  Compared to the other MCITP (70-443, 70-444 and 71-647) exams I sat,
it was a lot more reading and fact-finding in the case-studies. 
</p>
        <p>
What surprised me on this exam, were a couple of questions targeted at the database
engine. Think towards backup-requirements for filegroups (which are needed for partitioned
tables), index optimization and transaction isolation levels (not mentioned in prep-guide).
Unfortunately these topics aren't covered<sup>2</sup> in the courses 2794 to 2797
(or in 2791 to 2793). From the topics that are covered in the prep-guide, I'd say
the number of questions was pretty balanced, only four things were really sticking
out:
</p>
        <ul>
          <li>
Which data mining algorithm to apply in a certain scenario. 
</li>
          <li>
Storage strategy for SSAS cubes. 
</li>
          <li>
Slowly changing dimensions. 
</li>
          <li>
Designing dimensions and hierarchies.</li>
        </ul>
        <p>
Useful resources for preparation.
</p>
        <ul>
          <li>
First of all, don't count on the Training-Kit for 70-446 from MS Press, it was announced
but won't be released (<a title="MCITP BI News; some news for MCTS BI and SQL Server 2008" href="http://sqlblogcasts.com/blogs/greenmtnsun/archive/2007/10/17/recources-for-the-premier-microsoft-business-intelligence-certification-mcitp-bi-for-sql-server-2005-is-fading-from-microsoft.aspx">MCITP
BI News; some news for MCTS BI and SQL Server 2008</a>). But if you don't take the
Microsoft courses, the MCTS Training Kit for 70-445 (ISBN 9780735623415) is a useful
resource. 
</li>
          <li>
            <a href="http://www.microsoft.com/learning/en/us/exams/70-446.mspx" target="_blank">Prep-guide</a> (don't
go there without one). 
</li>
          <li>
            <a href="http://peterkol.spaces.live.com/blog/cns!68755AEAC31F9A6C!196.entry" target="_blank">Peter
Koller's review of 70-446 beta (and 70-445 beta)</a>. 
</li>
          <li>
            <a href="http://sqlblogcasts.com/blogs/jorg/archive/2008/03/28/mcitp-i-passed-the-70-446-pro-designing-a-business-intelligence-infrastructure-by-using-microsoft-sql-server-2005-exam.aspx" target="_blank">Jorg
Klein's passing of 70-446</a>. 
</li>
          <li>
            <a href="http://bonkster.blogspot.com/2008/02/examen-70-446-business-intelligence.html" target="_blank">Ronald
Kaijesteijns "verslag"</a> (that is Dutch, as well as the rest of his post).</li>
        </ul>
        <sup>1</sup>Actually, you get about 3 minutes per question grouped per testlet. This
means for a 9 question testlet you get about 27 minutes, time left on one testlet
is not added to the next. The 180 minutes should be regarded as an indication for
the maximum exam length.<br /><sup>2</sup> At best superficially mentioned in 2796.<img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=82af5194-ccfc-41cf-825f-b01a3cc136bf" /></div>
    </content>
  </entry>
  <entry>
    <title>SQL Server 2008 certifications (MCTS/MCITP)</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,c7d05384-575f-4e85-b8b6-27da57102597.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,c7d05384-575f-4e85-b8b6-27da57102597.aspx</id>
    <published>2008-05-31T17:19:20.1424086+02:00</published>
    <updated>2008-05-31T17:19:20.1424086+02:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Just a few links where you can find more info about <a href="http://www.microsoft.com/learning/mcp/sql/2008/default.mspx" target="_blank">SQL
Server 2008 Certification</a> in general and about the separate certification tracks
and exams.
</p>
        <table cellspacing="0" cellpadding="2" width="100%" border="1">
          <tbody>
            <tr>
              <td valign="top" width="25%" bgcolor="#e0c0c0">
Track alignment</td>
              <td valign="top" width="25%" bgcolor="#f0e0e0">
Database Administration</td>
              <td valign="top" width="25%" bgcolor="#f0e0e0">
Database Development</td>
              <td valign="top" width="25%" bgcolor="#f0e0e0">
Business Intelligence</td>
            </tr>
            <tr>
              <td valign="top" width="25%" bgcolor="#f0e0e0">
Microsoft Certified Technology Specialist (MCTS)</td>
              <td valign="top" width="25%">
                <p>
MCTS: SQL Server 2008, Implementation and Maintenance
</p>
              </td>
              <td valign="top" width="25%">
                <p>
MCTS: SQL Server 2008, Database Development
</p>
              </td>
              <td valign="top" width="25%">
                <p>
MCTS: SQL Server 2008, Business Intelligence Development and Maintenance
</p>
              </td>
            </tr>
            <tr>
              <td valign="top" width="25%" bgcolor="#f0e0e0">
                <a href="http://www.microsoft.com/learning/mcp/mcts/sql/2008/default.mspx" target="_blank">MCTS
requirements</a>
              </td>
              <td valign="top" width="25%">
Pass: <a href="http://www.microsoft.com/learning/exams/70-432.mspx">Exam 70-432</a> (expected
availability of exam August 2008)</td>
              <td valign="top" width="25%">
Pass: <a href="http://www.microsoft.com/learning/exams/70-433.mspx">Exam 70-433</a> (expected
availability of exam October 2008)</td>
              <td valign="top" width="25%">
Pass: <a href="http://www.microsoft.com/learning/exams/70-448.mspx">Exam 70-448</a> (expected
availability of exam August 2008)</td>
            </tr>
            <tr>
              <td valign="top" width="25%" bgcolor="#f0e0e0">
Microsoft Certified Information Technology Professional</td>
              <td valign="top" width="25%">
                <p>
MCITP: Database Administrator 2008
</p>
              </td>
              <td valign="top" width="25%">
                <p>
MCITP: Database Developer 2008
</p>
              </td>
              <td valign="top" width="25%">
                <p>
MCITP: Business Intelligence Developer 2008
</p>
              </td>
            </tr>
            <tr>
              <td valign="top" width="25%" bgcolor="#f0e0e0">
                <a href="http://www.microsoft.com/learning/mcp/mcitp/sql/2008/default.mspx" target="_blank">MCITP
requirements</a>
              </td>
              <td valign="top" width="25%">
Hold above MCTS certification and pass <a href="http://www.microsoft.com/learning/exams/70-450.mspx">Exam
70-450</a> (expected availability of exam November 2008)</td>
              <td valign="top" width="25%">
Hold above MCTS certification and pass <a href="http://www.microsoft.com/learning/exams/70-451.mspx">Exam
70-451</a> (expected availability of exam January 2009)</td>
              <td valign="top" width="25%">
Hold above MCTS certification and pass <a href="http://www.microsoft.com/learning/exams/70-452.mspx">Exam
70-452</a> (expected availability of exam November 2008)</td>
            </tr>
            <tr>
              <td valign="top" width="25%" bgcolor="#f0e0e0">
Upgrade option existing MCITP for SQL Server 2005</td>
              <td valign="top" width="25%">
Existing <a href="http://www.microsoft.com/learning/mcp/mcitp/dbadmin/default.mspx" target="_blank">MCITP:Database
Administrator</a>s can upgrade above MCTS and MCITP by passing Exam 70-453 (expected
availability of preparation guide September 2008)</td>
              <td valign="top" width="25%">
Existing <a href="http://www.microsoft.com/learning/mcp/mcitp/dbdev/default.mspx" target="_blank">MCITP:Database
Developer</a>s can upgrade above MCTS and MCITP by passing Exam 70-454 (expected availability
of preparation guide September 2008)</td>
              <td valign="top" width="25%">
Existing <a href="http://www.microsoft.com/learning/mcp/mcitp/bid/default.mspx" target="_blank">MCITP:Business
Intelligence Developer</a>s can upgrade above MCTS and MCITP by passing Exam 70-455
(expected availability of preparation guide September 2008)</td>
            </tr>
          </tbody>
        </table>
No upgrade paths exist for MCTS for SQL Server 2005 to MCTS for SQL Server 2008. Thanks
Trika, for the <a href="http://blogs.msdn.com/trika/archive/2008/05/30/get-to-know-sql-server-2008-certifications.aspx" target="_blank">pointer</a> and <a href="http://cid-17971e0c952a3d0a.skydrive.live.com/self.aspx/MSFT_Certification/SQLMap.pdf" target="_blank">poster</a>.<img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=c7d05384-575f-4e85-b8b6-27da57102597" /></div>
    </content>
  </entry>
  <entry>
    <title>Backup/Restore; Operating System Error 3</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,b57d5bd7-ba21-4da9-a150-2e4c7b9d94cf.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,b57d5bd7-ba21-4da9-a150-2e4c7b9d94cf.aspx</id>
    <published>2008-05-28T21:55:46.6378859+02:00</published>
    <updated>2008-05-28T21:55:46.6378859+02:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
In other words, the system could not find the specified path... that was when I tried
restoring through a substituted (<strong><font face="Courier New">subst R: G:\project02\SQLBackup</font></strong>)
drive, and for sure R:\MyDB_20080521.bak did exist. Nastier was the fact that G:\project02\SQLBackup\MyDB_20080521.bak
restored in an instant, so the problem was likely to be found in the interaction between
subst and SQL Server. This was rather disappointing, as it would have been nice to
separate the environment for different customers/projects and still be able to use
generic scripts targeted at a drive-letter.
</p>
        <p>
So a little quest started to find some solutions, if it's a bug?, should be a feature...
I was surprised by the small number of pointers I came across on the Internet and
only one useful. After establishing <font face="Courier New"><strong>net use R: \\myserver\projdata\project02\SQLBackup</strong></font> suffered
the same problem when it came to restoring, I widened the search an came across a <a href="http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=124707" target="_blank">post
from the beta stage of SQL Server 2005</a>. In there Erland Sommarskog hinted it might
have something to do with profile setting, which would apply if the setting in question
weren't a system setting. Now that made perfect sense, so let's see how the world
looks like through xp_cmdshell.
</p>
        <p>
So on my SQL Server 2005 instance I enabled xp_cmdshell and I substituted a path for
a drive letter on Windows. Sure enough, I could see the substituted drive W: as pointing
to D:\SQLData, but running <font face="Courier New"><strong><font color="#0000ff">EXEC</font><font color="#800000">xp_cmdshell</font><font color="#ff0000">'subst'</font></strong></font> yielded
NULL from the instance running under LocalSystem. Then, after running <font face="Courier New"><strong><font color="#0000ff">EXEC</font><font color="#800000">xp_cmdshell</font><font color="#ff0000">'subst
W: D:\SQLData'</font></strong></font> my SQL Server instance running under LocalSystem
got the picture too. From SQL Server Management Studio I could "see" drive W: and
also restore from and backup to my "W-drive". Safe to say it isn't a bug for SQL Server
and if a feature request is to be made, it has to be addressed to the Windows team.
Something like; enable system-wide setting of <strong>subst</strong> and <strong>net
use</strong> commands by administrators through an extra switch (or make it a policy
setting default on for administrators only).
</p>
        <p>
In the end it can easily be solved with a little sqlcmd-script like:
</p>
        <p>
          <font face="Courier New">:setvar path "G:\project02\SQLBackup"<br />
:setvar drive "R"<br /><font color="#0000ff">EXEC</font> xp_cmdshell <font color="#ff0000">'subst $(drive):
/d'<br /></font><font color="#0000ff">GO<br />
EXEC</font> xp_cmdshell <font color="#ff0000">'subst $(drive): $(path)'<br /></font><font color="#0000ff">GO</font></font>
        </p>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=b57d5bd7-ba21-4da9-a150-2e4c7b9d94cf" />
      </div>
    </content>
  </entry>
  <entry>
    <title>European PASS conference 2008</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,037fd1ff-3a60-4611-8979-e60e1f5b9d18.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,037fd1ff-3a60-4611-8979-e60e1f5b9d18.aspx</id>
    <published>2008-04-17T22:58:33.651+02:00</published>
    <updated>2008-04-17T23:00:56.7196488+02:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
From my perspective, a very successful <a href="http://www.european-pass-conference.com/" target="_blank">event</a>.
Congratulations to the organizing committee and the volunteers supporting them. Also
may thanks to the speakers, especially <a href="http://blogs.msdn.com/psssql/" target="_blank">Bob
Ward</a> (pre-conference and session), <a href="http://rusanu.com/" target="_blank">Remus
Rusana</a>, <a href="http://sqlblog.com/blogs/james_luetkehoelter" target="_blank">James
Luetkehoelter</a>, Chuck Hawkins, <a href="http://csharp.at" target="_blank">Klaus
Aschenbrenner</a> (GEOGRAPHY data type).
</p>
        <p>
Also look out for James' follow ups on <a href="http://sqlblog.com/blogs/james_luetkehoelter/archive/2008/04/17/ot-thanks-to-the-european-pass-conference-attendees.aspx" target="_blank">"our"
questions</a>, guess the audience was paranoid enough.
</p>
        <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5b3ab0a3-defb-483e-9a13-cc157d7fd196" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati
tags: <a href="http://technorati.com/tags/sqlpass" rel="tag">sqlpass</a></div>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=037fd1ff-3a60-4611-8979-e60e1f5b9d18" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Why I have to take a Vista exam (means I passed the 70-647 beta).</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,09d46c4f-7a0b-4131-9d4d-8bde7d00a79b.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,09d46c4f-7a0b-4131-9d4d-8bde7d00a79b.aspx</id>
    <published>2008-03-26T22:28:24.9928341+01:00</published>
    <updated>2008-03-26T22:28:24.9928341+01:00</updated>
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <category term="Vista" label="Vista" scheme="http://www.resquel.com/ssb/CategoryView,category,Vista.aspx" />
    <category term="Windows Server 2008" label="Windows Server 2008" scheme="http://www.resquel.com/ssb/CategoryView,category,Windows%2BServer%2B2008.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Finally the results for the 71-646 and 71-647 are being published. I just checked
the <a href="https://www.register.prometric.com/CandidateHistory.asp" target="_blank">prometric
site</a> after reading <a href="http://blog.tiensivu.com/aaron/archives/1551-Exam-70-646-and-70-647-results-are-trickling-in-check-Prometric-and-Microsoft-sites.html" target="_blank">Aaron's
update</a> on his scores, he passed his, <a href="http://www.resquel.com/ssb/PermaLink,guid,4f9f6fce-3ec0-4d16-8c4d-c45cc100d96a.aspx" target="_blank">I
passed mine</a>. Now all I need to do to haul in the <a href="http://www.microsoft.com/learning/mcp/mcitp/windowsserver/2008/enterprise/default.mspx" target="_blank">MCITP:
Enterprise Administrator</a> is pass either the 70-620 or 70-624... I guess the 70-620
is by far the easier route.
</p>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=09d46c4f-7a0b-4131-9d4d-8bde7d00a79b" />
      </div>
    </content>
  </entry>
  <entry>
    <title>70-445 prep and result</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,ebf9f1d9-3cac-4def-b61f-aa7f317ec5e5.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,ebf9f1d9-3cac-4def-b61f-aa7f317ec5e5.aspx</id>
    <published>2008-02-11T23:05:42.9023+01:00</published>
    <updated>2008-02-11T23:05:42.9023+01:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today I sat the <a href="http://www.microsoft.com/learning/exams/70-445.mspx" target="_blank">70-445</a> exam
and completed those 53 questions with the minimal required passing score of 700 points.
Now how did I get to that meager (but satisfactory) result?
</p>
        <p>
First of all, I didn't allocate enough time for my preparation, so out of the <a href="http://www.resquel.com/ssb/PermaLink,guid,ee6b072e-9143-4e77-8481-c756395551d6.aspx" target="_blank">initial
things I mentioned</a>, I only completed the MOC courses 2791 to 2794 (on a hindsight,
the time spent with 2794 was wasted towards this exam). I also purchased the MS Press
Training Kit for the 70-445 exam, but didn't really get to using it. In total, I only
read the chapters 9 and 17 and ran through all 209 MeasureUP questions once. The reason
for picking only chapters 9 and 17, besides time constraints, is the amount of Data
Mining in the exam versus the (lack of) coverage of the subject in the MOC2791. The
reason for running through the MeasureUP questions in study-mode was to get some exam-focus
on the subjects and cover them all (see if there were things I missed from the MOC's).
I should add that many of MeasureUP tests do not resemble the exam, like providing
non-existent options or asking for trivial look-up fact... actual Microsoft exams
have better quality.
</p>
        <p>
Having that extra bit of exam-focus really helped, the MOC's tend to strongly focus
on the development part of SSIS, SSRS and SSAS. The actual exam is more balanced between
development and administration. The training kit too, seems to be more geared towards
the administration part and definitely has a more task-based (or hands-on) approach
than the MOC's. So in total, I think you need both for a proper preparation (or be
able to compensate development or administration with in-depth practical skills).
</p>
        <p>
Luckily the score report includes those scoring bars that indicate a little on your
relative score. What is my experience based on the 7 topics tested;
</p>
        <ul>
          <li>
Managing SSAS 
<ul><li>
My relative score; 5th 
</li><li>
Impression, 2791 definitely is shallow on this subject. And since I don't have to
much real-world experience managing Analysis Services...</li></ul></li>
          <li>
Developing SSAS Solutions by Using BIDS 
<ul><li>
My relative score; 3rd 
</li><li>
Impression, 2791 gives you all the handles you need, for the hands-on I can recommend
taking a look at the tutorials in SQL Server Books On-Line. Again, no real-world experience
on for me here either. Some applied MDX, nothing shocking.</li></ul></li>
          <li>
Implementing Data Mining by Using BIDS 
<ul><li>
My relative score; 6th 
</li><li>
Impression, next to no coverage in 2791, you really need the 70-445 training kit here
(mind, I just read it, didn't do the exercises). Very little basic DMX.</li></ul></li>
          <li>
Managing SSRS 
<ul><li>
My relative score; 2nd 
</li><li>
Impression, some help from real-world experience, though I wasn't prepared for dealing
with farms. Also, be prepared to modify the RSReportServer.config.</li></ul></li>
          <li>
Developing Reporting Solutions by Using SSRS 
<ul><li>
My relative score; 7th 
</li><li>
Impression, 2793 gives you all the handles you need, but you should also to develop
reports and care about how they look (questions included some beatifications of reports).
Also, take a good look at URLs. If you only have this covered with the training kit,
it seems to me (based on a quick glance), it's not going to be enough. 
</li></ul></li>
          <li>
Developing Business Intelligence Solutions by Using SSIS 
<ul><li>
My relative score; 4th 
</li><li>
Impression, pretty well covered from the 2792... which was pretty helpful to me, as
I'm used to solving a lot of stuff in the database (using views and stored procedures).
Especially focus on transactions, checkpoints and logical combinations between expressions
and constraints.</li></ul></li>
          <li>
Administering SSIS Packages 
<ul><li>
My relative score; 1st. 
</li><li>
Impression, my real-world experience helped me out here, not the 2792. Focus on things
like supplying configurations on run-time, securing parts of packages and the differences
between storing in SQL Server vs. on the file system. Also be prepared for some dtutil
and dtexec syntax.</li></ul></li>
        </ul>
        <p>
As Ronald Kraijesteijn noted on <a href="http://bonkster.blogspot.com/2007/12/examen-70-445-business-intelligence.html" target="_blank">his
blog-entry</a> (in Dutch) on the exam, it's pretty tool-oriented (like how you do
something, even in which order). I felt this was particularly true on the developing
with SSAS and SSRS. A couple of months experience are definitely going to prove advantageous.
This was not the case for me, SSAS real-world is non-existent and SSRS already dates
back a year. But hey, a 700-point pass still is a pass.
</p>
        <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:7a12ae11-667d-49ef-b4af-634b546704fc" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati
tags: <a href="http://technorati.com/tags/MCTS" rel="tag">MCTS</a>, <a href="http://technorati.com/tags/70-445" rel="tag">70-445</a></div>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=ebf9f1d9-3cac-4def-b61f-aa7f317ec5e5" />
      </div>
    </content>
  </entry>
  <entry>
    <title>SQL Server 2008 Certifications (MCTS)</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,9f336fb3-03fb-42f5-9305-c5d7ff878fc5.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,9f336fb3-03fb-42f5-9305-c5d7ff878fc5.aspx</id>
    <published>2008-02-06T17:52:41.142+01:00</published>
    <updated>2008-02-06T22:07:19.4731037+01:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Fresh from the often delayed "SQL Server 2008 and Your Certifications", first session.
</p>
        <p>
MCDBA will retire march 2009, no direct upgrade from MCDBA to a SQL Server 2008 certification.
</p>
        <p>
70-446 will be superseded by 70-448 (~August 2008), 70-431 will be split in an Administration
exam 70-432 (~August 2008) and 70-433 (~September 2008) for Development. So be ready
for the following titles:
</p>
        <ul>
          <li>
70-432, MCTS: SQL Server 2008, Implementation and Maintenance</li>
          <li>
70-433, MCTS: SQL Server 2008, Database Development</li>
          <li>
70-448, MCTS: SQL Server 2008, Business Intelligence Development and Maintenance</li>
        </ul>
        <p>
MCITP's can probably upgrade the MCTS and MCITP in a single upgrade exam. No timelines
on the professional level exams yet.
</p>
        <p>
          <a href="http://microsoft.com/learning/mcp/architect/database/default.mspx" target="_blank">MCA
Databases</a> is available, targeted at OLTP... Business Intelligence is under consideration. 
</p>
        <p>
Blogs to watch for more info on SQL Server 2008 Certifications:
</p>
        <ul>
          <li>
            <a href="http://blogs.msdn.com/trika">http://blogs.msdn.com/trika</a> (here you can
find the link to the recorded webcast in a day or two after this post, a written transcript
will be provided later).</li>
          <li>
            <a href="http://blogs.msdn.com/gerryo">http://blogs.msdn.com/gerryo</a>
          </li>
        </ul>
        <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:1c1d8d5c-ea9e-484d-a656-8ac14c65ebcc" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati
tags: <a href="http://technorati.com/tags/SQL%20Server%202008" rel="tag">SQL Server
2008</a>, <a href="http://technorati.com/tags/Certification" rel="tag">Certification</a>, <a href="http://technorati.com/tags/MCTS" rel="tag">MCTS</a></div>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=9f336fb3-03fb-42f5-9305-c5d7ff878fc5" />
      </div>
    </content>
  </entry>
  <entry>
    <title>71-647 impression</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,4f9f6fce-3ec0-4d16-8c4d-c45cc100d96a.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,4f9f6fce-3ec0-4d16-8c4d-c45cc100d96a.aspx</id>
    <published>2008-01-22T16:12:30.3741863+01:00</published>
    <updated>2008-01-22T16:12:30.3741863+01:00</updated>
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <category term="Windows Server 2008" label="Windows Server 2008" scheme="http://www.resquel.com/ssb/CategoryView,category,Windows%2BServer%2B2008.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Just did my 71-647 (<a href="http://www.microsoft.com/learning/exams/70-647.mspx" target="_blank">70-649</a> when
it comes out of beta), without preparation... I just checked some links;
</p>
        <p>
          <a title="Permanent Link to 70-647 Windows Server 2008, Enterprise Administrator" href="http://projectdream.org/wordpress/2007/12/28/70-647-windows-server-2008-enterprise-administrator/">Permanent
Link to 70-647 Windows Server 2008, Enterprise Administrator</a>
        </p>
        <p>
          <a title="Erfahrungsbericht 71-647" href="http://www.mcseboard.de/mcse-forum-pruefungen-33/erfahrungsbericht-71-647-a-127970.html">Erfahrungsbericht
71-647</a> (German)
</p>
        <p>
In general, my impression is in line with what Lucas and Noxx experienced. In terms
of subjects, my exam was quite a lot of GPO, File Server, Clustering in combination
with SQL Server 2005 ;-), AD DS, AD CS, AD FS.
</p>
        <p>
Should I have to take this exam again, there still is a little I would look at based
on today's experience. The only subjects I would be looking for are:
</p>
        <ul>
          <li>
Feature overview of System Center (and a bit more specific System Center Virtual Machine
Manager and SoftGrid)</li>
          <li>
Windows System Resource Manager</li>
          <li>
AD; what's changed from Windows Server 2003 to 2008</li>
          <li>
AD FS</li>
        </ul>
        <p>
In general, being MCSE 2003, proper preparation for 70-649 and a bit of reading on
the four topics above should be enough...
</p>
        <p>
Oh, I added my remarks on 5 out of 71 questions that had some serious flaws or were
just plain wrong.
</p>
        <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5228041c-6396-4a3e-818a-5c19ab3c9899" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati
tags: <a href="http://technorati.com/tags/70-647" rel="tag">70-647</a>, <a href="http://technorati.com/tags/Windows%20Server%202008" rel="tag">Windows
Server 2008</a></div>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=4f9f6fce-3ec0-4d16-8c4d-c45cc100d96a" />
      </div>
    </content>
  </entry>
  <entry>
    <title>XML prerequisites for MOC2779</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,dc3e2547-036f-4150-bf20-0d9e4233132f.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,dc3e2547-036f-4150-bf20-0d9e4233132f.aspx</id>
    <published>2008-01-17T18:40:39.9683456+01:00</published>
    <updated>2008-01-17T18:40:39.9683456+01:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
If you're going to take the SQL Server class 2779B, there is a lot of XML in it. That
is, in relation to SQL Server 2005. But do you know your XML? Well, the training implies
you do, though it is not one of the published prerequisites. If you're blank on XML,
or want to check on your skills, you may want to take a look at <a href="http://www.w3schools.com">www.w3schools.com</a>.
</p>
        <p>
The available tutorials give you an overview of the general usage of XML-technologies,
some of them (XML, XPath, XQuery, XSD) will return in 2779 (Modules 3 and 6) where
they are applied on SQL Server 2005. A little study-guide to prepare you for the things
to come.
</p>
        <ul>
          <li>
XML general, much of it is aimed at interaction with a browser (as is the rest of
the XML-related topics). These have been omitted here, but can increase your understanding
of XML. From an SQL Server perspective, the topics below focus on the data-side of
XML. 
<ul><li><a title="XML HOME" href="http://www.w3schools.com/xml/default.asp">XML HOME</a></li><li><a title="XML Introduction" href="http://www.w3schools.com/xml/xml_whatis.asp">XML
Introduction</a></li><li><a title="XML How to use" href="http://www.w3schools.com/xml/xml_usedfor.asp">XML
How to use</a></li><li><a title="XML Syntax" href="http://www.w3schools.com/xml/xml_syntax.asp">XML Syntax</a>  
</li><li><a title="XML Elements" href="http://www.w3schools.com/xml/xml_elements.asp">XML Elements</a></li><li><a title="XML Attributes" href="http://www.w3schools.com/xml/xml_attributes.asp">XML
Attributes</a></li><li><a title="XML Validation" href="http://www.w3schools.com/xml/xml_dtd.asp">XML Validation</a></li><li><a title="XML Validator" href="http://www.w3schools.com/xml/xml_validator.asp">XML
Validator</a></li><li><a title="XML Namespaces" href="http://www.w3schools.com/xml/xml_namespaces.asp">XML
Namespaces</a></li><li><a title="XML CDATA" href="http://www.w3schools.com/xml/xml_cdata.asp">XML CDATA</a></li><li><a title="XML Encoding" href="http://www.w3schools.com/xml/xml_encoding.asp">XML Encoding</a></li></ul></li>
          <li>
XPath. 
<ul><li><a title="XPath HOME" href="http://www.w3schools.com/xpath/default.asp">XPath HOME</a></li><li><a title="XPath Intro" href="http://www.w3schools.com/xpath/xpath_intro.asp">XPath
Intro</a></li><li><a title="XPath Nodes" href="http://www.w3schools.com/xpath/xpath_nodes.asp">XPath
Nodes</a></li><li><a title="XPath Syntax" href="http://www.w3schools.com/xpath/xpath_syntax.asp">XPath
Syntax</a></li><li><a title="XPath Axes" href="http://www.w3schools.com/xpath/xpath_axes.asp">XPath Axes</a></li><li><a title="XPath Operators" href="http://www.w3schools.com/xpath/xpath_operators.asp">XPath
Operators</a></li><li><a title="XPath Examples" href="http://www.w3schools.com/xpath/xpath_examples.asp">XPath
Examples</a></li><li><a title="XPath Summary" href="http://www.w3schools.com/xpath/xpath_summary.asp">XPath
Summary</a></li></ul></li>
          <li>
XQuery, omit the optional topics if you just want to understand what XQuery is about,
include them if you seek to work with and understand the samples. 
<ul><li><a title="XQuery HOME" href="http://www.w3schools.com/xquery/default.asp">XQuery HOME</a></li><li><a title="XQuery Intro" href="http://www.w3schools.com/xquery/xquery_intro.asp">XQuery
Intro</a></li><li><a title="XQuery Example" href="http://www.w3schools.com/xquery/xquery_example.asp">XQuery
Example</a></li><li><a title="XQuery FLWOR" href="http://www.w3schools.com/xquery/xquery_flwor.asp">XQuery
FLWOR</a></li><li><a title="XQuery HTML" href="http://www.w3schools.com/xquery/xquery_flwor_html.asp">XQuery
HTML</a>  
</li><li><a title="XQuery Terms" href="http://www.w3schools.com/xquery/xquery_terms.asp">XQuery
Terms</a> (optional) 
</li><li><a title="XQuery Syntax" href="http://www.w3schools.com/xquery/xquery_syntax.asp">XQuery
Syntax</a></li><li><a title="XQuery Add" href="http://www.w3schools.com/xquery/xquery_add.asp">XQuery
Add</a> (optional) 
</li><li><a title="XQuery Select" href="http://www.w3schools.com/xquery/xquery_select.asp">XQuery
Select</a> (optional) 
</li><li><a title="XQuery Functions" href="http://www.w3schools.com/xquery/xquery_functions.asp">XQuery
Functions</a> (optional) 
</li><li><a title="XQuery Summary" href="http://www.w3schools.com/xquery/xquery_summary.asp">XQuery
Summary</a> (optional)</li></ul></li>
          <li>
XSD, basically you only need the conceptual understanding of what a schema does and
how it looks like. The other XSD-topics may be useful as well if you want to experiment
with it. Also note that w3schools differentiates between the document enforcement
mechanisms DTD (Document Type Definition) and XSD (XML Schema Definition). For SQL
Server, you can ignore DTD's. 
<ul><li><a title="XSD HOME" href="http://www.w3schools.com/schema/default.asp">XSD HOME</a></li><li><a title="XSD Intro" href="http://www.w3schools.com/schema/schema_intro.asp">XSD Intro</a></li><li><a title="XSD Why Use" href="http://www.w3schools.com/schema/schema_why.asp">XSD Why
Use</a></li><li><a title="XSD How To" href="http://www.w3schools.com/schema/schema_howto.asp">XSD
How To</a></li><li><a title="XSD schema" href="http://www.w3schools.com/schema/schema_schema.asp">XSD
schema</a></li><li><a title="XSD Elements" href="http://www.w3schools.com/schema/schema_simple.asp">XSD
Elements</a></li><li><a title="XSD Attributes" href="http://www.w3schools.com/schema/schema_simple_attributes.asp">XSD
Attributes</a></li><li><a title="XSD Restrictions" href="http://www.w3schools.com/schema/schema_facets.asp">XSD
Restrictions</a></li><li><a title="XSD Elements" href="http://www.w3schools.com/schema/schema_complex.asp">XSD
Elements</a></li></ul></li>
        </ul>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=dc3e2547-036f-4150-bf20-0d9e4233132f" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Order of things, reloaded.</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,d9c7ee75-12da-4fbd-abb5-71f24c35ce44.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,d9c7ee75-12da-4fbd-abb5-71f24c35ce44.aspx</id>
    <published>2008-01-15T21:53:29.1778571+01:00</published>
    <updated>2008-01-15T21:53:29.1778571+01:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
A while back I wrote about <a title="Overridable IDENTITY or the order of things" href="http://www.resquel.com/ssb/PermaLink,guid,f429a16a-b750-4efd-8a77-e42d05b75eb6.aspx">Overridable
IDENTITY or the order of things</a>, offering a solution to store data in natural
order. This solution worked form me in a couple of projects, until I recently had
to reload a table... so the basic procedure would be to;
</p>
        <ul>
          <li>
Create a new table based on the same definition 
</li>
          <li>
Do an INSERT new_table SELECT ... FROM old_table 
</li>
          <li>
DROP TABLE old_table 
</li>
          <li>
sp_rename 'new_table', 'old_table'</li>
        </ul>
        <p>
But this does not produce the proper result, as the most recent inserted identity <strong>prior
to the insert</strong> will be applied for the default.
</p>
        <p>
The trick is to make every insert an independent action, so the IDENTITY_CURRENT is
properly set for every row; make it run in a cursor. Yeah, I know.... performance,
but that pain is largely taken away by making it a FAST_FORWARD. Besides, if anyone
has a better suggestion, I'm all ears. So instead of a INSERT ... SELECT, the CURSOR
is opened for the selection and the new table is inserted based on the fetched rows.
</p>
        <p>
Altogether in the <a href="http://www.resquel.com/ssb/content/upload/ReSQueLBlogPost20080115.sql.txt" target="_blank">attached
script</a>;
</p>
        <ul>
          <li>
Create the soon to be table. 
</li>
          <li>
Populate the table. 
</li>
          <li>
Create the new table, pay attention to the default. 
</li>
          <li>
Use the cursor to fill the new table. 
</li>
          <li>
Drop the original table and rename the new table to the name of the original table,
don't forget to recreate the default.</li>
        </ul>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=d9c7ee75-12da-4fbd-abb5-71f24c35ce44" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Been busy...</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,ee6b072e-9143-4e77-8481-c756395551d6.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,ee6b072e-9143-4e77-8481-c756395551d6.aspx</id>
    <published>2008-01-14T20:49:23.4909782+01:00</published>
    <updated>2008-01-14T20:49:23.4909782+01:00</updated>
    <category term="ReSQueL" label="ReSQueL" scheme="http://www.resquel.com/ssb/CategoryView,category,ReSQueL.aspx" />
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <category term="Windows Server 2008" label="Windows Server 2008" scheme="http://www.resquel.com/ssb/CategoryView,category,Windows%2BServer%2B2008.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
... or at least didn't feel things were important enough to post, at least that's
the excuse for not writing here for well over a month.
</p>
        <p>
In the mean time, beta-season is opened again and I registered for the <a href="http://www.microsoft.com/learning/exams/70-647.mspx" target="_blank">71-647</a>.
However, I won't go trough the <a href="http://www.resquel.com/ssb/PermaLink,guid,5bc9c749-cd3d-489b-af39-f8b546efa7ed.aspx" target="_blank">same</a> depth
of preparation as I did for the <a href="http://www.microsoft.com/learning/exams/70-649.mspx" target="_blank">70-649</a>...
I'll just go in and try to make it on my Windows 2003 and 70-649 prep-knowledge ;-).
</p>
        <p>
The other exam I registered for is the <a href="http://www.microsoft.com/learning/exams/70-445.mspx" target="_blank">70-445</a> and
I'm planning to take the <a href="http://www.microsoft.com/learning/exams/70-446.mspx" target="_blank">70-446</a> later
this year. Just to get myself started for the preparation of this exam, I collected
some links to hold on to:
</p>
        <ul>
          <li>
            <a href="http://bonkster.blogspot.com/2007/12/examen-70-445-business-intelligence.html">Examen
70-445 Business Intelligence Verslag</a> (in Dutch)</li>
          <li>
            <a href="http://sqlblogcasts.com/blogs/jorg/default.aspx">Jorg Klein's Microsoft Business
Intelligence Blog [Macaw]</a>
          </li>
          <li>
            <a href="http://www.sqlservercentral.com/articles/Business+Intelligence/61369/" target="_blank">Microsoft
BI Certifications or Why SQL is a 4-Letter Word</a>
          </li>
          <li>
            <a href="http://peterkol.spaces.live.com/blog/cns!68755AEAC31F9A6C!196.entry" target="_blank">BETA
exam reviews 70-445 and 70-446</a>
          </li>
        </ul>
        <p>
and I'll be using the Microsoft courseware for the courses <a href="http://www.microsoft.com/learning/syllabi/en-us/2791afinal.mspx" target="_blank">2791</a>, <a href="http://www.microsoft.com/learning/syllabi/en-us/2792afinal.mspx" target="_blank">2792</a>, <a href="http://www.microsoft.com/learning/syllabi/en-us/2793afinal.mspx" target="_blank">2793</a>, <a href="http://www.microsoft.com/learning/syllabi/en-us/2794bfinal.mspx" target="_blank">2794</a> and
the <a href="http://www.microsoft.com/mspress/books/8731.aspx" target="_blank">MCTS
Self-Paced Training Kit (Exam 70-445): Microsoft® SQL Server™ 2005 Business Intelligence—Implementation
and Maintenance</a>.
</p>
        <p>
That should keep me busy for a while again...
</p>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=ee6b072e-9143-4e77-8481-c756395551d6" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Reports in SQL Server Management Studio</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,2a5b2fc7-4add-49ca-8387-6e320cef9de4.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,2a5b2fc7-4add-49ca-8387-6e320cef9de4.aspx</id>
    <published>2007-12-06T10:56:58.0081649+01:00</published>
    <updated>2007-12-06T10:56:58.0081649+01:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
One of the things that surface in module 2 of the 2780B course are the predefined
reports you can use to get more info on what your system is doing. Good thing is,
you can run these directly from Management Studio without Reporting Services. Bad
thing, you don’t know what the reports are showing exactly (as in, you don’t know
the report definition). That is, we can find out what the reports show since Microsoft
released the <a href="http://blogs.msdn.com/sqlrem/archive/2006/08/30/SSMS-Reports-3.aspx" target="_blank">report
definitions</a>, so you can reproduce what the report is showing. Also in Service
Pack 2, Microsoft introduced the option to create your own custom reports… and that
is just what one of the Microsoft Support Engineers did (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=1D3A4A0D-7E0C-4730-8204-E419218C1EFC&amp;displaylang=en" target="_blank">performance
dashboard</a>). One of the community members also <a href="http://www.simple-talk.com/sql/sql-tools/custom-reports-in-management-studio,-using-the-performance-dashboard/" target="_blank">noticed</a> and <a href="http://sql-server-performance.com/articles/dba/custom_reports_ssms_p1.aspx " target="_blank">blogged</a> about
this new option and created his own <a href="http://sqlserverexamples.com/v1/dbadashboard.asp" target="_blank">DBA_Dashboard</a> full
of useful metrics. Thanks Greg, the effort is much appreciated, do keep up the good
work for the next version. 
</p>
        <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:51926146-33d3-4779-a858-a3fdd6763d02" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati
tags: <a href="http://technorati.com/tags/SQL%20Server" rel="tag">SQL Server</a>, <a href="http://technorati.com/tags/Reports" rel="tag">Reports</a></div>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=2a5b2fc7-4add-49ca-8387-6e320cef9de4" />
      </div>
    </content>
  </entry>
  <entry>
    <title>ICE 3.0 white-paper delivered</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,3112fe36-81bf-490e-b8bd-43b68985baf0.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,3112fe36-81bf-490e-b8bd-43b68985baf0.aspx</id>
    <published>2007-11-22T23:46:47.9677444+01:00</published>
    <updated>2007-11-22T23:47:44.1733873+01:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
About half a year ago I attended a webcast about ICE, today I can update that <a href="http://www.resquel.com/ssb/PermaLink,guid,cdfa6f3e-428b-4d2d-bd1c-74e6812b8c84.aspx" target="_blank">post</a> with
a <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=a7dc6419-1dce-429e-bce0-007a62d5732a&amp;DisplayLang=en" target="_blank">link
to the white paper</a>. Maybe more on it later... when I found the time to actually
read it.
</p>
        <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:f2fea045-56aa-4720-86ec-9c96e541157b" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati
tags: <a href="http://technorati.com/tags/SQL%20Server" rel="tag">SQL Server</a>, <a href="http://technorati.com/tags/Microsoft" rel="tag">Microsoft</a></div>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=3112fe36-81bf-490e-b8bd-43b68985baf0" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Seeing stars in views (knock-out)</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,04585320-7f19-4b40-b7e7-4df179c62c77.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,04585320-7f19-4b40-b7e7-4df179c62c77.aspx</id>
    <published>2007-11-13T12:35:23.580141+01:00</published>
    <updated>2007-11-13T12:35:23.580141+01:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Bah, for the forth time in a week I encounter a star in the select-list of a view.
So if no-one told you yet; when creating views, don’t do a <font face="Courier New">SELECT
* FROM source</font>, it can (and in time will) hurt you badly. Let’s show by creating
a table and two views based on that table;<br /><br /><font face="Courier New">CREATE TABLE tblSource(<br />
    Col1 nchar(10),<br />
    Col2 nchar(10))<br />
GO<br />
CREATE VIEW vwBad<br />
AS<br />
SELECT * FROM tblSource<br />
GO<br />
CREATE VIEW vwGood<br />
AS<br />
SELECT Col1, Col2 FROM tblSource<br />
GO<br />
INSERT tblSource (Col1, Col2) VALUES ('Column 1', 'Column 2')<br />
GO</font></p>
        <p>
So far, so good. Selecting from both views shows you the expected results: 
</p>
        <p>
          <font face="Courier New">SELECT 'vwGood' view_name, * FROM vwGood<br />
GO<br />
SELECT 'vwBad' view_name, * FROM vwBad<br />
GO</font>
        </p>
        <p>
Now add a column to the table, and add some data for that column;
</p>
        <p>
          <font face="Courier New">ALTER TABLE tblSource<br />
    ADD Col3 tinyint<br />
GO<br />
UPDATE tblSource<br />
SET Col3 = 3<br />
GO </font>
        </p>
        <p>
          <font face="Courier New">SELECT 'vwGood' view_name, * FROM vwGood<br />
GO<br />
SELECT 'vwBad' view_name, * FROM vwBad<br />
GO</font>
        </p>
        <p>
vwGood still behaves as expected, but vwBad doesn’t return ALL columns as you may
have expected based on the *. Now let's see what happens if a column is removed from
the table;
</p>
        <p>
          <font face="Courier New">ALTER TABLE tblSource<br />
    DROP COLUMN Col2<br />
GO</font>
        </p>
        <p>
          <font face="Courier New">SELECT 'vwGood' view_name, * FROM vwGood<br />
GO<br />
SELECT 'vwBad' view_name, * FROM vwBad<br />
GO</font>
        </p>
        <p>
You will notice that vwGood throws an error (rightfully so, it is instructed to select
from a non-existing column), but vwBad doesn’t… it pretends Col3 is Col2. Based on
the data, we know better. However this might not be so obvious if based on this change
the purchase price is shown as sales price due to changes in the data model and your
company starts losing money.
</p>
        <p>
I bet now you want to know which views contain * so you can code them properly, try
this query if you're on SQL Server 2005:
</p>
        <p>
          <font face="Courier New">SELECT v.name view_name<br />
    , s.name schema_name<br />
    , u.name user_name<br />
    , v.create_date<br />
    , v.modify_date<br />
    , sc.text<br />
FROM sys.views v 
<br />
    INNER JOIN sys.syscomments sc ON v.object_id = sc.id<br />
    INNER JOIN sys.schemas s ON v.schema_id = s.schema_id<br />
    INNER JOIN sys.sysusers u ON s.principal_id = u.uid<br />
WHERE sc.text LIKE '%*%'</font>
        </p>
        <p>
And this one for SQL Server 2000:
</p>
        <p>
          <font face="Courier New">SELECT so.name view_name<br />
    , u.name user_name<br />
    , so.crdate create_date<br />
    , sc.text<br />
FROM dbo.sysobjects so<br />
    INNER JOIN dbo.syscomments sc ON so.uid = sc.uid<br />
    INNER JOIN dbo.sysusers u ON so.uid = u.uid<br />
WHERE sc.text LIKE '%*%' AND v.type = 'V'</font>
        </p>
        <p>
And don't forget to clean up the example:
</p>
        <p>
          <font face="Courier New">DROP VIEW vwGood<br />
GO<br />
DROP VIEW vwBad<br />
GO<br />
DROP TABLE tblSource<br />
GO</font>
        </p>
        <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:817f0b7a-fee5-4a7e-b1f9-be278ffc5a5b" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati
tags: <a href="http://technorati.com/tags/SQL%20Server" rel="tag">SQL Server</a>, <a href="http://technorati.com/tags/T-SQL" rel="tag">T-SQL</a></div>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=04585320-7f19-4b40-b7e7-4df179c62c77" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Get started: Windows Server 2008 certification</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,252b8724-c7c3-478a-92cb-fe57c5043f2d.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,252b8724-c7c3-478a-92cb-fe57c5043f2d.aspx</id>
    <published>2007-11-09T20:05:57.3423531+01:00</published>
    <updated>2007-11-09T20:05:57.3423531+01:00</updated>
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <category term="Windows Server 2008" label="Windows Server 2008" scheme="http://www.resquel.com/ssb/CategoryView,category,Windows%2BServer%2B2008.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
As I wrote before, I <a href="http://www.resquel.com/ssb/PermaLink,guid,8d44cf66-bcb0-4e68-87f6-6d1b45348115.aspx" target="_blank">passed
my beta-exam</a> and am well underway. Because of my experience preparing for the
exam, the folks from <a href="http://www.newlevel.nl/" target="_blank">NewLevel</a> asked
if I could do a presentation for them on Windows Server 2008... for marketing sake.
</p>
        <p>
I said yes, so if you're interested, available on November 27th (13:30 - 16:00) and
can be in Amersfoort:
</p>
        <ul>
          <li>
Overview of product features and why you might want to use them.</li>
          <li>
How these features map to the new generation certifications and what this new generation
certification could mean to you.</li>
          <li>
Training options to prepare for the Windows Server 2008 certifications and job-roles.</li>
          <li>
Besides all the talking, a demonstration deploying Network Access Protection in Windows
Server 2008.</li>
        </ul>
        <p>
If you're interested, contact NewLevel by phone +31 73 599 0 150 or mail to <a href="mailto:rein.floris@newlevel.nl" target="_blank">Rein
Floris at NewLevel</a>. The presentation will be in Dutch an a small fee is charged.
</p>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=252b8724-c7c3-478a-92cb-fe57c5043f2d" />
      </div>
    </content>
  </entry>
  <entry>
    <title>YES, I'm Windows Server 2008 MCTS (3 times)!!!</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,8d44cf66-bcb0-4e68-87f6-6d1b45348115.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,8d44cf66-bcb0-4e68-87f6-6d1b45348115.aspx</id>
    <published>2007-11-05T23:06:34.3611959+01:00</published>
    <updated>2007-11-05T23:08:22.2872151+01:00</updated>
    <category term="Train_Cert" label="Train_Cert" scheme="http://www.resquel.com/ssb/CategoryView,category,Train_Cert.aspx" />
    <category term="Windows Server 2008" label="Windows Server 2008" scheme="http://www.resquel.com/ssb/CategoryView,category,Windows%2BServer%2B2008.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Just visited the <a href="https://www.register.prometric.com/CandidateHistory.asp" target="_blank">prometric-website</a>,
I've passed my 71-649. Also did a quick check on my <a href="https://mcp.microsoft.com/mcp/tools/trans.aspx" target="_blank">MCP-transcript</a>,
but it's not showing there, yet! The <a href="http://www.resquel.com/ssb/PermaLink,guid,5bc9c749-cd3d-489b-af39-f8b546efa7ed.aspx" target="_blank">preparation</a> paid
off.
</p>
        <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:2a60bbdb-51f3-418d-812f-4263444951d6" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati
tags: <a href="http://technorati.com/tags/70-649" rel="tag">70-649</a>, <a href="http://technorati.com/tags/Windows%20Server%202008" rel="tag">Windows
Server 2008</a>, <a href="http://technorati.com/tags/MCSE" rel="tag">MCSE</a>, <a href="http://technorati.com/tags/MCTS" rel="tag">MCTS</a></div>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=8d44cf66-bcb0-4e68-87f6-6d1b45348115" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Write to snapshot question</title>
    <link rel="alternate" type="text/html" href="http://www.resquel.com/ssb/PermaLink,guid,ab9948ab-837c-4a64-be01-dad0add2f70b.aspx" />
    <id>http://www.resquel.com/ssb/PermaLink,guid,ab9948ab-837c-4a64-be01-dad0add2f70b.aspx</id>
    <published>2007-11-05T22:36:03.6771735+01:00</published>
    <updated>2007-11-05T22:36:03.6771735+01:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.resquel.com/ssb/CategoryView,category,SQL%2BServer.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
If an SQL Server 2005 database has multiple snapshots, do the first changes get written
to all snapshots or only to the most recent? Good question, let's make the answer:
</p>
        <p>
The following scenario is based on <a href="/ssb/content/upload/SnapshotSample.sql.txt" target="_blank">this
sql-script</a>. It assumes you have the AdventureWorks and your database engine uses
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data. Be careful, the script changes
some data in AdventureWorks, so some examples from books-online may behave unexpected
after this demo.
</p>
        <p>
The scenario is in four stages; 
</p>
        <ol>
          <li>
The first snapshot is created and a query displays the sizes of the snapshot file
on disk (BytesOnDisk) and the internal size (BytesWritten).</li>
          <li>
Person.Contact is updated, the Firstname and LastName for all records are swapped,
practically resulting in the whole table being written to the snapshot before the
update. Right after this update, the second snapshot is created and the query again
shows the information about the (now 2) snapshots. The first snapshot holding the
Person.Contact table before the update, the second being still empty.</li>
          <li>
Person.Address is updated, AddressLine1 and AddressLine2 are swapped (and NULLs for
AddressLine2 are set to empty strings). The query following this update shows both
snapshots have grown, proving all snapshots get written (and we have the answer!!!).</li>
          <li>
To show a snapshot only processes the changes once since it was created, the FirstName
and LastName columns in Person.Contact are swapped again. This time, only the second
snapshot gets written to (you may notice one or two data pages (8192 bytes) being
added to the first snapshot, an insignificant change compared to previous changes).</li>
        </ol>
        <img width="0" height="0" src="http://www.resquel.com/ssb/aggbug.ashx?id=ab9948ab-837c-4a64-be01-dad0add2f70b" />
      </div>
    </content>
  </entry>
</feed>