<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://www.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>Synonyms and SQL Server Express</title><link>http://www.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://www.sqljunkies.com/WebLog/aggbug.aspx?PostID=116192" width="1" height="1"&gt;</description></item><item><title>Multiple Hierarchies from SQLCAT</title><link>http://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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>1952</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://www.sqljunkies.com/WebLog/aggbug.aspx?PostID=106310" width="1" height="1"&gt;</description></item><item><title>Happy Launch Day!</title><link>http://www.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://www.sqljunkies.com/WebLog/aggbug.aspx?PostID=106187" width="1" height="1"&gt;</description></item><item><title>Adios SQLJunkies</title><link>http://www.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://www.sqljunkies.com/WebLog/aggbug.aspx?PostID=106130" width="1" height="1"&gt;</description></item><item><title>In case you did not hear, PASS Call for Speakers is now open!</title><link>http://www.sqljunkies.com/WebLog/rheiges/archive/2008/02/22/106117.aspx</link><pubDate>Fri, 22 Feb 2008 12:53:27 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:106117</guid><dc:creator>RickH</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;&lt;SPAN&gt;In the latest PASS Community Connector, there is a call&amp;nbsp;for Speakers for this year's summit in Seattle in November.&amp;nbsp; If you have never been to Seattle in November, it really makes you want to learn more about SQL Server in the breakout sessions. ;-)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; But seriously, it is a great venue to meet other SQL Server professionals and meet the MSFT who actually write the code for SQL Server itself.&amp;nbsp; You know that since MSFT is located in nearby Redmond that the place will be very accessible to MSFT developers and managers.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Also, did you know that the abstracts that are submitted are reviewed/selected by a committee of PASS Volunteers just like you?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Join other industry professionals and help build the SQL Server community as a 2008 PASS Community Summit speaker in Seattle, Washington, November 18-21.&amp;nbsp; Act now and submit an abstract by the &lt;B&gt;&lt;SPAN&gt;March 28&lt;SUP&gt;th&lt;/SUP&gt; Deadline&lt;/SPAN&gt;&lt;/B&gt;. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;All speakers receive:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Complimentary registration to the 2008 PASS Community Summit&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Industry recognition &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Networking opportunities with thousands of attendees &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Microsoft employees are encouraged to submit presentations using the online submission website.&amp;nbsp; Please note that any Microsoft submissions will be reviewed and abstract status will be determined by Microsoft. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For more information, please visit our &lt;A href="http://rs6.net/tn.jsp?e=001gvAHM6BNOWbYfH5v7VPTHsqodLZCrBfgDqSi9G6SCJeoklJhVI9NkuJKO-1BcrpaUR93rj4dlkqKAwtVmrBhMrfB6KWivrTs-BuAXkkHpYhH7NTjTYbt4lZYdMWu1QGq"&gt;Call To Speakers&lt;/A&gt; website at &amp;nbsp;&lt;A href="http://rs6.net/tn.jsp?e=001gvAHM6BNOWbYfH5v7VPTHsqodLZCrBfgDqSi9G6SCJeoklJhVI9NkuJKO-1BcrpaUR93rj4dlkqKAwtVmrBhMrfB6KWivrTs-BuAXkkHpYhH7NTjTYbt4lZYdMWu1QGq"&gt;http://calltospeakers.sqlpass.org/&lt;/A&gt; or e-mail any questions to &lt;A href="mailto:calltospeakers@sqlpass.org"&gt;calltospeakers@sqlpass.org&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&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://www.sqljunkies.com/WebLog/aggbug.aspx?PostID=106117" width="1" height="1"&gt;</description></item><item><title>Change Tracking and Change Data Capture</title><link>http://www.sqljunkies.com/WebLog/marathonsqlguy/archive/2008/02/21/106084.aspx</link><pubDate>Thu, 21 Feb 2008 15:33:34 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:106084</guid><dc:creator>marathonsqlguy</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Tonight's meeting of the Ohio North SQL Server Users Group will include the Detroit SQL Server Users Group as well.  Here's the agenda:&lt;/p&gt;
&lt;pre&gt;5:30 - 6:00 PM - Early Arrival/PASS Intro and Presentation Tips and Techniques - Allen White
6:00 - 6:10 PM - Get Pizza and Settle/Coordinate Live Meeting with Detroit
6:15 - 7:15 PM - Bill Wolohan - SQL Server 2008 Change Tracking and Change Data Capture
7:15 - 7:30 PM - Q/A &amp;amp; Wrap Up
&lt;/pre&gt;
&lt;p&gt;Go to &lt;a href="http://www.bennettadelson.com/sql"&gt;http://www.bennettadelson.com/sql&lt;/a&gt; and click on the link "reserve your seat".&lt;/p&gt;
&lt;p&gt;Allen&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://www.sqljunkies.com/WebLog/aggbug.aspx?PostID=106084" width="1" height="1"&gt;</description></item><item><title>Start PowerShell in Management Studio</title><link>http://www.sqljunkies.com/WebLog/marathonsqlguy/archive/2008/02/20/106020.aspx</link><pubDate>Wed, 20 Feb 2008 13:00:19 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:106020</guid><dc:creator>marathonsqlguy</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;In the February CTP of SQL Server 2008 a new feature has appeared in SQL Server Management Studio.  You now have the ability to right-click on an object in the Object Explorer window and open up a PowerShell window.  In this window you can navigate the database structures much like you can a disk file subsystem, or like you can navigate the registry in PowerShell.&lt;/p&gt;
&lt;p&gt;So, let's say you right-click on your server name and open up a PowerShell window.  You can then issue the command:&lt;/p&gt;
&lt;pre&gt;cd Databases/AdventureWorks
&lt;/pre&gt;
&lt;p&gt;Now you're pointing to the AdventureWorks database.  Using PowerShell in this way allows you to browse the Server Management Objects (SMO) tree structures.  (By the way, you'll have to remember to use proper case when browsing the SMO objects.  They are case-sensitive in this environment.)  Now, you can type this:&lt;/p&gt;
&lt;pre&gt;dir Tables
&lt;/pre&gt;
&lt;p&gt;What returns is a list of the tables in AdventureWorks.  It's kind of neat idea, and definitely fun to play with.  I haven't found a productive use for it yet, but it's too new for me to make a judgement yet.  I like it, but I don't yet know why.&lt;/p&gt;
&lt;p&gt;Let me know what you think.&lt;/p&gt;
&lt;p&gt;Allen&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://www.sqljunkies.com/WebLog/aggbug.aspx?PostID=106020" width="1" height="1"&gt;</description></item><item><title>PASS Europe 2008</title><link>http://www.sqljunkies.com/WebLog/sqlbi/archive/2008/02/20/106018.aspx</link><pubDate>Wed, 20 Feb 2008 10:05:26 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:106018</guid><dc:creator>marcorusso</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;It's a shame I haven't blogged for two months, but I've been really (I mean - REALLY) busy finishing the upcoming &lt;a href="http://www.microsoft.com/mspress/books/10827.aspx"&gt;Microsoft Programming LINQ book&lt;/a&gt;. Now I'm coming back to my BI world and the first news is that I'll speak about SSAS models based on many-to-many relationships at the &lt;a href="http://www.european-pass-conference.com"&gt;European PASS Conference 2008&lt;/a&gt;, April 14-16 2008, Neuss, Germany (Europe, of course...). For those of you who want to know what I'm going to talk about... you can read &lt;a href="http://www.sqlbi.eu/manytomany.aspx"&gt;The Many-to-Many Revolution&lt;/a&gt; paper I wrote more than one year ago. It is based on SSAS 2005, but there is nothing to add with SSAS 2008 too.&lt;/p&gt; &lt;p&gt;In reality I and &lt;a href="http://sqlblog.com/blogs/alberto_ferrari/"&gt;Alberto&lt;/a&gt; developed some variation of the base models I described in the paper. In particular, we had great success with the Balance Reclassification model (sorry, we still don't have an article about it) that allows defining multiple parent-child hierarchies on a balance sheet, also using sign rollup operator (which is not natively supported if you have a many-to-many relationship with a parent-child hierarchy). Unfortunately, we desisted using it in a Gb-sized fact table for performance reason. But it is working well in many other typical scenarios, where balance sheet fact table has a granularity that gives a lower size of the fact table.&lt;/p&gt; &lt;p&gt;Let me know if this is an argument (Balance Reclassification model) that is interesting for you - I could give some anticipation in a blog post or in a short article.&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://www.sqljunkies.com/WebLog/aggbug.aspx?PostID=106018" width="1" height="1"&gt;</description></item><item><title>Transaction log backup deadlock</title><link>http://www.sqljunkies.com/WebLog/acalvett/archive/2008/02/19/105992.aspx</link><pubDate>Tue, 19 Feb 2008 23:10:42 GMT</pubDate><guid isPermaLink="false">d2584c15-f6ef-46f7-a2d4-24fc0e143e76:105992</guid><dc:creator>ACALVETT</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;My blog has moved to: &lt;a href="http://sqlblogcasts.com/blogs/acalvett/"&gt; http://sqlblogcasts.com/blogs/acalvett/&lt;/a&gt; &lt;br&gt;
The full version of this post can be found &lt;a href="http://sqlblogcasts.com/blogs/acalvett/archive/2008/02/19/transaction-log-backup-deadlock.aspx"&gt; here.&lt;/a&gt;&lt;/p&gt;Recently we started to see deadlock errors when backing up our transaction logs. The "important" part of the error is shown below.
&lt;p&gt;&lt;em&gt;Could not insert a backup or restore history/detail record in the msdb database. This may indicate a problem with the msdb database. The backup/restore operation was still successful.
&lt;/em&gt;&lt;/p&gt;&lt;p&gt;What this meant was that the transaction log backup was occurring but the entry in the msdb was not being made as it was being chosen as a deadlock victim so we investigated the cause of the problem as we had some processes that used this information to copy transaction logs to other servers and we needed it to be complete.
&lt;/p&gt;&lt;p&gt;We used trace flag 1222 to output the deadlock information to the error log and found the culprit to be a Microsoft stored procedure called "sp_delete_backuphistory" that is called by SQL 2005 maintenance plans when you use the "History cleanup task" and tick the "Backup and Restore History".&lt;/p&gt;

To read the complete version of this post go to &lt;a href="http://sqlblogcasts.com/blogs/acalvett/archive/2008/02/19/transaction-log-backup-deadlock.aspx"&gt; here.&lt;/a&gt;&lt;br&gt;&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.sqljunkies.com/WebLog/aggbug.aspx?PostID=105992" width="1" height="1"&gt;</description></item></channel></rss>