<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>SQLJunkies Blogs</title><link>http://sqljunkies.com/WebLog/</link><description>SQLJunkies Blogs</description><dc:language>en-US</dc:language><generator>CommunityServer 1.0 (Build: 1.0.1.50214)</generator><item><title>SQL Server 2008 Transact-SQL Recipes</title><link>http://sqljunkies.com/WebLog/joesack/archive/2008/07/02/140775.aspx</link><pubDate>Wed, 02 Jul 2008 04:50:00 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:140775</guid><dc:creator>joe.sack</dc:creator><slash:comments>0</slash:comments><description>** Cross-posted on www.joesack.com **

&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;My new book, "&lt;a href="http://www.amazon.com/gp/product/1590599802?ie=UTF8&amp;amp;tag=wwwjoesackcom-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1590599802" title="recipes"&gt;SQL Server 2008 Transact-SQL Recipes&lt;/a&gt;" is coming out in a few weeks (estimated publication at the end of July). &lt;/font&gt;&lt;font face="Calibri"&gt;As of July 1&lt;sup&gt;st&lt;/sup&gt;, &lt;a href="http://www.amazon.com/gp/product/1590599802?ie=UTF8&amp;amp;tag=wwwjoesackcom-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1590599802" title="recipes"&gt;Amazon.com is selling it for $37.70&lt;/a&gt;. They don’t have a picture of the cover up yet, but it will have the standard bumble-bee color scheme Apress cover, so expect no surprises there. &lt;/font&gt;&lt;span&gt;&lt;span&gt;J&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;Although this was an update of my last book, it still took 9 months to write (plenty of weeknights and weekends holed up in my office).&lt;span&gt;  &lt;/span&gt;I updated existing content, and added content for both SQL Server 2008 and SQL Server 2005 SP2 additions. &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;Like my last book, I focus specifically on the Transact-SQL language. Even with the focus on T-SQL and not the GUI, the book wound up being greater than 800 pages.&lt;span&gt;  &lt;/span&gt;Also like the last book, I use a problem/solution format.&lt;span&gt;  &lt;/span&gt;The overall theme and mission statement for this book was:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;span&gt; &lt;/span&gt;"Look up what you need to do. Learn how to do it. Do it."&lt;span&gt;  &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;I'll have a downloadable detailed index link available after the publication date.&lt;span&gt;  &lt;/span&gt;That link will include the specific recipes for each chapter.&lt;span&gt;  &lt;/span&gt;In the meantime, here is a high level list of the chapters:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 1 SELECT&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 2 Perform, Capture, and Track Data Modifications&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 3 Transactions, Locking, Blocking, and Deadlocking&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 4 Tables &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 5 Indexes &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 6 Full-Text Search &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 7 Views &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 8 SQL Server Functions &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 9 Conditional Processing, Control-of-Flow, and Cursors &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 10 Stored Procedures &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 11 User-Defined Functions and Types &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 12 Triggers &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 13 CLR Integration&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 14 XML, Hierarchies, and Spatial Data&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 15 Hints &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 16 Error Handling &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 17 Principals &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 18 Securables, Permissions, and Auditing &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 19 Encryption&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 20 Service Broker&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 21 Configuring and Viewing SQL Server Options&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 22 Creating and Configuring Databases &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 23 Database Integrity and Optimization&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 24 Maintaining Database Objects and Object Dependencies &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 25 Database Mirroring &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 26 Database Snapshots &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 27 Linked Servers and Distributed Queries &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 28 Query Performance Tuning &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;CHAPTER 29 Backup and Recovery &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font face="Calibri"&gt;I enjoyed writing this book; but most importantly I hope you find it to be a useful, practical reference.&lt;span&gt;  &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=140775" width="1" height="1"&gt;</description></item><item><title>Last post on SqlJunkies, now I am only on SqlBlog.com</title><link>http://sqljunkies.com/WebLog/sqlbi/archive/2008/06/10/132042.aspx</link><pubDate>Tue, 10 Jun 2008 08:34:00 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:132042</guid><dc:creator>marcorusso</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;In the last months I cross-posted from my blog on SqlBlog.com to SqlJunkies.com, but starting from today &lt;b&gt;I will be only on &lt;a href="http://sqlblog.com/blogs/marco_russo"&gt;http://sqlblog.com/blogs/marco_russo&lt;/a&gt;.&lt;/b&gt;&lt;/P&gt;
&lt;P&gt;
This is my last post on this blog on SqlJunkies.com. See you on &lt;a href="http://sqlblog.com/blogs/marco_russo"&gt;SqlBlog&lt;/a&gt;!
&lt;/P&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=132042" width="1" height="1"&gt;</description></item><item><title>What means writing a book</title><link>http://sqljunkies.com/WebLog/sqlbi/archive/2008/06/05/129943.aspx</link><pubDate>Thu, 05 Jun 2008 15:58:35 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:129943</guid><dc:creator>marcorusso</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;I and Paolo Pialorsi&amp;nbsp;have been interviewed at TechEd by Ken Rosen. We talked about our experience as book authors of &lt;A class="" href="http://programminglinq.com/"&gt;Programming LINQ&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;If you are interested in writing a book, or if you simply want to see our faces and hear our italian accent, you can watch the video available in both &lt;A class="" href="http://mfile.akamai.com/14853/wmv/microsofttec.download.akamai.com/14853/TechEdOnline/Videos/08_NA_Dev_techtalk_12_low.asx"&gt;low resolution&lt;/A&gt; and &lt;A class="" href="http://microsofttech.fr.edgesuite.net/TechEdOnline/Videos/08_NA_Dev_techtalk_12_high.wmv"&gt;high resolution&lt;/A&gt;. Enjoy!&lt;/P&gt;
&lt;br&gt;&lt;hr&gt;&lt;br&gt;Cross-posted from SQLBlog! - &lt;a href="http://www.sqlblog.com"&gt;http://www.sqlblog.com&lt;/a&gt;&lt;br&gt;&lt;hr&gt;&lt;br&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=129943" width="1" height="1"&gt;</description></item><item><title>TechEd 2008 book signing and other meetings</title><link>http://sqljunkies.com/WebLog/sqlbi/archive/2008/06/02/128581.aspx</link><pubDate>Mon, 02 Jun 2008 13:40:01 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:128581</guid><dc:creator>marcorusso</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;I'm already in Orlando for &lt;A class="" href="http://www.microsoft.com/events/teched2008/developer/default.mspx"&gt;TechEd 2008 Developers&lt;/A&gt;. Tomorrow I and Paolo Pialorsi will be at the TechEd bookshop for a book signing of our just released &lt;A class="" href="http://www.amazon.com/gp/product/0735624003/?tag=se04-20"&gt;Programming Microsoft LINQ&lt;/A&gt;, scheduled at 4:00PM-4:30PM. I wrote a post a few days a go with the list of chapters included in the book. LINQ to SQL and LINQ to Entities are two technologies that are significative to access data, even if you don't have to use them in every possible scenario.&lt;/P&gt;
&lt;P&gt;If you are attending to TechEd, meet us tomorrow at the bookshop to talk about LINQ!&lt;/P&gt;
&lt;br&gt;&lt;hr&gt;&lt;br&gt;Cross-posted from SQLBlog! - &lt;a href="http://www.sqlblog.com"&gt;http://www.sqlblog.com&lt;/a&gt;&lt;br&gt;&lt;hr&gt;&lt;br&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=128581" width="1" height="1"&gt;</description></item><item><title>Programming Microsoft LINQ finally shipping</title><link>http://sqljunkies.com/WebLog/sqlbi/archive/2008/05/26/124388.aspx</link><pubDate>Sun, 25 May 2008 21:30:40 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:124388</guid><dc:creator>marcorusso</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;&lt;SPAN&gt;&lt;FONT&gt;Finally, the Programming Microsoft LINQ book &lt;/FONT&gt;&lt;A href="http://www.amazon.com/gp/product/0735624003/?tag=se04-20"&gt;&lt;FONT&gt;is available&lt;/FONT&gt;&lt;/A&gt;&lt;FONT&gt;. We (I and Paolo Pialorsi, the other author)&amp;nbsp;updated the website that supports our books (&lt;/FONT&gt;&lt;A href="http://programminglinq.com/"&gt;&lt;FONT&gt;http://programminglinq.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT&gt;&lt;FONT&gt;), where you can download the sample code of the book.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;What’s in this book? Well, we tried to cover everything that was in RTM, but we also introduced technologies that are still in beta or in early CTP stages, like LINQ to Entities and Parallel LINQ. To give you an idea of the content, at the end of this post there is a list of the chapters included in the book.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;Now, the next news is that I will be at TechEd Developers next week in Orlando. Feel free to contact&amp;nbsp;me if you want to arrange a meeting talking about LINQ or SSAS. Moreover, I and Paolo will be at the bookshop for book signing on June 3rd from 4:00pm to 4:30pm. I hope to see you there!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;In these days I'm already working on a new project, this time on Data Warehousing and Analysis Services. More news on this blog in a few weeks...&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;&lt;STRONG&gt;&lt;SPAN&gt;Programming Microsoft LINQ&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;FONT&gt;·&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;Part I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&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;A ADO.NET Entity Framework&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;FONT&gt;o&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;B C# 3.0: New Language Features&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;FONT&gt;o&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;C Visual Basic 2008: New Language Features&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;br&gt;&lt;hr&gt;&lt;br&gt;Cross-posted from SQLBlog! - &lt;a href="http://www.sqlblog.com"&gt;http://www.sqlblog.com&lt;/a&gt;&lt;br&gt;&lt;hr&gt;&lt;br&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=124388" width="1" height="1"&gt;</description></item><item><title>Synonyms and SQL Server Express</title><link>http://sqljunkies.com/WebLog/roman/archive/2008/05/03/116192.aspx</link><pubDate>Sat, 03 May 2008 04:15:43 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:116192</guid><dc:creator>Roman</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;I've been a big fan of using SQL Server aliases for a long time because it allows you to make physical location of SQL Servers transparent to the client machines. With SQL Server 2005 Microsoft introduced synonyms, allowing you to define logical names for objects in another database or even on another server. This could be among other things beneficial if you need to move some tables to another database. Instead of recoding your application, you can define synonyms and point them to the new location (I wrote an &lt;A class="" href="http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1281621,00.html"&gt;article&lt;/A&gt; for SearchSQLServer.com about synonyms recently, you can get more details there if interested) This week I realized that synonyms can have another great benefit. As you know, SQL Server Express has a limit of 4GB per database. If your database begins to grow close to 4GB, you can move one or more large tables to another database on the same server, create synonyms in the original database and point them to the new location. I tested it on my SQL Server Express instance and it does work as expected. So with this knowledge, this limitation might become less of an obstacle for you to consider SQL Server Express.&lt;/P&gt;
&lt;br&gt;&lt;hr&gt;&lt;br&gt;Cross-posted from SQLBlog! - &lt;a href="http://www.sqlblog.com"&gt;http://www.sqlblog.com&lt;/a&gt;&lt;br&gt;&lt;hr&gt;&lt;br&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=116192" width="1" height="1"&gt;</description></item><item><title>Multiple Hierarchies from SQLCAT</title><link>http://sqljunkies.com/WebLog/sqlbi/archive/2008/04/21/114474.aspx</link><pubDate>Mon, 21 Apr 2008 16:52:18 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:114474</guid><dc:creator>marcorusso</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I'm still late with blog reading and sometimes I discover interesting things one or two months later than the original posting. I just read the SQLCAT analysis of the several solutions available to &lt;a href="http://sqlcat.com/technicalnotes/archive/2008/03/17/including-child-members-multiple-places-in-a-parent-child-hierarchy.aspx"&gt;handle multiple parent-child hierarchies within a single dimension&lt;/a&gt;. The multiple hierarchies pattern described in my &lt;a href="http://www.sqlbi.eu/manytomany.aspx"&gt;many-to-many&lt;/a&gt; paper has been used (with some variations) and now I have the "SQLCAT certification" that this model is faster than others!&lt;/p&gt; &lt;p&gt;I think there is space for improvement in this area and the many-to-many space is still a relatively unexplored space. If you have experience adopting those models, please share your knowledge - and if you are shy, write me directly and I'll post the interesting data.&lt;/p&gt;
&lt;br&gt;&lt;hr&gt;&lt;br&gt;Cross-posted from SQLBlog! - &lt;a href="http://www.sqlblog.com"&gt;http://www.sqlblog.com&lt;/a&gt;&lt;br&gt;&lt;hr&gt;&lt;br&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=114474" width="1" height="1"&gt;</description></item><item><title>Deleted All Logins to SQL Server 2005 and Lost sa Password: You Did WHAT?  And BizTalk 2006 Is Using It?</title><link>http://sqljunkies.com/WebLog/davescube/archive/2008/04/11/111944.aspx</link><pubDate>Fri, 11 Apr 2008 10:46:00 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:111944</guid><dc:creator>drodabaugh</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;&lt;FONT&gt;It's been a while since I blogged but I had a circumstance yesterday that I thought was noteworthy.&amp;nbsp; Recently my employer cut our staff to about 1/4 of what it was nine months ago, so all of us in "management" are now hands-on.&amp;nbsp; I've inherited DBA work (since we cut the DBA), something of which I've not done much in the past eight years during a BI career.&amp;nbsp; I have always appreciated what competent DBA's do for those of us in BI development.&amp;nbsp; I'm sure I'll appreciate it more as time progresses.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;As the title suggests, I committed an egregious error.&amp;nbsp; I was working on a dev server and needed to reload a database which hasn't yet gone to production.&amp;nbsp; I inherited the database and the application from a consultant (yup, cut him too) and it hasn't been fully loaded.&amp;nbsp; As part of the work, I thought I'd build an "initial load" procedure and add it to the documentation.&amp;nbsp; One of the methods for initialization is to create the database with a script, so I had SSMS write a script.&amp;nbsp; I told it to script the database logins.&amp;nbsp; Did I read the script before punching the go-giddy button?&amp;nbsp; No.&amp;nbsp; In a few seconds, the script errored out saying that I didn't have permission to create logins.&amp;nbsp; Huh?&amp;nbsp; Of course I do!&amp;nbsp; I'm a sysadmin.&amp;nbsp; A few more minutes of sleuthing revealed the disaster:&amp;nbsp; I had deleted every single login in that server.&amp;nbsp; Every last one, including myself.&amp;nbsp; I had even whacked Builtin/administrators.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Shortly thereafter I realized we didn't have the sa password.&amp;nbsp; I had completely locked myself out of my own server.&amp;nbsp; What to do?&amp;nbsp; I considered a full rebuild of the server, but there were 17 user-defined database on the server.&amp;nbsp; Additionally, the majority of those databases were for a dev instance of BizTalk 2006, and while I'm not an experienced DBA, I worked with our DBA during initial installation of BizTalk 2006 and knew that it wasn't backed up or restored conventionally.&amp;nbsp; Plus, there was a dev SharePoint installation using the SQL Server as well and I knew even less about the restore procedures for that.&amp;nbsp; I was felling a little sick at that point.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;A quick Web search revealed that Microsoft has left a trap door in SQL Server 2005 for this problem.&amp;nbsp; You may find a simple and correct procedure for resetting a lost sa password when you cannot otherwise get access to the server, in the following link: &lt;/FONT&gt;&lt;FONT&gt;&lt;A href="http://blogs.msdn.com/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx"&gt;http://blogs.msdn.com/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx&lt;/A&gt;.&amp;nbsp; I did exactly what Raul Garcia told me to do, and it worked!&amp;nbsp; Restart the server in maintenance mode and then add a user to the the sysadmin role with sp_addsrvrolemember.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Next, I ran only the portions of the offending script which created logins.&amp;nbsp; But was I done?&amp;nbsp; Hardly.&amp;nbsp; Inspection of the script (in which I asked for descriptive headers) told me that all SQL Server logins would be recreated with a random password and automatically disabled.&amp;nbsp; I only had four of those, but I had to find the application passwords and make them match, and then enable the accounts.&amp;nbsp; I also noticed that the associations between those logins and their database users seemed to be incorrect.&amp;nbsp; I reset those with SSMS and they seemed to be working fine.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Next, I noticed that none of my backup jobs were running.&amp;nbsp; SQL Agent could not access SQL Server.&amp;nbsp; I use the same domain account to start both the SQL Server service and SQL Agent, but I had wiped out the permissions of that domain account.&amp;nbsp; I fixed the problem by adding a login for the service account to SQL Server and gave it sa rights.&amp;nbsp; I'm sure this is not the best possible way I could have solved that problem, but I can go back and fix it later.&amp;nbsp; The highest priority of any DBA is to safeguard the company's data and this was only a dev server.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Finally, the SQL Server log showed that the BizTalk accounts could not log on to SQL Server.&amp;nbsp;&amp;nbsp; The message shown in the log was something like this:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;&lt;STRONG&gt;&lt;EM&gt;Login failed for user '&amp;lt;domain&amp;gt;\&amp;lt;domain user&amp;gt;'. [CLIENT: 10.1.2.17]&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;&lt;STRONG&gt;&lt;EM&gt;Error: 18456, Severity: 14, State: 16&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;State 16 seems to indicate that a login has no permissions in a database which it is querying.&amp;nbsp; Running sp_change_users_login with the "Report" option showed nothing.&amp;nbsp; All of the BizTalk users had proper associations in their databases, just as SSMS said they did.&amp;nbsp; Furthermore, we got the Windows password for one of the BizTalk Windows accounts and logged in to the server.&amp;nbsp; We were able to connect to all the proper databases and query tables, just the permissions said we would.&amp;nbsp; In other words, BizTalk was having no real problem connecting to SQL Server and querying its databases.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;So, what kept causing the problem?&amp;nbsp; We noted that the errors only occurred after restarting the SQL Server service, and then only one time.&amp;nbsp; A ha!&amp;nbsp; Is it possible that BizTalk was trying to connect to SQL Server and access its databases before the restart recovery is complete?&amp;nbsp; Yes!&amp;nbsp; Had I been more observant, I would have seen this in the log file.&amp;nbsp; We put this to the test by stopping the BizTalk services on the BizTalk dev server and restarting the SQL Server service.&amp;nbsp; Sure enough, the errors disappeared.&amp;nbsp; It was nothing more than an order of operations issue.&amp;nbsp; BizTalk tries to connect very quickly when it loses its SQL Server connection.&amp;nbsp; It was trying to access a database before recovery was complete.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;So that's the saga.&amp;nbsp; Here's what we learned:&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT&gt;Don't let Dave be your DBA on production servers if he can't stop destroying dev servers.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT&gt;Always have current backups.&amp;nbsp; We did, so I knew I could get back if the method described herein didn't work.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT&gt;BizTalk is a very complicated system.&amp;nbsp; You'd better practice restoring it because if you really have to do it, it could take hours just to know the process for recovery.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT&gt;Always record your sa passwords and securely store them.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT&gt;Read database creation scripts BEFORE you execute them.&amp;nbsp; Five minutes of reading may save four hours' work.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT&gt;Microsoft has provided a way to create a new admin account on SQL Server even if you are boneheaded enough to completely sever access to SQL Server.&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=111944" width="1" height="1"&gt;</description></item><item><title>Many-to-Many Session at European PASS Conference 2008</title><link>http://sqljunkies.com/WebLog/sqlbi/archive/2008/04/11/111902.aspx</link><pubDate>Fri, 11 Apr 2008 08:50:30 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:111902</guid><dc:creator>marcorusso</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I'll be a speaker at the &lt;a href="http://www.european-pass-conference.com"&gt;European PASS Conference 2008&lt;/a&gt; next week in Dusseldorf. I will talk about advanced dimensional modeling using many-to-many relationship. The content is based on "&lt;a href="http://www.sqlbi.eu/manytomany.aspx"&gt;The many-to-many revolution&lt;/a&gt;" paper I wrote two years ago. If you will attend that conference and you already used some of the models I described in the paper, I will be happy to get direct feedback from you.&lt;/p&gt; &lt;p&gt;My session is scheduled on Wednesday at 14:30. Unfortunately, I will not have much time after the session because I will have to go to the airport - for this reason, contact me in advance if you want, I'll be at the conference starting from Monday.&lt;/p&gt;
&lt;br&gt;&lt;hr&gt;&lt;br&gt;Cross-posted from SQLBlog! - &lt;a href="http://www.sqlblog.com"&gt;http://www.sqlblog.com&lt;/a&gt;&lt;br&gt;&lt;hr&gt;&lt;br&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=111902" width="1" height="1"&gt;</description></item><item><title>Take advantage of FE caching to optimize MDX performance</title><link>http://sqljunkies.com/WebLog/mosha/archive/2008/03/28/110688.aspx</link><pubDate>Fri, 28 Mar 2008 23:48:00 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:110688</guid><dc:creator>mosha</dc:creator><slash:comments>0</slash:comments><description>I have decided to move my blog from the sqljunkies site to &lt;a href="http://sqlblog.com/blogs/mosha/default.aspx"&gt;sqlblog&lt;/a&gt; site. The transition started about a year ago. During this year I was posting every blog on both sites. This transition period has ended now, and from now on all the posts will be on sqlblog only. I apologize for all the inconvenience that it causes, but sqljunkies had too many problems to deal with, and the current owners didn't seem interested in fixing them. The sqlblog owners, on the other side, were were responsive and supportive, making sqlblog much more attractive solution for the blog publishers.
The latest post is &lt;a href="http://sqlblog.com/blogs/mosha/archive/2008/03/28/take-advantage-of-fe-caching-to-optimize-mdx-performance.aspx"&gt;Take advantage of FE caching to optimize MDX performance&lt;/a&gt;.&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=110688" width="1" height="1"&gt;</description></item><item><title>LINQ to extract object permission from SSAS</title><link>http://sqljunkies.com/WebLog/sqlbi/archive/2008/03/28/110628.aspx</link><pubDate>Fri, 28 Mar 2008 10:01:33 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:110628</guid><dc:creator>marcorusso</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Yesterday one customer of mine encountered the &lt;a href="http://support.microsoft.com/kb/933836"&gt;issue described in KB933836&lt;/a&gt; and posted also by &lt;a href="http://cwebbbi.spaces.live.com/blog/cns!7B84B0F2C239489A!978.entry?_c=BlogPart"&gt;Chris Sells&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;The issue is that the deployment of a SSAS database always overwrite object permissions defined on database objects like cubes. The "keep existing roles" setting of deployment wizard does not preserve those information. I needed to solve the issue and I simply made a simple program that creates an XMLA file with object permissions that I need to restore after database deployment. I used LINQ and XML Literals in Visual Basic - &lt;a href="http://www.microsoft.com/mspress/books/10827.aspx"&gt;I wrote a book about LINQ&lt;/a&gt; and I have to find a reason for this, but I really think that LINQ saved my time.&lt;/p&gt; &lt;p&gt;I will write a more complete article about this issue one day, may be... by now, if you have the same issue, you can contact me to get the code I wrote. If you don't need it, look at the readability of LINQ in a case like this.&lt;/p&gt; &lt;p&gt;&lt;span&gt;&lt;a href="http://sqlblog.com/blogs/marco_russo/WindowsLiveWriter/LINQtoextractobjectpermissionfromSSAS_9B05/image_2.png"&gt;&lt;img height="342" alt="image" src="http://sqlblog.com/blogs/marco_russo/WindowsLiveWriter/LINQtoextractobjectpermissionfromSSAS_9B05/image_thumb.png" width="714" border="0"&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span&gt;If I will receive some request, I will consider to publish this simple tool.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/p&gt;&lt;/span&gt;
&lt;br&gt;&lt;hr&gt;&lt;br&gt;Cross-posted from SQLBlog! - &lt;a href="http://www.sqlblog.com"&gt;http://www.sqlblog.com&lt;/a&gt;&lt;br&gt;&lt;hr&gt;&lt;br&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=110628" width="1" height="1"&gt;</description></item><item><title>Thoughts about the “Current Day” problem in SSAS</title><link>http://sqljunkies.com/WebLog/tpagel/archive/2008/03/18/108603.aspx</link><pubDate>Tue, 18 Mar 2008 04:37:00 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:108603</guid><dc:creator>tpagel</dc:creator><slash:comments>0</slash:comments><description>Well, I think it’s time for a new post here in my blog... Yes, I’m still alive and still working in the MS BI space at Avanade... Many things changed in the last months so this blog was not on my top priority list, but maybe this will change again...
So I just want to publish some thoughts about the “Current Day” problem in SSAS... There are quite some articles about that and what I want to tell you is nothing more than bringing two posts together...
Mosha wrote quite something about this task... http://sqlblog.com/blogs/mosha/archive/2007/05/23/how-to-get-the-today-s-date-in-mdx.aspx. How to use VBA to find out the current date and how to map this with your dimension... At the end he mentions performance issues with this... And that might be right... Since this is a calculation which will be run in each MDX you send to the server there is nearly nothing it can cache... Mosha’s recommendation is to use some fixed member you change daily...
So what can you do? I came across this article... http://www.sqlbi.eu/Home/tabid/36/ctl/Details/mid/374/ItemID/8/Default.aspx. Here you find some code how to build up a simple application which changes your actual MDX script on your server... 
I didn’t have time to test it but it should be pretty straight-forward to build up a tiny tool which updates a set with the actual date in your MDX script. So you have that fixed set and your performance should get better...
If someone likes to implement it and give some feedback, I’ll be more than happy to publish it...&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=108603" width="1" height="1"&gt;</description></item><item><title>So long and thanks for all the fish</title><link>http://sqljunkies.com/WebLog/mz1313/archive/2008/03/01/106310.aspx</link><pubDate>Sat, 01 Mar 2008 05:16:00 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:106310</guid><dc:creator>mz1313</dc:creator><slash:comments>1958</slash:comments><description>This is my last post on SQLJunkies. I'm moving to sqlblog.com - welcome to my new &lt;a href="http://sqlblog.com/blogs/michael_zilberstein/default.aspx"&gt;blog&lt;/a&gt;. It's empty meanwhile but not for long. Since nice part of my RSS feeds subscription belongs to sqlblog.com bloggers (&lt;a href="http://sqlblog.com/blogs/kalen_delaney/default.aspx"&gt;Kalen Delaney&lt;/a&gt;, &lt;a href="http://sqlblog.com/blogs/adam_machanic/default.aspx"&gt;Adam Machanic&lt;/a&gt;, &lt;a href="http://sqlblog.com/blogs/denis_gobo/default.aspx"&gt;Denis Gobo&lt;/a&gt;, &lt;a href="http://sqlblog.com/blogs/linchi_shea/default.aspx"&gt;Linchi Shea&lt;/a&gt; etc), I was more than happy to receive an offer to move there. So... see you in &lt;a href="http://sqlblog.com/blogs/michael_zilberstein/default.aspx"&gt;my new blog&lt;/a&gt;.&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=106310" width="1" height="1"&gt;</description></item><item><title>Happy Launch Day!</title><link>http://sqljunkies.com/WebLog/rheiges/archive/2008/02/27/106187.aspx</link><pubDate>Wed, 27 Feb 2008 17:04:34 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:106187</guid><dc:creator>RickH</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;It's Official, today!&lt;/P&gt;
&lt;P&gt;We have a party for SQL Server 2008 in LA!&amp;nbsp; The product may not be shipping, but that won't stop us from having our party.&lt;/P&gt;
&lt;P&gt;Seriously, Today marks the beginning of a more useful Launch than the 2005 launch.&amp;nbsp; What am I saying?&amp;nbsp; The Launch Events will probably be more educational for you this time around because there hasn't been as much focus on having a lot of events on 2008 as of yet.&amp;nbsp; Signup today for a launch event near you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;br&gt;&lt;hr&gt;&lt;br&gt;Cross-posted from SQLBlog! - &lt;a href="http://www.sqlblog.com"&gt;http://www.sqlblog.com&lt;/a&gt;&lt;br&gt;&lt;hr&gt;&lt;br&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=106187" width="1" height="1"&gt;</description></item><item><title>Adios SQLJunkies</title><link>http://sqljunkies.com/WebLog/marathonsqlguy/archive/2008/02/23/106130.aspx</link><pubDate>Sat, 23 Feb 2008 23:09:41 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:106130</guid><dc:creator>marathonsqlguy</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thanks for getting me started but it's time to close the door.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Allen&lt;br&gt;&amp;nbsp;&lt;/p&gt;
&lt;br&gt;&lt;hr&gt;&lt;br&gt;Cross-posted from SQLBlog! - &lt;a href="http://www.sqlblog.com"&gt;http://www.sqlblog.com&lt;/a&gt;&lt;br&gt;&lt;hr&gt;&lt;br&gt;&lt;img src="http://sqljunkies.com/WebLog/aggbug.aspx?PostID=106130" width="1" height="1"&gt;</description></item></channel></rss>