<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www2.sqlblog.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/"><channel><title>Kalen Delaney : documentation</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/tags/documentation/default.aspx</link><description>Tags: documentation</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Did You Know? A New SQL Server 2008 Books Online Update is Available</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/2009/02/02/SQL-Server-2008-books-online-update.aspx</link><pubDate>Tue, 03 Feb 2009 01:45:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:11671</guid><dc:creator>Kalen Delaney</dc:creator><slash:comments>0</slash:comments><comments>http://www2.sqlblog.com/blogs/kalen_delaney/comments/11671.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/kalen_delaney/commentrss.aspx?PostID=11671</wfw:commentRss><description>&lt;P&gt;When I searched for "sql server 2008 books online update", the first non-advertising hit I got was labeled August 2008, and I already have a Books Online download for August. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://sqlblog.com/blogs/kalen_delaney/WindowsLiveWriter/DidYouKnowANewSQLServer2008BooksOnlineUp_F97C/search1_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT:0px;BORDER-TOP:0px;BORDER-LEFT:0px;BORDER-BOTTOM:0px;" height=101 alt=search1 src="http://sqlblog.com/blogs/kalen_delaney/WindowsLiveWriter/DidYouKnowANewSQLServer2008BooksOnlineUp_F97C/search1_thumb.jpg" width=520 border=0&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when I clicked on the link I was taken to a page to download a brand new January 2009 Update::&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://sqlblog.com/blogs/kalen_delaney/WindowsLiveWriter/DidYouKnowANewSQLServer2008BooksOnlineUp_F97C/BOL%202008_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT:0px;BORDER-TOP:0px;BORDER-LEFT:0px;BORDER-BOTTOM:0px;" height=310 alt="BOL 2008" src="http://sqlblog.com/blogs/kalen_delaney/WindowsLiveWriter/DidYouKnowANewSQLServer2008BooksOnlineUp_F97C/BOL%202008_thumb.jpg" width=586 border=0&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So here's the link:&lt;/P&gt;
&lt;P&gt;&lt;A title=http://www.microsoft.com/downloads/details.aspx?FamilyId=765433F7-0983-4D7A-B628-0A98145BCB97&amp;amp;displaylang=en href="http://www.microsoft.com/downloads/details.aspx?FamilyId=765433F7-0983-4D7A-B628-0A98145BCB97&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=765433F7-0983-4D7A-B628-0A98145BCB97&amp;amp;displaylang=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun!&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff00ff size=4&gt;~Kalen&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=11671" width="1" height="1"&gt;</description><category domain="http://www2.sqlblog.com/blogs/kalen_delaney/archive/tags/documentation/default.aspx">documentation</category><category domain="http://www2.sqlblog.com/blogs/kalen_delaney/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>Did You Know? You can search the web-only Books Online</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/2008/11/11/search-the-web-only-books-online.aspx</link><pubDate>Wed, 12 Nov 2008 01:22:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:9934</guid><dc:creator>Kalen Delaney</dc:creator><slash:comments>3</slash:comments><comments>http://www2.sqlblog.com/blogs/kalen_delaney/comments/9934.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/kalen_delaney/commentrss.aspx?PostID=9934</wfw:commentRss><description>&lt;P&gt;You might be aware (&lt;A href="http://sqlblog.com/blogs/tibor_karaszi/archive/2008/11/05/new-web-update-for-sql-server-2008-books-online.aspx" target=_blank&gt;from other bloggers on this site&lt;/A&gt;) that there is a new web-only Books Online for SQL Server 2008 available at &lt;A title=http://msdn.microsoft.com/en-us/library/dd239407.aspx. href="http://msdn.microsoft.com/en-us/library/dd239407.aspx"&gt;http://msdn.microsoft.com/en-us/library/dd239407.aspx.&lt;/A&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Like Tibor, I prefer a downloadable BOL, partly because I do a lot of research and writing while traveling and I don't always have an internet connection, like at 42,000 ft (~14000m) above the Atlantic Ocean. &lt;/P&gt;
&lt;P&gt;However, I need the latest documentation while I am finishing up my book, so I decided to start using it today, now that I am back from my travels to the UK. However, I discovered another reason while I like the desktop copy of BOL better and that is the searching functionality. The web-only BOL only has the search box to search the ENTIRE MSDN site, and it's not nearly as convenient as the search capabilities in the local documentation. &lt;/P&gt;
&lt;P&gt;To my delight, I just found out from Alan Brewer, from the SQL Documentation Team, &amp;nbsp;that Microsoft has a nice search macro to help limit your search on MSDN to just SQL Server 2008 topics:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://search.live.com/macros/sql_server_user_education/sql2008bolsearch/"&gt;http://search.live.com/macros/sql_server_user_education/sql2008bolsearch/&lt;/A&gt; 
&lt;P&gt;It's still not as nice as the local searching, but since web-only is all we have for now, for the most recent BOL, it's definitely a good thing.&lt;/P&gt;
&lt;P&gt;There is also a 2005 online search macro at:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/sqlserverue/archive/2007/10/01/eliminate-extranneous-search-results.aspx"&gt;http://blogs.msdn.com/sqlserverue/archive/2007/10/01/eliminate-extranneous-search-results.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun!&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff00ff size=4&gt;~Kalen&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=9934" width="1" height="1"&gt;</description><category domain="http://www2.sqlblog.com/blogs/kalen_delaney/archive/tags/BOL/default.aspx">BOL</category><category domain="http://www2.sqlblog.com/blogs/kalen_delaney/archive/tags/documentation/default.aspx">documentation</category><category domain="http://www2.sqlblog.com/blogs/kalen_delaney/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>Did You Know: Specifying Checkpoint Duration</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/2008/08/29/specifying-checkpoint-duration.aspx</link><pubDate>Sat, 30 Aug 2008 02:55:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:8660</guid><dc:creator>Kalen Delaney</dc:creator><slash:comments>6</slash:comments><comments>http://www2.sqlblog.com/blogs/kalen_delaney/comments/8660.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/kalen_delaney/commentrss.aspx?PostID=8660</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;I realize probably no one reads Books Online cover to cover, so there are probably lots of little details that easily slip by you. I was introduced to one of the hidden 'features' just last week. Here it is:&lt;/FONT&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;CHECKPOINT can take a parameter!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;It's right there in BOL:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="Courier New" size=2&gt;CHECKPOINT [ &lt;I&gt;checkpoint_duration&lt;/I&gt; ]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;This parameter allows you to specify how much time (in seconds) SQL Server should take to complete the checkpoint. If you specify a smaller value, SQL Server will apply more resources to completing the checkpoint, and if you specify a larger number, SQL Server will apply fewer resources. At first glance, this seems like a very cool feature. But then I realized there was very little practical use for it, for these reasons at least:&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;1) There is no way to know how much time a checkpoint should normally take, so giving it a number to use more or fewer resources is just shooting in the dark.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;2) This only applies to the manual checkpoint, not SQL Server's automatic checkpoint. So if you're experiencing a slight decline in throughput every minute or so when the automatic checkpoint starts running, you can't just ask SQL Server to slow down and release some of the resources.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Maybe I'm missing something, but this seems like one of those features that was added 'just because they could'.&amp;nbsp; I'd be interested in hearing your ideas regarding the potential usefulness of this capability. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;But really, this post was about the fact that I'd never looked at the page for the CHECKPOINT command, and never realized there were any options at all.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#ff00ff size=4&gt;~Kalen&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=8660" width="1" height="1"&gt;</description><category domain="http://www2.sqlblog.com/blogs/kalen_delaney/archive/tags/checkpoint/default.aspx">checkpoint</category><category domain="http://www2.sqlblog.com/blogs/kalen_delaney/archive/tags/documentation/default.aspx">documentation</category></item><item><title>Did You Know? It's in the Books Online!</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/2007/07/13/did-you-know-it-s-in-the-books-online.aspx</link><pubDate>Sat, 14 Jul 2007 02:25:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:1721</guid><dc:creator>Kalen Delaney</dc:creator><slash:comments>10</slash:comments><comments>http://www2.sqlblog.com/blogs/kalen_delaney/comments/1721.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/kalen_delaney/commentrss.aspx?PostID=1721</wfw:commentRss><description>&lt;P&gt;Did you know you can ALTER an existing column to give it the identity property?&lt;/P&gt;
&lt;P&gt;If you look up ALTER TABLE in the BOL index, you'll see this:&lt;/P&gt;
&lt;P&gt;ALTER TABLE table_name&lt;BR&gt;&amp;nbsp; &amp;nbsp;{ [ ALTER COLUMN column_name&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{DROP DEFAULT | &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET DEFAULT constant_expression | &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IDENTITY [ ( seed , increment ) ] }&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;I had been telling people for years that you couldn't change the identity property of an existing column, but there is was. And if you can't trust BOL, who can you trust?&lt;/P&gt;
&lt;P&gt;Then I looked again.&lt;/P&gt;
&lt;P&gt;Oops... this was ALTER TABLE for SQL Server Compact Edition, which has very different syntax in many cases. But the CE entry seems to always come up first whenever I do a search or use the Index.&amp;nbsp; There are some workarounds however. &lt;/P&gt;
&lt;P&gt;In the Search Dialog, right under the wide search field, is a drop-list list next to the word "Technology". Click the down-arrow and you'll see a list of checkboxes which allow you pick and choose which elements of Books Online you want to search. You can uncheck SQL Server 2005 Compact Edition. However, that only affects the search operations. If you use the Index, you'll still see CE content. There's good news here too. There is a Filtered by: drop-down list at the top of the index list, and you can choose which content you're interested in. For this list however, the choice is all or one. I can choose just to see SQL Server Database Engine, but I can't choose to see everything BUT Compact Edition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;But wait. I just found out about a really clever trick, from former SQL Server MVP Umachandar Jayachandran, who now works on the SQL team at Microsoft:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;You can use the Help Collection Manager in BOL to remove the SQLCE content &lt;BR&gt;entirely. This will filter it from the index too. You can access the Help &lt;BR&gt;Collection Manager from: &lt;/P&gt;
&lt;P&gt;ms-help://MS.SQLCC.v9/sqlcc9/html/b06d0f98-ef00-4b03-9f5d-b5c184b8df92.htm 
&lt;P&gt;Search for below if you can't use the link above: 
&lt;P&gt;Adding and Removing Help Collections&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The URL can be entered directly into a browser, or into the URL text box at the top of the main BOL content screen.&lt;/P&gt;
&lt;P&gt;Have fun!&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff00ff&gt;~Kalen&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=1721" width="1" height="1"&gt;</description><category domain="http://www2.sqlblog.com/blogs/kalen_delaney/archive/tags/BOL/default.aspx">BOL</category><category domain="http://www2.sqlblog.com/blogs/kalen_delaney/archive/tags/documentation/default.aspx">documentation</category><category domain="http://www2.sqlblog.com/blogs/kalen_delaney/archive/tags/SQLCE/default.aspx">SQLCE</category></item></channel></rss>