<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SSIS Talk</title>
	<atom:link href="http://www.ssistalk.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ssistalk.com</link>
	<description>Random thoughts and experiences with SSIS, by Phil Brammer</description>
	<lastBuildDate>Mon, 13 May 2013 19:59:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>MAP Toolkit &#8211; Connecting to LocalDB</title>
		<link>http://www.ssistalk.com/2013/04/23/map-toolkit-connecting-to-localdb/</link>
		<comments>http://www.ssistalk.com/2013/04/23/map-toolkit-connecting-to-localdb/#comments</comments>
		<pubDate>Tue, 23 Apr 2013 14:37:32 +0000</pubDate>
		<dc:creator>Phil Brammer</dc:creator>
				<category><![CDATA[SQL Server 2012]]></category>

		<guid isPermaLink="false">http://www.ssistalk.com/?p=484</guid>
		<description><![CDATA[When installing the Microsoft Assessment and Planning (MAP) Toolkit (commonly used for licensing renewal discussions and migration planning), one of the options is to have the tool use the new SQL Server Express LocalDB database container. Because this isn&#8217;t a normal SQL service, you may find it a bit challenging to connect to this database <a href='http://www.ssistalk.com/2013/04/23/map-toolkit-connecting-to-localdb/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>When installing the <a href="http://technet.microsoft.com/en-us/library/bb977556.aspx" title="Microsoft Assessment and Planning Toolkit" target="_blank">Microsoft Assessment and Planning (MAP) Toolkit</a> (commonly used for licensing renewal discussions and migration planning), one of the options is to have the tool use the new <a href="http://msdn.microsoft.com/en-us/library/hh510202.aspx" title="SQL Server 2012 Express LocalDB" target="_blank">SQL Server Express LocalDB</a> database container.  Because this isn&#8217;t a normal SQL service, you may find it a bit challenging to connect to this database outside of the MAP toolkit.  </p>
<p>If you want to connect to this database instance with SQL Server Management Studio (SSMS), use the following as your connection string: (LocalDB)\MAPToolkit.  As long as you are the owner of the LocalDB instance, you will be able to connect just fine.  If you are not the owner of the instance, you will get the following error:</p>
<p><a href="http://www.ssistalk.com/wp-content/uploads/2013/04/localdb_failure.png"><img src="http://www.ssistalk.com/wp-content/uploads/2013/04/localdb_failure.png" alt="LocalDB Connection Failure" width="610" height="200" class="alignnone size-full wp-image-485" /></a></p>
<p>If you run into this, verify who the owner of the LocalDB instance is, by excecuting SqlLocalDb.exe from a command line as follows:</p>
<pre><code>SqlLocalDB.exe info MAPToolkit</code></pre>
<p>Which should return details about who owns the instance, when it was last started, and its state (running, for instance):</p>
<pre>LocalDB instance "MAPToolkit" started.

C:\Users\Phil.Brammer>SqlLocalDb.exe info MapToolkit
Name:               MAPToolkit
Version:            11.0.2100.60
Shared name:        
Owner:              MyDomain\Phil.Brammer
Auto-create:        No
State:              Running
Last start time:    4/23/2013 9:04:31 AM
Instance pipe name: np:\\.\pipe\LOCALDB#SH2C50D1\tsql\query</pre>
<p>Here we can see that &#8220;MyDomain\Phil.Brammer&#8221; owns this instance.  Any other user will not be able to connect to it.  In order to allow other users to connect, follow these steps:</p>
<ul>
<li>Connect to the instance in SSMS (logged in as the owner shown above)</li>
<li>For the users/groups you want to be able to connect, add them with the SQL &#8220;sysadmin&#8221; server role.</li>
<li>Share the LocalDB instance.  The following command will do the trick: <code>SqlLocalDb.exe share MAPToolkit MAPToolkitShare</code></li>
<li>Stop the MAPToolkit LocalDB instance if it is running.  <code>SqlLocalDb.exe stop MAPToolkit</code></li>
<li>Start the MAPToolkit LocalDB instance.  <code>SqlLocalDb.exe start MAPToolkit</code></li>
<li>As the other user, open up SSMS and connect to the shared LocalDB instance using the following connection string: (localdb)\.\MAPToolkitShare</li>
</ul>
<p>To see details about the shared LocalDB instance, you can execute <code>SqlLocalDb.exe info MAPToolkit</code> -or- <code>SqlLocalDb.exe info .\MAPToolkitShare</code></p>
<p>Either command will show the same results:</p>
<pre>C:\Users\Phil.Brammer>SqlLocalDb.exe info .\MapToolkitShare
Name:               MAPToolkit
Version:            11.0.2100.60
Shared name:        MAPToolkitShare
Owner:              MyDomain\Phil.Brammer
Auto-create:        No
State:              Running
Last start time:    4/23/2013 9:17:35 AM
Instance pipe name: np:\\.\pipe\LOCALDB#SH80EAD1\tsql\query</pre>
<p>You can unshare the database with <code>SqlLocalDb.exe unshare .\MapToolkitShare</code></p>
<p>Note: LocalDB does not allow remote connections.  You will need to connect from the machine where the LocalDB instance is running.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ssistalk.com/2013/04/23/map-toolkit-connecting-to-localdb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server Data Tools (SSDT) announced for Visual Studio 2012</title>
		<link>http://www.ssistalk.com/2013/03/07/sql-server-data-tools-ssdt-announced-for-visual-studio-2012/</link>
		<comments>http://www.ssistalk.com/2013/03/07/sql-server-data-tools-ssdt-announced-for-visual-studio-2012/#comments</comments>
		<pubDate>Thu, 07 Mar 2013 16:35:06 +0000</pubDate>
		<dc:creator>Phil Brammer</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2012]]></category>

		<guid isPermaLink="false">http://www.ssistalk.com/?p=477</guid>
		<description><![CDATA[Fresh off of the press, Microsoft has announced the availability of SSDT for Visual Studio 2012. This means you can now build SSRS, SSAS, and SSIS BI projects within Visual Studio 2012, allowing you to abandon VS 2010 for SQL 2012 BI work. For more details see the official announcement here. You can download the <a href='http://www.ssistalk.com/2013/03/07/sql-server-data-tools-ssdt-announced-for-visual-studio-2012/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>Fresh off of the press, Microsoft has announced the availability of SSDT for Visual Studio 2012.  This means you can now build SSRS, SSAS, and SSIS BI projects within Visual Studio 2012, allowing you to abandon VS 2010 for SQL 2012 BI work.</p>
<p>For more details see the official announcement <a href="http://blogs.msdn.com/b/mattm/archive/2013/03/07/sql-server-data-tools-business-intelligence-for-visual-studio-2012-released-online.aspx" title="SQL Server Data Tools – Business Intelligence for Visual Studio 2012 released online" target="_blank">here</a>.  You can download the bits <a href="http://www.microsoft.com/en-us/download/details.aspx?id=36843" title="Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012" target="_blank">here</a>.</p>
<p>When installing, please follow the below steps:<br />
 &#8211; Double-click the downloaded file from the above link to start the install.<br />
 &#8211; When you see &#8220;SQL Server 2012 Setup&#8221; don&#8217;t panic.  You&#8217;re at the correct place.<br />
 &#8211; Accept the license terms, click Next.<br />
 &#8211; After the setup files are installed and you are at the &#8220;Installation Type&#8221; screen, click Next.  (<em><strong>Do not &#8220;add features to an existing instance of SQL Server 2012&#8243;</strong></em>)<br />
 &#8211; On the &#8220;Feature Selection&#8221; screen, select &#8220;SQL Server Data Tools&#8230;&#8221; from the Shared Features section.  Click Next.<br />
 &#8211; In the &#8220;Error Reporting&#8221; screen, select the error reporting option if you desire, otherwise just click Next.<br />
 &#8211; After the install complete, you may be presented with a &#8220;computer restart required&#8221; dialog box.  Click OK.<br />
 &#8211; At this point, the install should be complete.  Click close and restart if necessary.<br />
 &#8211; Open Visual Studio 2012 and start a new BI project.  </p>
<p>When VS 2012 is open, you should see the familiar BI templates as below:<br />
<img src="http://www.ssistalk.com/wp-content/uploads/2013/03/SSDT_VS2012.png" alt="SSDT &amp; VS2012" width="761" height="381" class="alignnone size-full wp-image-478" /></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ssistalk.com/2013/03/07/sql-server-data-tools-ssdt-announced-for-visual-studio-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSIS 2012 &#8211; Catalog Indexing Recommendations</title>
		<link>http://www.ssistalk.com/2013/01/31/ssis-2012-catalog-indexing-recommendations/</link>
		<comments>http://www.ssistalk.com/2013/01/31/ssis-2012-catalog-indexing-recommendations/#comments</comments>
		<pubDate>Thu, 31 Jan 2013 17:09:44 +0000</pubDate>
		<dc:creator>Phil Brammer</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server "Denali"]]></category>
		<category><![CDATA[SQL Server 2012]]></category>
		<category><![CDATA[SSIS Advanced Techniques]]></category>

		<guid isPermaLink="false">http://www.ssistalk.com/?p=464</guid>
		<description><![CDATA[I&#8217;ve been sitting on this content for about a year now, and due to external pressure (Thanks Matthew!) I&#8217;ve decided to put this into writing. One of the reasons I&#8217;ve been sitting on this content is that I didn&#8217;t want to share it publicly because the recommendations (after the break) can put you into a <a href='http://www.ssistalk.com/2013/01/31/ssis-2012-catalog-indexing-recommendations/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been sitting on this content for about a year now, and due to external pressure (Thanks Matthew!) I&#8217;ve decided to put this into writing.  One of the reasons I&#8217;ve been sitting on this content is that I didn&#8217;t want to share it publicly because the recommendations (after the break) can put you into a state of unsupportability with Microsoft.  So with that, you take on the sole risk by implementing my recommendations.  After you review them, you&#8217;ll see they are pretty basic, much needed, and well vetted.  Jamie Thomson has written about these indexes (or rather mentions that they are available) as they have helped with his reporting pack Codeplex project.  All-in-all, I now feel pretty safe documenting these, as others are starting to use them and talk about them publicly.  With that, here goes. </p>
<p><span id="more-464"></span></p>
<p>Out of the box, the new SSIS 2012 catalog database (SSISDB) has some basic indexing applied, with referential integrity set to do cascade deletes between most tables.  (You can see the schema <a href="http://www.ssistalk.com/wp-content/uploads/2012/07/ssis_catalog_schema.png" title="SSIS 2012 Catalog Schema" target="_blank">here</a>.)  </p>
<p>The schema was setup and designed to allow for a maintenance job, SSIS Server Maintenance Job, to purge records out of the SSISDB database to keep it at a manageable size.  The problem, as documented previously <a href="http://www.ssistalk.com/2012/07/16/ssis-2012-beware-the-ssis-server-maintenance-job/" title="SSIS 2012 – Beware the SSIS Server Maintenance Job" target="_blank">here</a>, is that the job relies on cascade deletes to do the purge.  If you are experiencing problems with this job taking a considerable amount of time, or you feel it may be causing other issues, please read that post.</p>
<p>Also out of the box, there are a few reports shipped with the product &#8211; Integration Services Dashboard, All Executions, and All Validations.  (As an aside, if these reports are not enough for you, please check out MVP <a href="http://sqlblog.com/blogs/jamie_thomson/" target="_blank">Jamie Thomson</a>&#8216;s Codeplex project &#8211; <a href="http://ssisreportingpack.codeplex.com/" title="SSIS Reporting Pack" target="_blank">SSIS Reporting Pack</a>)  These reports obviously query the SSISDB contents, and as your catalog grows in size, you may find that some of these reports start to get slower and slower over time.  Especially the unfiltered &#8220;All Executions&#8221; report.  </p>
<p>One last thing that I experienced in my environment were deadlocks across numerous SSISDB tables.  </p>
<p>The thing that ties these things together is this &#8211; slow performance.  Many months ago, I dove head-first into the SSISDB catalog and began to troubleshoot these performance and deadlock problems I was encountering.  After a bit of looking around, it became clear that some basic indexing strategies were not implemented.  </p>
<p>First, if you are on SQL Server 2012 RTM, you need to install Service Pack 1.  This is a <em><strong>must</strong></em>.  It contains fixes for several bugs &#8211; a few that I raised and escalated appropriately.  Which is actually a good point &#8211; all of this data I&#8217;m posting here has been shared with the SSIS dev team.  I do not always post Connect items for you to vote on, and these indexing strategies are one of those cases.  </p>
<p>Here are the recommendations:</p>
<p>Index #1 &#8211; ncidxOperation_Id on internal.event_messages<br />
<code>
<pre>CREATE NONCLUSTERED INDEX [ncidxOperation_Id] ON [internal].[event_messages]
(
	[operation_id] ASC
)</pre>
<p></code>This index facilitates the join back to internal.operations.  Additionally, it helps with the foreign key relationship.</p>
<p>Index #2 &#8211; ncidxExecution_id on internal.executable_statistics<br />
<code>
<pre>CREATE NONCLUSTERED INDEX [ncidxExecution_id] ON [internal].[executable_statistics]
(
	[execution_id] ASC
)</pre>
<p></code>This index facilitates the join back to internal.executions.  Additionally, it helps with the foreign key relationship.</p>
<p>Index #3 &#8211; ncidxExecution_idSequence_id on internal.execution_component_phases<br />
<code>
<pre>CREATE NONCLUSTERED INDEX [ncidxExecution_idSequence_id] ON [internal].[execution_component_phases]
(
	[execution_id] ASC,
	[sequence_id] ASC
)</pre>
<p></code>This index helps with the deadlocks I was encountering on internal.execution_component_phases.  There are a few queries that retrieve values from this table, and this index was necessary in that regard (see stored procedure &#8211; internal.append_execution_component_phases as one such query).</p>
<p>Index #4 &#8211; ncidxOperation_id on internal.operation_messages<br />
<code>
<pre>CREATE NONCLUSTERED INDEX [ncidxOperation_id] ON [internal].[operation_messages]
(
	[operation_id] ASC
)</pre>
<p></code>This index facilitates the join back to internal.operations.  Additionally, it helps with the foreign key relationship.</p>
<p>Index #5 &#8211; ncidxEvent_message_id on internal.event_message_context<br />
<code>
<pre>CREATE NONCLUSTERED INDEX [ncidxEvent_message_id] ON [internal].[event_message_context]
(
	[event_message_id] ASC
)</pre>
<p></code>This index facilitates the join back to internal.event_messages.  Additionally, it helps with the foreign key relationship.</p>
<p>As a bonus, there was one change to a stored procedure that I had to make to also help with the deadlocks on internal.execution_component_phases.  At the beginning of the procedure, internal.append_execution_component_phases, I added &#8220;SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;&#8221; to ensure that this procedure can only run single-file (one at a time).  </p>
<p>Together with these changes, I&#8217;ve been able to increase the performance of reports, seen deadlocks reduced to nearly zero, and it helped the SSIS Maintenance Job perform its purges more efficiently.</p>
<p>If you&#8217;d like to take a look at my scripts, you can download them all in a singe .zip file here &#8211; <a href="http://www.ssistalk.com/SSIS_2012_Missing_Indexes.zip" title="SSIS 2012 Missing Indexes">http://www.ssistalk.com/SSIS_2012_Missing_Indexes.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ssistalk.com/2013/01/31/ssis-2012-catalog-indexing-recommendations/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Book &#8211; &#8216;What&#8217;s New in SQL Server 2012&#8242; Published</title>
		<link>http://www.ssistalk.com/2013/01/07/book-whats-new-in-sql-server-2012-published/</link>
		<comments>http://www.ssistalk.com/2013/01/07/book-whats-new-in-sql-server-2012-published/#comments</comments>
		<pubDate>Mon, 07 Jan 2013 16:16:47 +0000</pubDate>
		<dc:creator>Phil Brammer</dc:creator>
				<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.ssistalk.com/?p=458</guid>
		<description><![CDATA[Waaaaay back in 2012, I had the great pleasure of being a technical reviewer of another book, What&#8217;s New in SQL Server 2012, authored by Rachel Clements (@RachelClements) and Jon Reade (@JonReade) and published by Packt Publishing. Together, these two authors put together a very nice desk reference of the new features introduced in SQL <a href='http://www.ssistalk.com/2013/01/07/book-whats-new-in-sql-server-2012-published/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>Waaaaay back in 2012, I had the great pleasure of being a technical reviewer of another book, What&#8217;s New in SQL Server 2012, authored by Rachel Clements (@RachelClements) and Jon Reade (@JonReade) and published by <a href="http://www.packtpub.com" title="Packt Publishing" target="_blank">Packt Publishing</a>.</p>
<p>Together, these two authors put together a very nice desk reference of the new features introduced in SQL Server 2012, with topics ranging from an overview of the various SQL Server editions to new functions, such as EOMONTH (yep, there&#8217;s a new &#8220;End of Month&#8221; datetime function).</p>
<p>I highly recommend this book for any SQL Server user who is new to SQL Server 2012. </p>
<p>Obtain your copy here: <a href="http://www.packtpub.com/sql-server-2012-professional-tips-and-tricks/book" title="http://www.packtpub.com/sql-server-2012-professional-tips-and-tricks/book"  target="_blank">http://www.packtpub.com/sql-server-2012-professional-tips-and-tricks/book</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ssistalk.com/2013/01/07/book-whats-new-in-sql-server-2012-published/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server 2012 SP1 &#8211; Endless MsiInstaller Application Log Entries</title>
		<link>http://www.ssistalk.com/2013/01/07/sql-server-2012-sp1-endless-msiinstaller-application-log-entries/</link>
		<comments>http://www.ssistalk.com/2013/01/07/sql-server-2012-sp1-endless-msiinstaller-application-log-entries/#comments</comments>
		<pubDate>Mon, 07 Jan 2013 15:58:52 +0000</pubDate>
		<dc:creator>Phil Brammer</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2012]]></category>

		<guid isPermaLink="false">http://www.ssistalk.com/?p=454</guid>
		<description><![CDATA[If you are on SQL Server 2012 SP1 (11.0.3000) and are experiencing higher than normal CPU loads on your machine, please take a look at the Windows Application log for the following: Warning / Event ID 1004 / MsiInstaller / Detection of product &#8216;{A7037EB2-F953-4B12-B843-195F4D988DA1}&#8217;, feature &#8216;SQL_Tools_ANS&#8217;, component &#8216;{0CECE655-2A0F-4593-AF4B-EFC31D622982}&#8217; failed. The resource &#8221; does not exist. <a href='http://www.ssistalk.com/2013/01/07/sql-server-2012-sp1-endless-msiinstaller-application-log-entries/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>If you are on SQL Server 2012 SP1 (11.0.3000) and are experiencing higher than normal CPU loads on your machine, please take a look at the Windows Application log for the following:</p>
<ul>
<li>Warning / Event ID 1004 / MsiInstaller / Detection of product &#8216;{A7037EB2-F953-4B12-B843-195F4D988DA1}&#8217;, feature &#8216;SQL_Tools_ANS&#8217;, component &#8216;{0CECE655-2A0F-4593-AF4B-EFC31D622982}&#8217; failed.  The resource &#8221; does not exist.</li>
<li>Warning / Event ID 1001 / MsiInstaller / Detection of product &#8216;{A7037EB2-F953-4B12-B843-195F4D988DA1}&#8217;, feature &#8216;SQL_Tools_ANS&#8217; failed during request for component &#8216;{6E985C15-8B6D-413D-B456-4F624D9C11C2}&#8217;</li>
<li>Information / Event ID 1040 / MsiInstaller / Beginning a Windows Installer transaction: {A7037EB2-F953-4B12-B843-195F4D988DA1}. Client Process Id: 16708.</li>
<li>Information / Event ID 11724 / MsiInstaller / Product: SQL Server 2012 Management Studio &#8212; Install started.</li>
<li>Information / Event ID 10000 / RestartManager / Starting session 0 &#8211; 2013-01-07T12:40:46.549958800Z.</li>
<li>Information / Event ID 11728 / MsiInstaller / Product: SQL Server 2012 Management Studio &#8212; Configuration completed successfully.</li>
<li>Information / Event ID 1035 / MsiInstaller / Windows Installer reconfigured the product. Product Name: SQL Server 2012 Management Studio. Product Version: 11.1.3000.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 0.</li>
<li>Information / Event ID 1042 / MsiInstaller / Ending a Windows Installer transaction: {A7037EB2-F953-4B12-B843-195F4D988DA1}. Client Process Id: 16708.</li>
<li>Information / Event ID 10001 / RestartManager / Ending session 0 started 2013-01-07T12:40:46.549958800Z.</li>
</ul>
<p>If you have the above symptoms, please look at this non-security hotfix KB download:  <a href="http://www.microsoft.com/en-us/download/details.aspx?id=36215" title="http://www.microsoft.com/en-us/download/details.aspx?id=36215" target="_blank">http://www.microsoft.com/en-us/download/details.aspx?id=36215</a>.  Do not install if you have already applied any post SP1 hotfixes, such as SP1 CU1.  You can also view the SQL Server Connect bug here: <a href="http://connect.microsoft.com/SQLServer/feedback/details/770630" title="http://connect.microsoft.com/SQLServer/feedback/details/770630" target="_blank">http://connect.microsoft.com/SQLServer/feedback/details/770630</a>.</p>
<p>Installing that fix will bring your SQL version to 11.0.3128, fix the problem with the MSI installer, and it should drop your CPU consumption a bit as well. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ssistalk.com/2013/01/07/sql-server-2012-sp1-endless-msiinstaller-application-log-entries/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Omaha SQL Server User Group Meeting &#8211; 5 Years!</title>
		<link>http://www.ssistalk.com/2012/12/03/omaha-sql-server-user-group-meeting-5-years/</link>
		<comments>http://www.ssistalk.com/2012/12/03/omaha-sql-server-user-group-meeting-5-years/#comments</comments>
		<pubDate>Tue, 04 Dec 2012 05:02:19 +0000</pubDate>
		<dc:creator>Phil Brammer</dc:creator>
				<category><![CDATA[SQL Server User Group]]></category>

		<guid isPermaLink="false">http://www.ssistalk.com/?p=441</guid>
		<description><![CDATA[While I have not been active in the Omaha SQL Server User Group (SSUG) for all of its five years, I am proud to be part of an ever-growing SQL Community in the Omaha area. Please be sure to join me on Wednesday, December 5th, at Farm Credit Services America for our last 2012 SSUG <a href='http://www.ssistalk.com/2012/12/03/omaha-sql-server-user-group-meeting-5-years/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>While I have not been active in the Omaha SQL Server User Group (SSUG) for all of its five years, I am proud to be part of an ever-growing SQL Community in the Omaha area.  Please be sure to join me on Wednesday, December 5th, at Farm Credit Services America for our last 2012 SSUG meeting.</p>
<p>To celebrate the five year anniversary of the Omaha SSUG, the topic of the evening will be &#8230; YOURS!  John &#038; Naras are bringing back the &#8220;Choose Your Own Adventure&#8221; agenda, where you get to bring your own questions, problems, fodder, tips, and best practices to be discussed by all attendees.  If you haven&#8217;t been to one of these sessions before, or are feeling as if you just can&#8217;t quite find the answer to your questions online, be sure to take part in this meeting.  They are extremely informational and beneficial to the SQL Community.</p>
<p>I will be in attendance, and if there are any questions that need to be raised to Microsoft, I will do my best to ensure the appropriate people see it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ssistalk.com/2012/12/03/omaha-sql-server-user-group-meeting-5-years/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Saturday #165 &#8211; Presentation/resource files uploaded</title>
		<link>http://www.ssistalk.com/2012/10/12/sql-saturday-165-presentationresource-files-uploaded/</link>
		<comments>http://www.ssistalk.com/2012/10/12/sql-saturday-165-presentationresource-files-uploaded/#comments</comments>
		<pubDate>Fri, 12 Oct 2012 20:48:31 +0000</pubDate>
		<dc:creator>Phil Brammer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ssistalk.com/?p=436</guid>
		<description><![CDATA[If you attended my SQL Saturday 165 presentation in Lincoln, NE, on October 6th, I have uploaded the materials from that presentation. If you did not attend, please download, review the PowerPoint slides, and contact me with any feedback/questions you may have. You can view the materials either through the SQL Saturday 165 Website (http://www.sqlsaturday.com/165/eventhome.aspx) <a href='http://www.ssistalk.com/2012/10/12/sql-saturday-165-presentationresource-files-uploaded/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>If you attended my SQL Saturday 165 presentation in Lincoln, NE, on October 6th, I have uploaded the materials from that presentation.  If you did not attend, please download, review the PowerPoint slides, and contact me with any feedback/questions you may have.</p>
<p>You can view the materials either through the SQL Saturday 165 Website (<a href="http://www.sqlsaturday.com/165/eventhome.aspx" target="_blank">http://www.sqlsaturday.com/165/eventhome.aspx</a>) or through this Website via the Speaking tab at the top of the page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ssistalk.com/2012/10/12/sql-saturday-165-presentationresource-files-uploaded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSIS 2012 &#8211; Export old version of a deployed project</title>
		<link>http://www.ssistalk.com/2012/10/12/ssis-2012-export-old-version-of-a-deployed-project/</link>
		<comments>http://www.ssistalk.com/2012/10/12/ssis-2012-export-old-version-of-a-deployed-project/#comments</comments>
		<pubDate>Fri, 12 Oct 2012 20:33:52 +0000</pubDate>
		<dc:creator>Phil Brammer</dc:creator>
		
		<guid isPermaLink="false">http://www.ssistalk.com/?p=396</guid>
		<description><![CDATA[New in the 2012 version of SSIS is a feature that lets us keep a user-configurable amount of deployed project versions in the catalog. The problem, and the point of this blog post, is that you cannot export an older version of a project without reverting back to that version. This may not be possible <a href='http://www.ssistalk.com/2012/10/12/ssis-2012-export-old-version-of-a-deployed-project/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>New in the 2012 version of SSIS is a feature that lets us keep a user-configurable amount of deployed project versions in the catalog.  The problem, and the point of this blog post, is that you cannot export an older version of a project without reverting back to that version.  This may not be possible in your environment and this post is an effort to provide you with another option.</p>
<p>First, this is what I am referring to:<br />
<a href="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_2012_Catalog_ProjectVersions.png"><img src="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_2012_Catalog_ProjectVersions.png" alt="SSIS 2012 - Catalog Project Versions" title="SSIS_2012_Catalog_ProjectVersions" width="1219" height="731" class="alignnone size-full wp-image-421" /></a></p>
<p>When you right-click on a project under &#8220;Integration Services Catalogs&#8221; in SSMS, you can choose to view its versions.  From this window you can revert back to an older version while still retaining the latest version deployed.</p>
<p>If you want to export projects, you can do so by right-clicking on the project and selecting &#8220;Export&#8230;&#8221;  In this window, just point it to an appropriate location.  In my case, I saved it to Documents\SQLSaturday165.  The resulting file you produce is an .ispac (Integration Services deployment package).  A .ispac file is just a .zip.  Rename it to use .zip instead of .ispac if you want to extract a single package out of a project.</p>
<p>If you want to export an older version of the project, you have two options &#8211; set the older version of the project to be the current version via the Project Versions window, or you can use an SSIS package to explicitly export the desired project version.  I will demonstrate the SSIS package solution.  The full sample and download links are at the end of the post.</p>
<p>Step One<br />
Create a global, temporary table (##) on the SQL instance that has the SSISDB catalog.</p>
<pre><code>CREATE TABLE ##projectBLOB (val VARBINARY(MAX));</code></pre>
<p>Step Two<br />
Open up the ExportProject.dtsx package and modify the OLE DB Source in the data flow to use the values from the following query:</p>
<pre><code>SELECT ov.object_version_lsn AS project_version_lsn,
       ov.object_id AS project_id,
       *
  FROM internal.object_versions AS ov
  JOIN catalog.projects AS p
    ON ov.object_id = p.project_id
   AND p.name = N'SQLSaturday165_SSISDBInternals' -- replace with your project name
  JOIN catalog.folders AS f
    ON p.folder_id = f.folder_id
   AND f.name = N'SQLSaturday165_SSISDBInternals' -- replace with the folder name that contains your project
 ORDER BY ov.created_time DESC;
GO</code></pre>
<p>Step Three<br />
Edit the derived column component to set the path that you want to put the exported project in.  Remember that in the derived column component you need to escape slashes.  (&#8220;C:\Temp&#8221; should be written as &#8220;C:\\Temp&#8221;)</p>
<p><a href="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_2012_Catalog_DerivedColumn.png"><img src="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_2012_Catalog_DerivedColumn.png" alt="SSIS 2012 Catalog Derived Column Changes" title="SSIS_2012_Catalog_DerivedColumn" width="728" height="362" class="alignnone size-full wp-image-426" /></a></p>
<p>Step Four<br />
Change the SSISDB connection manager object to point to your SQL instance containing the SSISDB catalog.</p>
<p><a href="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_2012_Catalog_SSISDBConnectionManager.png"><img src="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_2012_Catalog_SSISDBConnectionManager.png" alt="SSIS 2012 Catalog SSISDB Connection Manager Changes" title="SSIS_2012_Catalog_SSISDBConnectionManager" width="696" height="645" class="alignnone size-full wp-image-427" /></a></p>
<p>Step Five<br />
Execute the package. </p>
<p>Step Six<br />
Confirm your project was exported to the path entered in the derived column component.  You should have a .ispac file with the name of your project in that location.  From this point, you can double-click on it to launch the deployment wizard, or you can rename the file so that it has a .zip extention.  If you choose to rename it to .zip, you will be able to individually pull out the packages.</p>
<div id="attachment_428" class="wp-caption alignnone" style="width: 719px"><a href="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_2012_Catalog_ispac.png"><img src="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_2012_Catalog_ispac.png" alt="SSIS 2012 Catalog Project ispac file" title="SSIS_2012_Catalog_ispac" width="709" height="208" class="size-full wp-image-428" /></a><p class="wp-caption-text">The resulting .ispac output file from the export process.</p></div>
<div id="attachment_429" class="wp-caption alignnone" style="width: 848px"><a href="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_2012_Catalog_zipfile.png"><img src="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_2012_Catalog_zipfile.png" alt="SSIS 2012 Catalog .zip file" title="SSIS_2012_Catalog_zipfile" width="838" height="384" class="size-full wp-image-429" /></a><p class="wp-caption-text">Renaming the .ispac file to .zip allows you to inspect its contents.</p></div>
<p>Just a word of warning &#8211; THIS SSIS APPROACH IS NOT A SUPPORTED METHOD OF EXPORTING PROJECTS FROM THE CATALOG.  YOU NEED TO BE A MEMBER OF SYSADMIN OR THE SSIS_ADMIN DATABASE ROLE.  YOU TAKE SOLE RESPONSIBILITY FOR RUNNING THIS PACKAGE IN YOUR ENVIRONMENT.  I AM NOT RESPONSIBLE FOR ANY DAMAGE THAT IS A RESULT OF RUNNING THIS PACKAGE.  THIS IS AN UNSUPPORTED TECHNIQUE THAT USES INTERNAL, NON-DOCUMENTED PROCEDURES FOR EXPORTING PROJECTS.</p>
<p>With that said, I am merely posting this technique for educational purposes.  The supported method for exporting an older version of a project is to revert to the older version and exporting it using the GUI in SSMS and then reverting back to the correct, current project.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ssistalk.com/2012/10/12/ssis-2012-export-old-version-of-a-deployed-project/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSIS &#8211; Package Configuration Errors (Incorrect Format)</title>
		<link>http://www.ssistalk.com/2012/10/08/ssis-package-configuration-errors-incorrect-forma/</link>
		<comments>http://www.ssistalk.com/2012/10/08/ssis-package-configuration-errors-incorrect-forma/#comments</comments>
		<pubDate>Mon, 08 Oct 2012 14:50:11 +0000</pubDate>
		<dc:creator>Phil Brammer</dc:creator>
		
		<guid isPermaLink="false">http://www.ssistalk.com/?p=389</guid>
		<description><![CDATA[When using package configurations in SSIS (pre-SQL 2012 or SQL 2012 with package deployment models), you may run into the following errors: The configuration entry, "????????????????????????????", has an incorrect format because it does not begin with the package delimiter. Prepend "\package" to the package path. The package path referenced an object that cannot be found: <a href='http://www.ssistalk.com/2012/10/08/ssis-package-configuration-errors-incorrect-forma/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>When using package configurations in SSIS (pre-SQL 2012 or SQL 2012 with package deployment models), you may run into the following errors:<br />
<code>The configuration entry, "????????????????????????????", has an incorrect format because it does not begin with the package delimiter. Prepend "\package" to the package path.</p>
<p>The package path referenced an object that cannot be found: "????????????????????????????". This occurs when an attempt is made to resolve a package path to an object that cannot be found.</code></p>
<p>Since the characters will inevitably be munged when displaying this page, here is an image of the actual text:<br />
<a href="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_IncorrectConfigurations.png"><img src="http://www.ssistalk.com/wp-content/uploads/2012/10/SSIS_IncorrectConfigurations.png" alt="SSIS Incorrect Configuration Error" title="SSIS_IncorrectConfigurations" width="972" height="124" class="alignnone size-full wp-image-392" /></a></p>
<p>If you encounter these errors and you are using SQL Server-based configurations (using the dbo.[SSIS Configurations] table), double-check that the data types of all columns in the config table are NVARCHAR, not VARCHAR.  If they are not NVARCHAR, set them back accordingly.  Occasionally you may need to modify this table to extend the max length of some of the columns and when that happens someone may inadvertently change the data type to VARCHAR.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ssistalk.com/2012/10/08/ssis-package-configuration-errors-incorrect-forma/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking at SQL Saturday #165, Lincoln, NE</title>
		<link>http://www.ssistalk.com/2012/09/28/speaking-at-sql-saturday-165-lincoln-ne/</link>
		<comments>http://www.ssistalk.com/2012/09/28/speaking-at-sql-saturday-165-lincoln-ne/#comments</comments>
		<pubDate>Fri, 28 Sep 2012 15:53:03 +0000</pubDate>
		<dc:creator>Phil Brammer</dc:creator>
		
		<guid isPermaLink="false">http://www.ssistalk.com/?p=386</guid>
		<description><![CDATA[Don&#8217;t miss out on your opportunity for a day of free SQL Server training! Come join us in Lincoln, NE, on Saturday, October 6th starting at 8:30 AM. The event will be held in Avery Hall on the University of Nebraska-Lincoln campus. There are 6 tracks with each having 5 sessions. That&#8217;s 30 FREE sessions <a href='http://www.ssistalk.com/2012/09/28/speaking-at-sql-saturday-165-lincoln-ne/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>Don&#8217;t miss out on your opportunity for a day of free SQL Server training!  Come join us in Lincoln, NE, on Saturday, October 6th starting at 8:30 AM.  The event will be held in Avery Hall on the University of Nebraska-Lincoln campus.  There are 6 tracks with each having 5 sessions.  That&#8217;s 30 FREE sessions to choose from, with industry experts and emerging leaders speaking about their passion!  Don&#8217;t miss out!</p>
<p>I will be doing a presentation on the internals of the SSIS Catalog introduced in SQL Server 2012.  For those that haven&#8217;t been much involved in the new catalog subsystem of SSIS, please plan on attending as I will be giving an overview and then going into some of the procedures, processes, and logging that are possible with this new framework.  See you there!</p>
<p><a href="http://www.sqlsaturday.com/165/eventhome.aspx">http://www.sqlsaturday.com/165/eventhome.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ssistalk.com/2012/09/28/speaking-at-sql-saturday-165-lincoln-ne/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
