Kalen Delaney : BOLhttp://sqlblog.com/blogs/kalen_delaney/archive/tags/BOL/default.aspxTags: BOLenCommunityServer 2.1 SP2 (Build: 61129.1)Did You Know? You can search the web-only Books Onlinehttp://sqlblog.com/blogs/kalen_delaney/archive/2008/11/11/search-the-web-only-books-online.aspxWed, 12 Nov 2008 01:22:00 GMT21093a07-8b3d-42db-8cbf-3350fcbf5496:9934Kalen Delaney3http://sqlblog.com/blogs/kalen_delaney/comments/9934.aspxhttp://sqlblog.com/blogs/kalen_delaney/commentrss.aspx?PostID=9934<P>You might be aware (<A href="http://sqlblog.com/blogs/tibor_karaszi/archive/2008/11/05/new-web-update-for-sql-server-2008-books-online.aspx" target=_blank>from other bloggers on this site</A>) that there is a new web-only Books Online for SQL Server 2008 available at <A title=http://msdn.microsoft.com/en-us/library/dd239407.aspx. href="http://msdn.microsoft.com/en-us/library/dd239407.aspx">http://msdn.microsoft.com/en-us/library/dd239407.aspx.</A>&nbsp; </P>
<P>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. </P>
<P>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. </P>
<P>To my delight, I just found out from Alan Brewer, from the SQL Documentation Team, &nbsp;that Microsoft has a nice search macro to help limit your search on MSDN to just SQL Server 2008 topics:</P>
<P><A href="http://search.live.com/macros/sql_server_user_education/sql2008bolsearch/">http://search.live.com/macros/sql_server_user_education/sql2008bolsearch/</A>
<P>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.</P>
<P>There is also a 2005 online search macro at:</P>
<P><A href="http://blogs.msdn.com/sqlserverue/archive/2007/10/01/eliminate-extranneous-search-results.aspx">http://blogs.msdn.com/sqlserverue/archive/2007/10/01/eliminate-extranneous-search-results.aspx</A></P>
<P>&nbsp;</P>
<P>Have fun!</P>
<P><FONT color=#ff00ff size=4>~Kalen</FONT></P><img src="http://sqlblog.com/aggbug.aspx?PostID=9934" width="1" height="1">BOLdocumentationSQL Server 2008Did You Know? It's in the Books Online!http://sqlblog.com/blogs/kalen_delaney/archive/2007/07/13/did-you-know-it-s-in-the-books-online.aspxSat, 14 Jul 2007 02:25:00 GMT21093a07-8b3d-42db-8cbf-3350fcbf5496:1721Kalen Delaney10http://sqlblog.com/blogs/kalen_delaney/comments/1721.aspxhttp://sqlblog.com/blogs/kalen_delaney/commentrss.aspx?PostID=1721<P>Did you know you can ALTER an existing column to give it the identity property?</P>
<P>If you look up ALTER TABLE in the BOL index, you'll see this:</P>
<P>ALTER TABLE table_name<BR>&nbsp; &nbsp;{ [ ALTER COLUMN column_name&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{DROP DEFAULT | <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SET DEFAULT constant_expression | <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IDENTITY [ ( seed , increment ) ] }</P>
<P>....</P>
<P>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?</P>
<P>Then I looked again.</P>
<P>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.&nbsp; There are some workarounds however. </P>
<P>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.</P>
<P>&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:</P>
<BLOCKQUOTE>
<P>You can use the Help Collection Manager in BOL to remove the SQLCE content <BR>entirely. This will filter it from the index too. You can access the Help <BR>Collection Manager from: </P>
<P>ms-help://MS.SQLCC.v9/sqlcc9/html/b06d0f98-ef00-4b03-9f5d-b5c184b8df92.htm
<P>Search for below if you can't use the link above:
<P>Adding and Removing Help Collections</P></BLOCKQUOTE>
<P>The URL can be entered directly into a browser, or into the URL text box at the top of the main BOL content screen.</P>
<P>Have fun!</P>
<P><FONT color=#ff00ff>~Kalen</FONT></P><img src="http://sqlblog.com/aggbug.aspx?PostID=1721" width="1" height="1">BOLdocumentationSQLCE