<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>SQL Server Journey with SQL Authority &#187; SQL Utility</title>
	<atom:link href="http://blog.sqlauthority.com/category/sql-utility/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:09:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.sqlauthority.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/08e35387c05b61340e885b1763a69d9f?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>SQL Server Journey with SQL Authority &#187; SQL Utility</title>
		<link>http://blog.sqlauthority.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.sqlauthority.com/osd.xml" title="SQL Server Journey with SQL Authority" />
	<atom:link rel='hub' href='http://blog.sqlauthority.com/?pushpress=hub'/>
		<item>
		<title>SQL SERVER &#8211; A Quick Look at expressor Data Quality Solutions</title>
		<link>http://blog.sqlauthority.com/2012/01/11/sql-server-a-quick-look-at-expressor-data-quality-solutions/</link>
		<comments>http://blog.sqlauthority.com/2012/01/11/sql-server-a-quick-look-at-expressor-data-quality-solutions/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 01:30:47 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16910</guid>
		<description><![CDATA[Last month I described the extension framework that allows one to easily add functionality to an expressor Studio installation.  I then used this added functionality – the input and output operators to SalesForce.com – to develop an example application.  But expressor has a second mechanism that allows you to easily enhance the functionality of your installation – [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16910&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Last month I described the extension framework that allows one to easily add functionality to an <a href="http://go.expressor-software.com/desktop-edition-etl-tool.html?campaignID=70140000000MapQ" target="_blank">expressor</a> Studio installation.  I then used this added functionality – the input and output operators to SalesForce.com – to develop an example application.  But <a href="http://go.expressor-software.com/desktop-edition-etl-tool.html?campaignID=70140000000MapQ" target="_blank">expressor</a> has a second mechanism that allows you to easily enhance the functionality of your installation – reusable templates.  The idea behind this approach is that once you develop an operator that performs processing that could have value in other applications you convert this operator into a template that can be easily integrated into additional projects.  This is the approach expressor has followed to add data quality features to expressor Studio.  For those of you interested in using this functionality, you can download a Zip file containing the operator templates from <a href="http://www.websmartexpress.com/" target="_blank">www.WEBSMARTexpress.com</a>.</p>
<p style="text-align:justify;"><strong>So what’s the approach?</strong></p>
<p style="text-align:justify;">First, <a href="http://go.expressor-software.com/desktop-edition-etl-tool.html?campaignID=70140000000MapQ" target="_blank">expressor</a> and Melissa Data created a partnership through which expressor Studio users could obtain a key to use the <a href="http://www.melissadata.com/dqt/websmart-web-services.htm" target="_blank">Melissa Data WebSmart Suite</a> .</p>
<p style="text-align:justify;">Second, expressor created a collection of operator templates, one for each service in the WebSmart Suite.</p>
<p style="text-align:justify;">And third, expressor packaged this collection of operator templates into an expressor library that you can easily integrate into any expressor library or project.</p>
<p style="text-align:justify;"><strong>Let’s see how this all comes together.</strong></p>
<p style="text-align:justify;">Once you register with on the WEBSMARTexpress Web site, you are given the URL to download the expressor operator template library – WEBSMARTexpress.zip.  Do not extract this archive file.  Rather you simply import the library into an expressor workspace.</p>
<ul style="text-align:justify;">
<li>Open the workspace.</li>
<li>Select the Studio &gt; Import Projects… menu item.</li>
<li>In the first window of the Import Projects wizard, browse to the file system location where you saved the operator template archive file and select the file for import.</li>
<li>In the wizard’s second window, select the LIB_WebSmart library and click Finish.  The library is added to your workspace.</li>
</ul>
<p style="text-align:justify;">If you now expand the library, you will see that it includes composite types, the operator templates, and some Datascript modules.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/library.png" alt="" width="224" height="488" /></p>
<p style="text-align:justify;">Each composite type describes the return from one of the WebSmart services.  The scripting that provides the processing logic for each operator template is contained in a dedicated Datascript module.  You will not need to edit the coding within these Datascript modules but you will need to enter your Melissa Data key into the module MDVariables before you can access the WebSmart services.</p>
<p style="text-align:justify;">Double click on the MDVariables entry under the Datascript Modules folder to open this module in the script editor and on line 13 replace num with your key and then save and close the editor.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/module.png" alt="" width="484" height="298" /></p>
<p style="text-align:justify;">Now create another library or project that will include the dataflow in which you will use one of the operator templates.  Be certain to reference the LIB_WebSmart library.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/library_reference.png" alt="" width="198" height="314" /></p>
<p style="text-align:justify;">When you are laying out the dataflow, note that the operator templates are listed on the Templates tab within the Transformers grouping of operators.  To use one of the operator templates, simply drag it onto the dataflow.  When you are configuring this operator, do not change any of the settings on its Properties panel, but you must open the Rules Editor.  In the screen shots that follow, I’m working with the email validation service, but usage of all the operator templates is identical.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/template_1.png" alt="" width="500" /></p>
<p style="text-align:justify;">At a minimum, I must connect the incoming attribute that contains the email address to be verified to the Rule_1 input parameter Email.  The outgoing parameters are already bound to their corresponding attributes in the output record.  The structure of the output is predefined by the composite type EmailResponse, which was included in the WEBSMART library.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/template_2.png" alt="" width="500" height="258" /></p>
<p style="text-align:justify;">If I also want to include other incoming attributes in the record emitted by this operator, I must drag them into the Rule_1 input parameter listing, add corresponding attributes to the Output panel, and drag the newly added output attributes into the Rule_1 output parameter listing.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/template_3_fullsize.png" alt="" width="500" /></p>
<p style="text-align:justify;">Note that to handle these additional values I did not need to edit the coding in either the operator template or its associated Datascript Module.</p>
<p style="text-align:justify;">And that’s all there is to it.  As your <a href="http://go.expressor-software.com/desktop-edition-etl-tool.html?campaignID=70140000000MapQ" target="_blank">expressor</a> dataflow executes, the email address in each record will be submitted to the WebSmart service for validation and the detailed information returned by the Web service will be added to the record emitted by the operator.</p>
<p style="text-align:justify;">Through their extension framework and operator template functionality, expressor software has provided two very effective approaches for extending the functionality of an <a href="http://go.expressor-software.com/desktop-edition-etl-tool.html?campaignID=70140000000MapQ" target="_blank">expressor</a> Studio installation.  The extension framework provides a mechanism to add new functionality to Studio while the operator template/Datascript Module approach is a simple way to reuse logic that you have previously developed.  And the partnership with Melissa Data demonstrates how straight-forward it is to integrate expressor with functionality or services provided by partner organizations.</p>
<p style="text-align:justify;">expressor is making this integration with Melissa Data available as part of their Desktop and Standard Editions.  You can download a trial of the Desktop Edition by <a href="http://go.expressor-software.com/desktop-edition-etl-tool.html?campaignID=70140000000MapQ" target="_blank">clicking this link</a>.  As always, I am impressed how quickly expressor evolves their product line and adds very valuable new capabilities to it every few months.   I encourage you to <a href="http://go.expressor-software.com/desktop-edition-etl-tool.html?campaignID=70140000000MapQ">download</a> their Desktop Edition trial.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.sqlauthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/16910/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16910/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16910/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16910/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16910/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16910/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16910/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16910/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16910/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16910/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16910/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16910/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16910/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16910/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16910&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/11/sql-server-a-quick-look-at-expressor-data-quality-solutions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/library.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/module.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/library_reference.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/template_1.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/template_2.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/template_3_fullsize.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; CSVExpress and Quick Data Load</title>
		<link>http://blog.sqlauthority.com/2011/11/13/sql-server-csvexpress-and-quick-data-load/</link>
		<comments>http://blog.sqlauthority.com/2011/11/13/sql-server-csvexpress-and-quick-data-load/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 01:30:54 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=15760</guid>
		<description><![CDATA[One of the newest ETL tools is CSVexpress.com.  This is a program that can quickly load any CSV file into ODBC compliant databases uses data integration.  For those of you familiar with databases and how they operate, the question that comes to mind might be what use this program will have in your life. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15760&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">One of the newest ETL tools is <strong><a href="http://www.csvexpress.com/" target="_blank">CSVexpress.com</a></strong>.  This is a program that can quickly load any CSV file into ODBC compliant databases uses data integration.  For those of you familiar with databases and how they operate, the question that comes to mind might be what use this program will have in your life. I have written earlier article on this subject over here <strong><a href="http://blog.sqlauthority.com/2011/11/02/sql-server-import-csv-into-database-transferring-file-content-into-a-database-table-using-csvexpress/">SQL SERVER – Import CSV into Database – Transferring File Content into a Database Table using CSVexpress.</a></strong></p>
<p style="text-align:justify;">You might know that RDBMS have automatic support for loading CSV files into tables – but it is not quite as easy as one click of a button.  First of all, most databases have a command line interface and you need the file and configuration script in order to load up.  You also need to know enough to write the script – which for novices can be extremely daunting.  On top of all this, if you work with more than one type of RDBMS, you need to know the ins and outs of uploading and writing script for more than one program.</p>
<p style="text-align:justify;">So you might begin to see how useful CSVexpress.com might be!  There are many other tools that enable uploading files to a database.  They can be very fancy – some can generate configuration files automatically, others load the data directly.  Again, novices will be able to tell you why these aren’t the most useful programs in the world.  You see, these programs were created with SQL in mind, not for uploading data.  If you don’t have large amounts of data to upload, getting the configurations right can be a long process and you will have to check the code that is generated yourself.  Not exactly “easy to use” for novices.</p>
<p style="text-align:justify;">That makes CSVexpress.com one of the best new tools available for everyone – but especially people who don’t want to learn a lot of new material all at once.  CSVexpress has an easy to navigate graphical user interface and no scripting or coding is required.  There are built-in constraints and data validations, and you can configure transforms and reject records right there on the screen.  But the best thing of all – it’s free!</p>
<p style="text-align:justify;">That’s right, you can download CSVexpress for free from <strong><a href="http://www.csvexpress.com/" target="_blank">www.csvexpress.com</a></strong> and start easily uploading and configuring riles almost immediately.  If you’re currently happy with your method of data configuration, keep up with the good work.  For the rest of us, there’s CSVexpress.com.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/15760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/15760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/15760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/15760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/15760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/15760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/15760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/15760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/15760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/15760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/15760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/15760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/15760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/15760/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15760&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/11/13/sql-server-csvexpress-and-quick-data-load/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Database Dynamic Caching by Automatic SQL Server Performance Acceleration</title>
		<link>http://blog.sqlauthority.com/2011/10/31/sql-server-database-dynamic-caching-by-automatic-sql-server-performance-acceleration/</link>
		<comments>http://blog.sqlauthority.com/2011/10/31/sql-server-database-dynamic-caching-by-automatic-sql-server-performance-acceleration/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 01:30:55 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=15395</guid>
		<description><![CDATA[My second look at SafePeak’s new version (2.1) revealed to me few additional interesting features. For those of you who hadn’t read my previous reviews SafePeak and not familiar with it, here is a quick brief: SafePeak is in business of accelerating performance of SQL Server applications, as well as their scalability, without making code [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15395&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">My second look at <a href="http://www.safepeak.com/?source=sqlauthority-Oct31">SafePeak</a>’s new version (2.1) revealed to me few additional interesting features. For those of you who hadn’t read my previous reviews SafePeak and not familiar with it, here is a quick brief:</p>
<p style="text-align:justify;">SafePeak is in business of accelerating performance of SQL Server applications, as well as their scalability, without making code changes to the applications or to the databases. SafePeak performs <strong>database</strong> <strong>dynamic caching</strong>, by caching in memory result sets of queries and stored procedures while keeping all those cache correct and up to date. Cached queries are retrieved from the SafePeak RAM in microsecond speed and not send to the SQL Server. The application gets much faster results (100-500 micro seconds), the load on the SQL Server is reduced (less CPU and IO) and the application or the infrastructure gets better scalability.</p>
<p style="text-align:justify;">SafePeak solution is hosted either within your cloud servers, hosted servers or your enterprise servers, as part of the application architecture. Connection of the application is done via change of connection strings or adding reroute line in the c:\windows\system32\drivers\etc\hosts file on all application servers.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/safepeak-diagram-cloud.png" alt="" width="525" height="276" /></p>
<p style="text-align:justify;">For those who would like to learn more on SafePeak architecture and how it works, I suggest to read this vendor’s webpage: <a href="http://www.safepeak.com/Product/SafePeak-Architecture?source=sqlauthority-oct31">SafePeak Architecture</a>.</p>
<h3 style="text-align:justify;">More interesting new features in SafePeak 2.1</h3>
<p style="text-align:justify;">In my previous review of SafePeak new I covered the first 4 things I noticed in the new SafePeak (check out my article “<a href="http://blog.sqlauthority.com/2011/10/17/sqlauthority-news-safepeak-releases-a-major-update-safepeak-version-2-1-for-sql-server-performance-acceleration/">SQLAuthority News – SafePeak Releases a Major Update: SafePeak version 2.1 for SQL Server Performance Acceleration</a>”):</p>
<ol style="text-align:justify;">
<li>Cache setup and fine-tuning – a critical part for getting good caching results</li>
<li>Database templates</li>
<li>Choosing which database to cache</li>
<li>Monitoring and analysis options by SafePeak</li>
</ol>
<p style="text-align:justify;">Since then I had a chance to play with SafePeak some more and here is what I found.</p>
<h3 style="text-align:justify;">5. Analysis of SQL Performance (present and history):</h3>
<p style="text-align:justify;">In SafePeak v.2.1 the tools for understanding of performance became more comprehensive. Every 15 minutes SafePeak creates and updates various performance statistics. Each query (or a procedure execute) that arrives to SafePeak gets a SQL pattern, and after it is used again there are statistics for such pattern. An important part of this product is that it understands the dependencies of every pattern (list of tables, views, user defined functions and procs). From this understanding SafePeak creates important analysis information on performance of every object: response time from the database, response time from SafePeak cache, average response time, percent of traffic and break down of behavior. One of the interesting things this behavior column shows is how often the object is actually pdated. The break down analysis allows knowing the above information for: queries and procedures, tables, views, databases and even instances level.</p>
<p style="text-align:justify;">The data is show now on all arriving queries, both read queries (that can be cached), but also any types of updates like DMLs, DDLs, DCLs, and even session settings queries.</p>
<p style="text-align:justify;">The stats are being updated every 15 minutes and SafePeak dashboard allows going back in time and investigating what happened within any time frame.</p>
<p style="text-align:justify;"><a href="http://www.pinaldave.com/bimg/safepeak-diagram-cloud2.png"><img class="alignnone" src="http://www.pinaldave.com/bimg/safepeak-diagram-cloud2.png" alt="" width="500" height="281" /></a></p>
<h3 style="text-align:justify;">6. Logon trigger, for making sure nothing corrupts SafePeak cache data</h3>
<p style="text-align:justify;">If you have an application with many parts, many servers many possible locations that can actually update the database, or the SQL Server is accessible to many DBAs or software engineers, each can access some database directly and do some changes without going thru SafePeak – this can create a potential corruption of the data stored in SafePeak cache. To make sure SafePeak cache is correct it needs to get all updates to arrive to SafePeak, and if a DBA will access the database directly and do some changes, for example, then SafePeak will simply not know about it and will not clean SafePeak cache.</p>
<p style="text-align:justify;">In the new version, SafePeak brought a new feature called “Logon Trigger” to solve the above challenge. By special click of a button SafePeak can deploy a special server logon trigger (with a CLR object) on your SQL Server that actually monitors all connections and informs SafePeak on any connection that is coming not from SafePeak. In SafePeak dashboard there is an interface that allows to control which logins can be ignored based on login names and IPs, while the rest will invoke cache cleanup of SafePeak and actually locks SafePeak cache until this connection will not be closed. Important to note, that this does not interrupt any logins, only informs SafePeak on such connection.</p>
<p style="text-align:justify;">On the Dashboard screen in SafePeak you will be able to see those connections and then decide what to do with them.</p>
<p style="text-align:justify;">Configuration of this feature in SafePeak dashboard can be done here: Settings -&gt; SQL instances management -&gt; click on instance -&gt; Logon Trigger tab.</p>
<h3 style="text-align:justify;">Other features:</h3>
<h4 style="text-align:justify;">7. User management</h4>
<p style="text-align:justify;">ability to grant permissions to someone without changing its configuration and only use SafePeak as performance analysis tool.</p>
<h4 style="text-align:justify;">8. Better reports</h4>
<p style="text-align:justify;"><strong></strong>for analysis of performance using 15 minute resolution charts.<strong></strong></p>
<h4 style="text-align:justify;"><strong>9. Caching of client cursors</strong></h4>
<h4 style="text-align:justify;"><strong>10. Support for IPv6</strong></h4>
<h3 style="text-align:justify;">Summary</h3>
<p style="text-align:justify;">SafePeak is a great SQL Server performance acceleration solution for users who want immediate results for sites with performance, scalability and peak spikes challenges. Especially if your apps are packaged or 3<sup>rd</sup> party, since no code changes are done. SafePeak can significantly increase response times, by reducing network roundtrip to the database, decreasing CPU resource usage, eliminating I/O and storage access.</p>
<p style="text-align:justify;">SafePeak team provides a free fully functional trial <a href="http://www.safepeak.com/download?source=sqlauthority-Oct31">www.safepeak.com/download</a> and actually provides a one-on-one assistance during such trial.</p>
<p style="text-align:justify;">Reference:<strong></strong> <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/about-me/'>About Me</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/15395/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15395&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/10/31/sql-server-database-dynamic-caching-by-automatic-sql-server-performance-acceleration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/safepeak-diagram-cloud.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/safepeak-diagram-cloud2.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; SQL Backup and FTP &#8211; A Quick and Handy Tool</title>
		<link>http://blog.sqlauthority.com/2011/10/03/sql-server-sql-backup-and-ftp-a-quick-and-handy-tool/</link>
		<comments>http://blog.sqlauthority.com/2011/10/03/sql-server-sql-backup-and-ftp-a-quick-and-handy-tool/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 01:30:18 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Backup and Restore]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Download]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14763</guid>
		<description><![CDATA[Scroll down at the end of this post to win my SQL Wait Stats Book. I have used this tool extensively since 2009 at numerous occasion and found it to be very impressive. What separates it from the crowd the most &#8211; it is it’s apparent simplicity and speed. When I install SQLBackupAndFTP and configure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14763&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><strong>Scroll down at the end of this post to win my <a href="http://bit.ly/waitstats" target="_blank">SQL Wait Stats Book</a>.</strong></p>
<p style="text-align:justify;">I have used this tool extensively since 2009 at numerous occasion and found it to be very impressive. What separates it from the crowd the most &#8211; it is it’s apparent simplicity and speed. When I install <strong><a href="http://sqlbackupandftp.com/" target="_blank">SQLBackupAndFTP</a></strong> and configure backups &#8211; all in 1 or 2 minutes, my clients are always impressed.</p>
<p style="text-align:justify;">To put it simply, SQLBackupAndFTP is MS SQL Server backup software that performs these tasks:</p>
<ul style="text-align:justify;">
<li>Backup SQL Server Database</li>
<li>Zip the backups</li>
<li>Encrypt the backups</li>
<li>FTP the backups to remote FTP server</li>
<li>Move file to local area network</li>
<li>Send final status of tasks in email.</li>
<li>Allows to monitor the history of jobs through the web</li>
</ul>
<p style="text-align:justify;">SQLBackupAndFTP comes in Free and Paid versions (starting from $29) &#8211; see this <strong><a href="http://sqlbackupandftp.com/features/" target="_blank">version comparison</a></strong> chart, but even Free version is fully functional for unlimited ad hoc backups or for scheduled backups of up to two databases &#8211; it will be sufficient for many small customers.</p>
<p style="text-align:justify;">But enough theory, let us now see how we can take backup and move it to the desired folder.</p>
<p style="text-align:justify;"><strong>Image 1:</strong> You start from the main form and  all the settings are very easy as described in the following image. From database selection to job scheduling, you can configure everything on one screen.</p>
<p style="text-align:justify;">On this form you would usually do the following:</p>
<ol style="text-align:justify;">
<li>Press “Connect to SQL Server” button to connect to your SQL Server instance</li>
<li>Check databases in the list to select databases to backup</li>
<li>If you need to store backups in a Local/Network folder &#8211; fill out the path to this folder</li>
<li>If you need to send backups to FTP &#8211; fill out your FTP server settings</li>
<li>Enter you email to receive job notification e-mails</li>
<li>Fill out the time when a scheduled daily backup job should run</li>
<li>Press “Run Now” button to test your backups</li>
</ol>
<p style="text-align:justify;">Note that the above covers just the basic scenario when you need full backups once a day. If you need Differential or Transaction Log backups or a schedule more complicated than once per day &#8211; press “Advanced Schedule”.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlbnf/image001.png" alt="" width="500" /></p>
<p style="text-align:justify;"><strong>Image 2:</strong> Advanced Backup Schedule. Again, what I love about this program &#8211; it is how simply it allows you to resolve even quite complicated tasks. Your can click the sample scenario link that matches you needs the most &#8211; like “Daily 4 times” and everything is set &#8211; you’ll get one full and 3 Differential backups per day. Or select any other scenario that suits you.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlbnf/image003.png" alt="" width="500" /></p>
<p style="text-align:justify;"><strong>Image 3:</strong> Advanced Settings screen is optional and allows you set encryption, compression levels, backup file name, temporary folders, if you want to use web logs (more about it below) and more</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlbnf/image005.png" alt="" width="500" /></p>
<p style="text-align:justify;"><strong>Image 4:</strong> If you checked “Use web log” in Advanced Settings, the log of your jobs is being saved on the web on sqlbackupandftp.com site (see <strong><a href="http://sqlbackupandftp.com/weblog/demo" target="_blank">weblog demo</a></strong>) and you can see the history of these jobs (even collected from multiple servers) in a single page &#8211; very interesting feature that can be very handy for large organizations</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlbnf/image007.png" alt="" width="500" /></p>
<p style="text-align:justify;">A detailed configuration tutorial is available <strong><a href="http://sqlbackupandftp.com/tutorial/" target="_blank">here</a></strong> if you are interested.</p>
<p style="text-align:justify;">Now, a question that might baffle your mind is – how this tool is better than maintenance tasks available in SQL Server. Well, here goes the answer. Maintenance tasks are easy to set up for backups; however, SQLBackupAndFTP have integrated solution for encryption, FTP and email which make it superior to maintenance tasks in every aspect.</p>
<p style="text-align:justify;">I would like to present my unbiased view about this tool. At the same time, I want to give my readers a broad perspective about backup tools in general.  On comparing this tool with other backup tools I have experienced that it is not the fanciest tool to manage backups or check their health. This is one tool that smoothly performs the job in a very few steps compared to native SQL Server backup, which takes numerous steps to execute the similar job.</p>
<p style="text-align:justify;"><strong>Image 5:</strong> Along with SQLBackupAndFTP setup gives you the option to install “One-Click SQL Restore” (you can install it stand-alone too) &#8211; a basic tool for restoring just Full backups.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlbnf/image009.png" alt="" width="500" /></p>
<p style="text-align:justify;">However basic, you can drag-and-drop on it the zip file created by SQLBackupAndFTP, it unzips the BAK file if necessary, connects to the SQL server on the start, selects the right database, it is smart enough to restart the server to drop open connections if necessary &#8211; very handy for developers who need to restore databases often.</p>
<p style="text-align:justify;">While testing <strong><a href="http://sqlbackupandftp.com/" target="_blank">SQLBackupAndFTP</a></strong> I noticed some limitations. It only works reliably on local SQL Server instances. In other words it has to be installed on the SQL server itself. For remote servers it uses scripting which is less reliable. This limitations is actually inherent in SQL server itself as BACKUP DATABASE command  creates backup not on the client, but on the server itself.</p>
<p style="text-align:justify;">This tool is compatible with almost all the known SQL Server versions. It works with SQL Server 2008 (all versions) and many of the previous versions. It is especially useful for SQL Server Express 2005 and SQL Server Express 2008, as they lack built in tools for backup.</p>
<p style="text-align:justify;"><strong><a href="http://sqlbackupandftp.com/" target="_blank">SQLBackupAndFTP</a></strong> is rapidly evolving since I first started using it two years ago. I spoke to developers and it seems that their immediate goal is to include cloud storage support &#8211; users will be able to backup directly to Microsoft SkyDrive, Amazon S3, DropBox, Box.net and others &#8211; very exciting development.</p>
<p style="text-align:justify;">I strongly recommend this tool to all the DBAs. They must absolutely try it as it is free and does exactly what it promises. You can <strong><a href="http://sqlbackupandftp.com/download/SqlBakSetup.exe" target="_blank">download your free copy</a></strong> of the tool from here.</p>
<p style="text-align:justify;">Please share your experience about using this tool. I am eager to receive your feedback regarding this article. I will also give print book of my <strong><a href="http://amzn.to/p3tL1n" target="_blank">SQL Server Wait Stats</a></strong> book to two individual who share their feedback about this product. The book will be sent to any country where Amazon delivers the book.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-backup-and-restore/'>SQL Backup and Restore</a>, <a href='http://blog.sqlauthority.com/category/sql-documentation/'>SQL Documentation</a>, <a href='http://blog.sqlauthority.com/category/sql-download/'>SQL Download</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/14763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/14763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/14763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/14763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/14763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/14763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/14763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/14763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/14763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/14763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/14763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/14763/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/14763/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/14763/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14763&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/10/03/sql-server-sql-backup-and-ftp-a-quick-and-handy-tool/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlbnf/image001.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sqlbnf/image003.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sqlbnf/image005.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sqlbnf/image007.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sqlbnf/image009.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; SafePeak &#8211; The Plug and Play Immediate Acceleration Solution</title>
		<link>http://blog.sqlauthority.com/2011/08/11/sql-server-safepeak-the-plug-and-play-immediate-acceleration-solution/</link>
		<comments>http://blog.sqlauthority.com/2011/08/11/sql-server-safepeak-the-plug-and-play-immediate-acceleration-solution/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 01:31:02 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13860</guid>
		<description><![CDATA[Introduction Given how important performance is these days among SQL Server critical applications, I was excited to look into a new product by SafePeak Technologies (www.SafePeak.com) that aims to immediately resolve, in a plug-and-play way, the performance, scalability and peaks challenges of SQL Server applications on the Cloud, hosting servers and enterprise data centers. While [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13860&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2 style="text-align:justify;"><strong>Introduction</strong></h2>
<p style="text-align:justify;">Given how important performance is these days among SQL Server critical applications, I was excited to look into a new product by <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a></strong> Technologies (www.SafePeak.com) that aims to immediately resolve, in a plug-and-play way, the performance, scalability and peaks challenges of SQL Server applications on the Cloud, hosting servers and enterprise data centers.</p>
<div class="wp-caption alignnone" style="width: 510px"><a href="http://www.pinaldave.com/bimg/SafePeak1.jpg"><img src="http://www.pinaldave.com/bimg/SafePeak1.jpg" alt="" width="500" /></a><p class="wp-caption-text">Click to Enlarge</p></div>
<p style="text-align:justify;">While most SQL Server shops ask me about performance monitoring and alert solutions, to allow them to identify and analyze performance bottlenecks, this unique product actually can resolve them and increase performance in dramatic ways.</p>
<p style="text-align:justify;"><strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a> </strong>is a caching proxy that resides between the application and the database. It is unique in the way it requires neither code changes nor database changes. The only change required is routing the application through SafePeak instead of the database.</p>
<p style="text-align:justify;">The benefits of such a solution are obvious: quick integration, immediate ROI, no complex projects and most importantly, minimal downtime for production systems.</p>
<p style="text-align:justify;">As far as I know, this is the only true plug &amp; play caching solution available on the market today and it can provide instant acceleration to any Cloud, hosted or business SQL Server application.</p>
<h2 style="text-align:justify;">The concept</h2>
<p style="text-align:justify;">The idea behind <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a> </strong>is that simple &#8211; repeatable queries should not be executed against the database, the result sets can be stored in RAM and can be returned immediately, in fractions of a millisecond, without the need to validate the syntax, calculate the execution plan, read IO blocks from the disk and perform data aggregation.</p>
<p style="text-align:justify;">On transactional applications there are many such repeatable queries and SafePeak can reduce the overhead of executing them against the database over and over again.</p>
<h2 style="text-align:justify;">How Does SafePeak work?</h2>
<p style="text-align:justify;">SafePeak’s solution to the performance problem is to store the result sets returned by the database in RAM, as is. When a recurring query or SP execution with the same parameters is passed through <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a></strong>, it will reply from RAM in a fraction of a millisecond instead of sending the query to the database, thus significantly reducing resources from the database server and the database storage.</p>
<p style="text-align:justify;">In order to achieve this behavior, SafePeak reads and analyzes the TDS protocol (the protocol between the application and the SQL Server), making it transparent to any application working with SQL Server.</p>
<h2 style="text-align:justify;"><strong>Data integrity, reliability and high availability</strong></h2>
<p style="text-align:justify;">The main challenge with database caching is to understand in real time when data is no longer valid and should be evicted from the cache. Data can become obsolete for numerous reasons: DML, DDL, executing complex stored procedures, triggers etc.</p>
<p style="text-align:justify;"><strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a> </strong>solved this complicated challenge with patent-pending algorithms with three parts: 1) Automatic analysis algorithm of the database schema and creation of a relations graph between all the objects in the database: tables, views, triggers, functions, stored procedures, etc.; 2) A self-adaptive algorithm that studies the application traffic, creates patterns of queries and understands their dependant objects; 3) Real-time analysis of the TDS and the T-SQL queries upon arrival of data modification event, and then flushing or refreshing in real-time the relevant cache items results.</p>
<p style="text-align:justify;">The data on the SQL Server is always up-to-date and the cache items that remain in SafePeak memory are always up to date.</p>
<p style="text-align:justify;">SafePeak’s team made sure to protect the application and database from potential glitches of software and hardware. Basically, in single-mode installation the worst case of any failure the traffic will be sent directly to the database server. In cluster installation, SafePeak second, the passive server takes over (Virtual IP) and becomes the active one.</p>
<h2 style="text-align:justify;">Installation and configuration</h2>
<p style="text-align:justify;"><strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a> </strong>Installation is quick and simple, and is completed in few minutes. It requires a different server than the database with Windows 2008 64bit or Windows 2008R2 (VMware, Microsoft Hyper-V or any cloud virtual instance/server are supported as well).</p>
<p style="text-align:justify;">Adding a database instance to SafePeak requires mixed authentication on the database but again, it is simple and takes few seconds. From this point SafePeak analyzes the schema and creates the relations graph, a procedure that takes between seconds to an hour and is a one-time operation. Once this is completed, you are good to go.</p>
<p style="text-align:justify;">The application should be pointed (via connection string or etc\hosts file or a change of DNS record) to the SafePeak server instead of the database. If you have Jobs running on SQL Server using the agent then you may need to define an “alias” to the agent that will route all the jobs via SafePeak (but only if want SafePeak to be aware on any updates they may perform).</p>
<p style="text-align:justify;">From this point <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak </a></strong>is in auto-pilot, learns the traffic patterns and does caching of whatever is possible.</p>
<p style="text-align:justify;">There is fine tuning that can be done to improve performance in relation to stored procedures that perform dynamic SQL (inform SafePeak which objects are being accessed) and the same operation is required for CLR and encrypted objects. The application will continue to work without the configuration, but the effectiveness of SafePeak decreases. Basically within one hour the application will be accelerated.</p>
<h2 style="text-align:justify;">User Interface</h2>
<p style="text-align:justify;">The nice, easy browser-based GUI allows both product management and also provides tools for performance bottlenecks identifications and analysis.</p>
<div class="wp-caption alignnone" style="width: 510px"><a href="http://www.pinaldave.com/bimg/SafePeak2.jpg"><img src="http://www.pinaldave.com/bimg/SafePeak2.jpg" alt="" width="500" /></a><p class="wp-caption-text">Click to Enlarge</p></div>
<p style="text-align:justify;">The product provides a structured way to see performance information starting with the instance level all the way through the queries execution.</p>
<p style="text-align:justify;">On each level the product shows the amount read and records the average response time, the cached response time.</p>
<p style="text-align:justify;">Historical information can be viewed using the product reports.</p>
<h2 style="text-align:justify;">Conclusion</h2>
<p style="text-align:justify;">Overall, I am very impressed with <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a> </strong>as a novel product. SafePeak is a great acceleration solution for users who want immediate results for sites with performance, scalability and peak spikes challenges.</p>
<p style="text-align:justify;">While there are specific environments that will clearly benefit from SafePeak, such as SQL Servers with high SELECTivity and read-intensive databases, it is designed for OLTP applications. Such environments that seem to get the most out of SafePeak’s acceleration are E-commerce, Cloud and Hosted apps, large SharePoint and CRM Dynamics implementations, ERP &amp; CRM applications.</p>
<p style="text-align:justify;">SafePeak can significantly increase response times, by reducing network roundtrip to the database, decreasing CPU resource usage, eliminating I/O and storage access</p>
<p style="text-align:justify;">It is simple, plug-and-play, and easily integrates into the current architecture. If you have an important SQL Server website or enterprise application whose performance affects company sales and productivity – then it is definitely worth giving SafePeak a try.</p>
<p style="text-align:justify;">However, while SafePeak works well with SQL Server OLTP apps, it does not play well with OLAP databases. You can still use SafePeak, but you will need to specially configure CLR objects with SafePeak.</p>
<p style="text-align:justify;">You can download a free, fully functional trial here: <strong><a href="http://www.SafePeak.com/download">www.SafePeak.com/download</a></strong>.</p>
<p style="text-align:justify;">Reference:<strong></strong> <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<p>http://www.safepeak.com/download?source=sqlauthority-sidebar</p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13860/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13860&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/08/11/sql-server-safepeak-the-plug-and-play-immediate-acceleration-solution/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SafePeak1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/SafePeak2.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Who needs ETL Version Control?</title>
		<link>http://blog.sqlauthority.com/2011/08/10/sql-server-who-needs-etl-version-control/</link>
		<comments>http://blog.sqlauthority.com/2011/08/10/sql-server-who-needs-etl-version-control/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 01:31:18 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ETL]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13847</guid>
		<description><![CDATA[While making some changes (read: mistakes) to my ETL business logic the other day, it occurred to me much too late that those unfortunate changes had replaced the once properly working logic with now very flawed logic.  The good news was that I remembered what the working logic was supposed to be.  The bad news, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13847&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">While making some changes (read: mistakes) to my ETL business logic the other day, it occurred to me much too late that those unfortunate changes had replaced the once properly working logic with now very flawed logic.  The good news was that I remembered what the working logic was supposed to be.  The bad news, I had to re-create it.  Had I had the working logic already checked-in under version control, I could have saved myself the two hours of wasted time and effort.  In an ETL team development setting, these types of issues could easily multiply and significantly impede developer progress and productivity.</p>
<p style="text-align:justify;">Version control makes it possible to have multiple people developing together and working on same project.  If I am working on something, a fellow ETL developer will not be able to check it out and make changes to it until I am finished with my changes and check those back in.   This addresses the common situation where one developer’s project artifact and code changes clobber that of another developer by accident.</p>
<p style="text-align:justify;">Another reason to have version control is that it gives the developer confidence to try different modifications to the logic without having to worry about a negative impact to the previously developed logic.   Sure, I could always save off my work and create a copy to try things out on.  However, in my experience, I would wind up with various different copies all over the place and it would then become difficult to keep track of what’s what.  Version control allows me to capture and document relevant information about whatever I am checking in.</p>
<p style="text-align:justify;">Finally, version control maintains a history of changes that have been made to the application logic.  In some environments, this information and traceability can prove extremely valuable if not necessary.   Ever wonder when a bug was introduced into the application logic?</p>
<div class="wp-caption alignnone" style="width: 510px"><img src="http://www.pinaldave.com/bimg/etlversion1.jpg" alt="" width="500" /><p class="wp-caption-text">Click to Enlarge</p></div>
<p style="text-align:justify;" align="center"><em>The expressor Studio desktop <a href="http://www.expressor-software.com/studio.htm">ETL tool</a> allows developers to seamlessly check-in and -out project artifacts to expressor’s Repository, which supports version control and is available as part of their Standard Edition product offering.</em></p>
<p style="text-align:justify;">Many data integration solutions do not have built-in version control.   Most offer some way to interface to version control systems, but <a href="http://www.expressor-software.com/">expressor</a> has it built-in with their <a href="http://www.expressor-software.com/standard-edition.htm">Standard Edition</a> product offering.   I requested a trial license to play with it and was pleasantly surprised at expressor’s seamless version control integration.  There was no need to do any separate 3<sup>rd</sup> party download, install, and configuration.  With expressor, check-in and check-out was almost transparent.  As someone who has developed ETL solutions, I really appreciated the clean and simple approach expressor has taken.   I have no doubt this would help make any ETL project go smoother and faster.</p>
<p style="text-align:justify;">You can request a free <a href="http://pages.expressor-software.com/standard-edition-download.html?CH=WS&amp;camp=1000">30-day trial</a> of the expressor Standard Edition, or <strong><a href="http://go.expressor-software.com/studio-download.html?campaignID=70140000000MapQ">download</a></strong> their <strong><em>free</em></strong> expressor Studio community ETL tool at their site.</p>
<p style="text-align:justify;">Reference:<strong></strong>  Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a> Tagged: <a href='http://blog.sqlauthority.com/tag/etl/'>ETL</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13847/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13847&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/08/10/sql-server-who-needs-etl-version-control/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/etlversion1.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Latest expressor Data Integration Platform Posts</title>
		<link>http://blog.sqlauthority.com/2011/07/28/sql-server-latest-expressor-data-integration-platform-posts/</link>
		<comments>http://blog.sqlauthority.com/2011/07/28/sql-server-latest-expressor-data-integration-platform-posts/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 01:30:27 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13680</guid>
		<description><![CDATA[I continue to frequently post new articles on expressor and would like to share with you my latest three posts: Introduction to expressor Datascript Modules 5 Tips for improving your data with expressor Studio expressor 3.2 Release Review I will soon be blogging about their upcoming 3.4 release to keep you informed about the latest [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13680&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I continue to frequently post new articles on expressor and would like to share with you my latest three posts:</p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2011/07/08/sql-server-introduction-to-expressor-datascript-modules/">Introduction to expressor Datascript Modules</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2011/06/08/sql-server-5-tips-for-improving-your-data-with-expressor-studio">5 Tips for improving your data with expressor Studio</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2011/05/11/sql-server-%E2%80%93-expressor-3-2-release-review/"> expressor 3.2 Release Review</a></p>
<p style="text-align:justify;">I will soon be blogging about their upcoming 3.4 release to keep you informed about the latest developments around their product. If you haven&#8217;t tried yet, consider<a href="http://go.expressor-software.com/studio-download.html?campaignID=70140000000MapQ" target="_blank"> downloading</a> and test-driving their Studio product – it’s absolutely free.</p>
<p style="text-align:justify;">Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13680/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13680/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13680/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13680/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13680/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13680/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13680/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13680/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13680/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13680/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13680/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13680/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13680/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13680/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13680&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/07/28/sql-server-latest-expressor-data-integration-platform-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Introduction to expressor Datascript Modules</title>
		<link>http://blog.sqlauthority.com/2011/07/08/sql-server-introduction-to-expressor-datascript-modules/</link>
		<comments>http://blog.sqlauthority.com/2011/07/08/sql-server-introduction-to-expressor-datascript-modules/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 01:30:02 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Data Warehousing]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13540</guid>
		<description><![CDATA[With the release of expressor 3.3, expressor software has added a significant new feature to the expressor Studio tool – the ability to easily extend functionality through the incorporation of reusable script files.  A developer using expressor Studio may write these scripts and add them to any number of projects, or you can integrate scripts [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13540&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">With the release of expressor 3.3, expressor software has added a significant new feature to the expressor Studio tool – the ability to easily extend functionality through the incorporation of reusable script files.  A developer using expressor Studio may write these scripts and add them to any number of projects, or you can integrate scripts written by other developers.  Let’s see how this works.</p>
<p style="text-align:justify;">Suppose you want to execute a one-to-many application in which each incoming record needs to be parsed into multiple output records.  For example, a record containing monthly data over a year period needs to be reworked so that each emitted record contains data from a single month.  The following fragment shows two representative data records, where the first field is the year and the following fields are the monthly data, January through December.</p>
<pre>Year,Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec
2010,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012
2009,901,902,903,904,905,906,907,908,909,910,911,912</pre>
<p style="text-align:justify;">You want each output record to contain only three fields: Year, Month, and Value.</p>
<pre>Year,Month,Value
2010,Jan,1001
2010,Feb,1002
2010,Mar,1003
2010,Apr,1004
...</pre>
<p style="text-align:justify;">To illustrate how you can reuse the coding within a Datascript Module, think of the incoming record as a sequence of fields each with a specific attribute name and value.</p>
<pre>GroupAttribute,Atr1,Atr2,Atr3,Atr4,Atr5,Atr6,Atr7,Atr8,Atr9,Atr10,Atr11,Atr12</pre>
<p style="text-align:justify;">And think of each emitted record as comprised of three fields.</p>
<pre>GroupAttribute,Atr,Val</pre>
<p style="text-align:justify;">Now you can write generic code within the Datascript Module that can handle any incoming record in a one-to-many application.</p>
<ul>
<li>Since you want to use the Datascript Module in multiple applications, create this artifact within an expressor library.
<ul>
<li>In this example, the library is named modules_library.0 and the Datascript Module is named OneToMany.</li>
</ul>
</li>
<li>Within the OneToMany module, include the following scripting.
<ul>
<li>Note that line 4, which defines the fully qualified name of the module, is entered by Studio when you first create the module.  It is a concatenation of the library name and module file name.</li>
<li>The Datascript Module includes a single function named oneToMany, which takes as arguments the name of the attribute holding a value that uniquely identifies the incoming record and the incoming record that needs to be divided into multiple output records.</li>
<li>Observe how the code uses the generic field names GroupAttribute, Atr, and Val to populate each output record.  It’s not until the collection of output records is returned to the calling code that the coding uses the actual attribute names (Year, Month, Value) of the output record.
<ul>
<li>Consequently, the actual attribute names used by the incoming and outgoing records are only referenced within the calling code, which is specific to an application.</li>
<li>All coding within the Datascript Module uses generic names applicable to any incoming data.</li>
</ul>
</li>
</ul>
</li>
</ul>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/figure1.png" alt="" width="487" height="348" /></p>
<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/figure2.png" alt="" width="326" height="83" />Now, let’s turn our attention to the code that uses this Datascript Module.  In this case, the application is quite simple.  It reads a file that contains the yearly summary records, uses a Transform operator to process each record into multiple output records, and then writes each monthly output record to a file.</p>
<ul style="text-align:justify;">
<li>Line 2 cross-references the Datascript Module.  This statement is equivalent to simply copying and pasting the scripting from the module into the operator’s coding.</li>
<li>Line 5 invokes the oneToMany function defined in the module.</li>
<li>Lines 10 through 20 iterate through the collection of output records returned by the module’s oneToMany function, emitting each record individually.
<ul>
<li>To emit more than one record from the Transform operator, the scripting uses an <a href="http://expressor-community.com/2011/06/24/understanding-the-iterator-function/">iterator function</a>, another new feature introduced in expressor 3.3.</li>
</ul>
</li>
</ul>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/figure3.png" alt="" width="486" height="328" /></p>
<p style="text-align:justify;">Using modules written by other developers is no more involved.  In fact, expressor 3.3 ships with many modules that your code can utilize.  These include a cURL module that you can use to invoke on Web services or FTP servers, a SAX XML module that you can use to parse an XML document, a socket module that you can use to interact with an external application, a SQL module that allows your code to execute a SQL statement against a remote database, as well as some expressor Datascript Modules that include utility functions useful for parsing CSV files and serializing and de-serializing expressor Datascript tables.</p>
<p style="text-align:justify;">To use any of these modules, simply include the necessary require statement at the beginning of your scripting.  The <a href="http://expressor-community.com/knowledge-base/">expressor Community Knowledge Base</a> includes entries that describe use of these modules. The expressor Studio desktop ETL tool is freely <strong><a href="http://go.expressor-software.com/studio-download.html?campaignID=70140000000MapQ">downloadable</a></strong> from the expressor website.   I encourage you to give it a try!</p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/data-warehousing/'>Data Warehousing</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13540/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13540&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/07/08/sql-server-introduction-to-expressor-datascript-modules/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/figure1.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/figure2.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/figure3.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Running SSIS Package in Scheduled Job</title>
		<link>http://blog.sqlauthority.com/2011/05/23/sql-server-running-ssis-package-in-scheduled-job/</link>
		<comments>http://blog.sqlauthority.com/2011/05/23/sql-server-running-ssis-package-in-scheduled-job/#comments</comments>
		<pubDate>Mon, 23 May 2011 01:30:09 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12957</guid>
		<description><![CDATA[I previously wrote article SQL SERVER – Import CSV File into Database Table Using SSIS. I was asked following question by reader that how to run the same SSIS package from command prompt. In response to the same I have written article SQL SERVER – Running SSIS Package From Command Line. Within few minutes of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12957&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I previously wrote article <strong><a title="Permanent Link to SQL SERVER – Import CSV File into Database Table Using SSIS" href="http://blog.sqlauthority.com/2011/05/12/sql-server-import-csv-file-into-database-table-using-ssis/" rel="bookmark">SQL SERVER – Import CSV File into Database Table Using SSIS</a></strong>. I was asked following question by reader that how to run the same SSIS package from command prompt. In response to the same I have written article <strong><a href="http://blog.sqlauthority.com/2011/05/21/sql-server-running-ssis-package-from-command-line/" target="_blank">SQL SERVER – Running SSIS Package From Command Line</a></strong>. Within few minutes of the blog post, I received email from another blog reader asking if this can be scheduled in SQL Server Agent Job.</p>
<p style="text-align:justify;">Absolutely, SSIS package can be scheduled in SQL Agent Jobs. Here is quick note on how one can do the same.</p>
<p style="text-align:justify;">First you can create new job from SQL Server Agent Menu.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/packagerun1.jpg" alt="" width="405" /></p>
<p style="text-align:justify;">Create New Step.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/packagerun2.jpg" alt="" width="500" /></p>
<p style="text-align:justify;">Select Type as SQL Server Integration Services Packages. Select Package Source as file system and give package path.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/packagerun3.jpg" alt="" width="500" /></p>
<p style="text-align:justify;">Now click on OK, which will bring you at following screen.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/packagerun4.jpg" alt="" width="500" /></p>
<p style="text-align:justify;">On next screen you can select schedule and configure desired schedule.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/packagerun5.jpg" alt="" width="500" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/packagerun6.jpg" alt="" width="500" /></p>
<p style="text-align:justify;">You can notice this is very easy process. Let me know if you have any further questions.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12957/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12957/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12957/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12957/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12957/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12957/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12957/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12957/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12957/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12957/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12957/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12957/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12957/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12957/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12957&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/05/23/sql-server-running-ssis-package-in-scheduled-job/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/packagerun1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/packagerun2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/packagerun3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/packagerun4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/packagerun5.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/packagerun6.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Management Studio and Browser in Same Application</title>
		<link>http://blog.sqlauthority.com/2011/05/20/sql-server-management-studio-and-browser-in-same-application/</link>
		<comments>http://blog.sqlauthority.com/2011/05/20/sql-server-management-studio-and-browser-in-same-application/#comments</comments>
		<pubDate>Fri, 20 May 2011 01:30:09 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12944</guid>
		<description><![CDATA[First of all &#8211; I must confess that I was not aware of this feature till I noticed it today. At home I have multiple monitors but when I am traveling I have single laptop along with me. It is often that when I am working with SQL Server I have to refer web for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12944&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">First of all &#8211; I must confess that I was not aware of this feature till I noticed it today. At home I have multiple monitors but when I am traveling I have single laptop along with me. It is often that when I am working with SQL Server I have to refer web for information on the subject I am working on.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SSMS-Browser1.jpg" alt="" width="500" height="409" /></p>
<p style="text-align:justify;">Recently I pressed CTRL+ALT+R and suddenly a web browser opened in SSMS. I later realize that I can also access the same from SSMS &gt;&gt; View &gt;&gt; Other Windows &gt;&gt; Web Browser.</p>
<div class="wp-caption alignnone" style="width: 510px"><a href="http://www.pinaldave.com/bimg/SSMS-Browser.jpg"><img src="http://www.pinaldave.com/bimg/SSMS-Browser.jpg" alt="" width="500" height="296" /></a><p class="wp-caption-text">Click to Enlarge</p></div>
<p style="text-align:justify;">Now user can open web browser and New Query editor and split them vertically (Go to Windows and click on New Vertical Tab Groups) and have both side by side. Very near feature. I am personally going to use it again and again.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/sql-server-management-studio/'>SQL Server Management Studio</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12944/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12944/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12944/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12944/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12944/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12944/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12944/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12944&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/05/20/sql-server-management-studio-and-browser-in-same-application/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SSMS-Browser1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/SSMS-Browser.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Connecting to Server Using Windows Authentication by SQLCMD</title>
		<link>http://blog.sqlauthority.com/2011/05/19/sql-server-connecting-to-server-using-windows-authentication-by-sqlcmd/</link>
		<comments>http://blog.sqlauthority.com/2011/05/19/sql-server-connecting-to-server-using-windows-authentication-by-sqlcmd/#comments</comments>
		<pubDate>Thu, 19 May 2011 01:30:50 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[sqlcmd]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12940</guid>
		<description><![CDATA[Recently I got a call from an old friend I used to call “DJ”. Here is the exact conversation we had: DJ: Pinal, your SQL Server does not like me. Pinal: Possible, no one likes you! DJ: I am serious&#8230; Pinal: I am too&#8230; DJ: No really &#8211; be serious. Pinal: Well, you started it, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12940&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Recently I got a call from an old friend I used to call “DJ”. Here is the exact conversation we had:</p>
<p style="text-align:justify;"><strong>DJ:</strong> Pinal, your SQL Server does not like me.<br />
<strong>Pinal:</strong> Possible, no one likes you!<br />
<strong>DJ:</strong> I am serious&#8230;<br />
<strong>Pinal:</strong> I am too&#8230;<br />
<strong>DJ:</strong> No really &#8211; be serious.<br />
<strong>Pinal:</strong> Well, you started it, tell me your problem.<br />
<strong>DJ:</strong> This new SQLCMD thingy does not work. Everytime I am using my username and password it does not log me in.<br />
<strong>Pinal:</strong> Have you tried with SSMS?<br />
<strong>DJ:</strong> No, but it works fine. I just logged in my machine using it.<br />
<strong>Pinal:</strong> Oh, are you trying to login using your Windows Authentication Username and Password?<br />
<strong>DJ:</strong> Does it matter? I am the admin on my box.<br />
<strong>Pinal:</strong> It <em>does</em> matter. Tell me your script.<br />
<strong>DJ:</strong> sqlcmd -S .\sqlent1 -U username -P password. And then I’d been given “error 18456 &#8211; login failed for user.”<br />
<strong>Pinal:</strong> Try sqlcmd -S .\sqlent1 -E<br />
(After a while)<br />
<strong>DJ:</strong> It works! So you still know SQL Server, what’d you say?<br />
<strong>Pinal:</strong> I say  you still do not know SQL Server (evil laugh)<br />
<strong>DJ:</strong> (extends the evil laugh)</p>
<p style="text-align:justify;">Well, it was simple. He was trying to connect to SQL Server which was installed on his local box, where he was the admin. In this case, he can use a simpler script. This is a very specific situation and it was not the production server’s fault. Here is a copy of the scenario on my personal laptop.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlcmderror.jpg" alt="" width="500" height="166" /></p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a> Tagged: <a href='http://blog.sqlauthority.com/tag/sqlcmd/'>sqlcmd</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12940/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12940&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/05/19/sql-server-connecting-to-server-using-windows-authentication-by-sqlcmd/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlcmderror.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Restart Remote Computer &#8211; Shutdown Remote Computer</title>
		<link>http://blog.sqlauthority.com/2011/05/14/sqlauthority-news-restart-remote-computer-shutdown-remote-computer/</link>
		<comments>http://blog.sqlauthority.com/2011/05/14/sqlauthority-news-restart-remote-computer-shutdown-remote-computer/#comments</comments>
		<pubDate>Sat, 14 May 2011 01:30:49 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12902</guid>
		<description><![CDATA[I often work with multiple computer system. This machines are different machines. When I login using remote desktop to different machine, I often want to restart or shutdown the computer. Remote desktop does not let me shutdown computer when I have remote system as Windows 7. At this time, I walk myself to the physical [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12902&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I often work with multiple computer system. This machines are different machines. When I login using remote desktop to different machine, I often want to restart or shutdown the computer. Remote desktop does not let me shutdown computer when I have remote system as Windows 7. At this time, I walk myself to the physical computer and restart the machine. This is not convenient if I am doing it often.</p>
<p style="text-align:justify;">I recently searched for command prompt solution for the same and I learned it today.</p>
<p style="text-align:justify;">If you are going to say this is so 90s. Well, I am late by 20 years :)</p>
<p style="text-align:justify;"><strong>Shutdown the Computer using Command Prompt</strong></p>
<pre>shutdown /s</pre>
<p style="text-align:justify;"><strong>Restart the Computer using Command Prompt</strong></p>
<pre>shutdown /r</pre>
<p style="text-align:justify;">Well this is very simple but I am glad that I know it.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12902/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12902/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12902/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12902/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12902/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12902/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12902/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12902/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12902/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12902/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12902/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12902/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12902/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12902/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12902&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/05/14/sqlauthority-news-restart-remote-computer-shutdown-remote-computer/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER – expressor 3.2 Release Review</title>
		<link>http://blog.sqlauthority.com/2011/05/11/sql-server-%e2%80%93-expressor-3-2-release-review/</link>
		<comments>http://blog.sqlauthority.com/2011/05/11/sql-server-%e2%80%93-expressor-3-2-release-review/#comments</comments>
		<pubDate>Wed, 11 May 2011 01:30:09 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12863</guid>
		<description><![CDATA[I have been following expressor software for some time now and they have recently released a new version of their expressor Studio desktop ETL application.  I am pleased to find out that the download and installation experience of this application has been greatly simplified.  expressor Studio no longer requires users to install a license key [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12863&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I have been following expressor software for some time now and they have recently released a new version of their <strong><a href="http://pages.expressor-software.com/studio-download.html?CH=PA&amp;camp=0008" target="_blank">expressor Studio</a></strong> desktop ETL application.  I am pleased to find out that the download and installation experience of this application has been greatly simplified.  expressor Studio no longer requires users to install a license key after they download and install  the product.  They have also eliminated a Microsoft Visio dependency from their product.  Removing the license requirement and Visio dependency has made download and installation much easier.</p>
<p style="text-align:justify;">Once you get past the download and install process, you are greeted by a clean and familiar UI, which feels natural to most users of Windows applications, such as Microsoft Office.  The 3.2 release also introduces an error handling framework, a new SQL query operator, and type constraints on expressor’s metadata layer, which they calls Semantic Types.  The rest of this article will focus on what these three enhancements mean to users.</p>
<p style="text-align:justify;">A welcome addition to expressor’s ETL software is the ability to handle data validation errors related to field and record-level processing within an application.  Users can predefine how to handle errors when they occur at the field or record level. There are up to five error handling options, depending on the operation.  Users can simply abort the entire dataflow, skip the offending record entirely, redirect the record to a file or a different branch of the dataflow for additional processing, and skip or reject all remaining records.  The addition of error handling alone is very powerful, but when combined with Semantic Constraints, you can truly appreciate what expressor brings to the data integration world.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/exp321.jpg" alt="" width="500" height="369" /></p>
<p style="text-align:justify;"><em>The expressor Studio error handling framework allows users to redirect invalid records for post-processing.</em></p>
<p style="text-align:justify;">Before we jump into Semantic Type constraints, let me provide you with some high level background on Semantic Types.  Semantic Types are internal to expressor, and they provide a uniform way of expressing data within the application.  When expressor Studio connects to a relational or flat file data source, the application automatically creates an internal Semantic Type for you.  Typically, this is just a direct mapping of your external data format (schema) to their internal format.  Users can also define their own Types and reuse them as shared types across one or more expressor dataflows.  This feature is extremely helpful if your source data changes and you don’t want the changes to affect any subsequent transformations.  Users are able to simply map in new source data to an existing Semantic Type and their application will continue to work as if the source never changed.  The same is true on the target side.</p>
<p style="text-align:justify;">Constraints are simply patterns and rules that you apply to Semantic Types.  For example, you can define rules on how to validate email addresses, birthdays, phone numbers, and SSNs during the mapping process.  Depending on the type of a field, you can specify a regular expression, a min or max value, or allowed values. A replacement value can be specified for use when a constraint definition is not met.  When data does not conform to the constraint and a default value is not used, the error handling framework discussed above manages the erroneous data.</p>
<p style="text-align:justify;">
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/exp323.jpg" alt="" width="500" /></p>
<p style="text-align:justify;"><em> The expressor Semantic Type editor allows users to set constraints for each field attribute.  As shown in the screenshot above, a simple Regular Expression constraint has been set for “email_address” , which rejects all records that do not include an “@” symbol and do not have a “.com” or “.edu” or “.gov” or .”info” extension.</em></p>
<p style="text-align:justify;">Last but not least is the addition of an SQL Query operator.  expressor now enables users to execute their own Select statements on the database prior to extracting any data.  What’s interesting about their implementation is that they are still able to create a schema and a Semantic Type automatically no matter how complex the select query is.  This new operator greatly improves expressor’s ability to selectively extract data from a database and even apply some transformation logic to the data during the extraction process.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/exp324.jpg" alt="" width="500" height="313" /></p>
<p style="text-align:justify;"><em>The editor for the SQL Query operator also users to define SELECT statements.</em></p>
<p style="text-align:justify;">Overall, I am very impressed with how fast expressor is adding functionality to their product.  They are on pace to deliver significant functionally every 60 days.  expressor Studio is a great application for users who want a simplified user interface for building data integration applications.  If you have a data integration or ETL project that involves SQL Server or any other relational database, or if you are like me and like to explore new technologies, then definitely give <strong><a href="http://pages.expressor-software.com/studio-download.html?CH=PA&amp;camp=0008" target="_blank">expressor Studio</a></strong> a try. You can download by clicking this <strong><a href="http://pages.expressor-software.com/studio-download.html?CH=PA&amp;camp=0008" target="_blank">link</a></strong> – and best of all, It’s free.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12863/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12863/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12863/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12863/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12863/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12863/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12863/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12863&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/05/11/sql-server-%e2%80%93-expressor-3-2-release-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/exp321.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/exp323.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/exp324.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; 2008 &#8211; 2008 R2 &#8211; Create Script to Copy Database Schema and All The Objects &#8211; Data, Schema, Stored Procedure, Functions, Triggers, Tables, Views, Constraints and All Other Database Objects</title>
		<link>http://blog.sqlauthority.com/2011/05/07/sql-server-2008-2008-r2-create-script-to-copy-database-schema-and-all-the-objects-data-schema-stored-procedure-functions-triggers-tables-views-constraints-and-all-other-database-objects/</link>
		<comments>http://blog.sqlauthority.com/2011/05/07/sql-server-2008-2008-r2-create-script-to-copy-database-schema-and-all-the-objects-data-schema-stored-procedure-functions-triggers-tables-views-constraints-and-all-other-database-objects/#comments</comments>
		<pubDate>Sat, 07 May 2011 01:30:55 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12819</guid>
		<description><![CDATA[Quite often I get the request regarding how to copy all the objects &#8211; including schema and data from any database and re-create it on another instance. SQL Server 2008 and SQL Server 2008 R2 has script generator wizard which does it for us. I ask you to pay special attention to image #5. After [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12819&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Quite often I get the request regarding how to copy all the objects &#8211; including schema and data from any database and re-create it on another instance.</p>
<p style="text-align:justify;">SQL Server 2008 and SQL Server 2008 R2 has script generator wizard which does it for us. I ask you to pay special attention to image #5.</p>
<p style="text-align:justify;">After the script is generated, the next challenge often users face is how to execute this large script as SQL Server Management Studio does not open the file. One can use SQLCMD for the same. See that in the last image of this post.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/dswizard1.jpg" alt="" width="500" height="680" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/dswizard2.jpg" alt="" width="500" height="464" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/dswizard3.jpg" alt="" width="500" height="464" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/dswizard4.jpg" alt="" width="500" height="464" /></p>
<p style="text-align:justify;"><strong>Pay attention to the option Types of data to script &#8211; select option &#8216;Schema and data&#8217;</strong></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/dswizard5.jpg" alt="" width="479" height="425" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/dswizard6.jpg" alt="" width="500" height="464" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/dswizard7.jpg" alt="" width="500" height="464" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/dswizard8.jpg" alt="" width="500" height="464" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/dswizard9.jpg" alt="" width="500" height="464" /></p>
<p style="text-align:justify;">As the file with data will be very large, use SQLCMD to execute the large script which will create database with schema &amp; data.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/dswizard10.jpg" alt="" width="505" height="170" /></p>
<p style="text-align:justify;">Please let me know if you have any question or suggestion on this blog post.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12819/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12819&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/05/07/sql-server-2008-2008-r2-create-script-to-copy-database-schema-and-all-the-objects-data-schema-stored-procedure-functions-triggers-tables-views-constraints-and-all-other-database-objects/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/dswizard1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/dswizard2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/dswizard3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/dswizard4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/dswizard5.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/dswizard6.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/dswizard7.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/dswizard8.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/dswizard9.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/dswizard10.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER – expressor Studio Includes Powerful Scripting Capabilities</title>
		<link>http://blog.sqlauthority.com/2011/04/11/sql-server-%e2%80%93-expressor-studio-includes-powerful-scripting-capabilities/</link>
		<comments>http://blog.sqlauthority.com/2011/04/11/sql-server-%e2%80%93-expressor-studio-includes-powerful-scripting-capabilities/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 01:30:35 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12535</guid>
		<description><![CDATA[One of the major problems in developing a data integration application is writing transformation code.  Many tools try to meet this need by providing a large number of operators that minimize coding through configuration. Specialized operators are fine for basic transformations, but most ETL transformations require logic specific to the particular application.  For that, tools [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12535&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">One of the major problems in developing a data integration application is writing transformation code.  Many tools try to meet this need by providing a large number of operators that minimize coding through configuration.</p>
<p style="text-align:justify;">Specialized operators are fine for basic transformations, but most ETL transformations require logic specific to the particular application.  For that, tools resort to full featured coding tools such as Microsoft Visual Studio.  expressor software has taken a different approach.  The expressor Studio tool provides a light-weight scripting language called expressor Datascript and integrates an editing environment into each programmable operator. These tools allow development of transformation scripts of any level of complexity within the same interface.</p>
<p style="text-align:justify;">As with any powerful programming language, expressor Datascript includes the ability to define and initialize variables, to control logic through if..then..else, while..do, repeat..until structures, to repeatedly run a block of code within a for loop, and to manipulate complex data formats. Extensive documentation for beginning to advanced programmers makes it easy to write specialized functions and to use the many functions built into expressor Datascript.</p>
<p style="text-align:justify;">The <strong><a href="http://www.pinaldave.com/bimg/ec2.jpg" target="_blank">expressor Studio</a></strong> interface simplifies script writing by putting functions and expression operators at the user’s fingertips in the Transform Editor.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/ec1.jpg" alt="" width="624" height="269" /></p>
<p style="text-align:justify;">Visual mapping aids creation of transformations, and the pre-structured assignment statement provides a starting point for the script. The expressor Studio also includes type-completion features to make it even easier to select and layout scripts.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/ec2.jpg" alt="" width="624" height="267" /></p>
<p style="text-align:justify;">Using expressor Datascript’s built-in functions, complex transformations can be written in the assignment statement. For example, this conditional statement uses the expressor Datascript decision function to perform multiple comparisons similar to an if..elseif..else code block.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/ec3.jpg" alt="" width="588" height="87" /></p>
<p style="text-align:justify;">Despite its complexity, this above statement was written entirely by selecting function names from drop down lists and simply entering the arguments to each of the nested functions.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/ec4.jpg" alt="" width="624" height="110" /></p>
<p style="text-align:justify;">The expressor Transform Editor also provides a pallet for writing customized functions and script structures that cannot be written, or the user does not want to write, in a single statement.</p>
<p style="text-align:justify;">expressor’s scripting capabilities are quite powerful and available as part of their free <strong><a href="http://pages.expressor-software.com/studio-download.html?CH=PA&amp;camp=0008">expressor Studio</a></strong> application.   I encourage you to check out expressor’s product if you haven’t done so already.</p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12535/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12535/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12535/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12535/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12535/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12535/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12535/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12535/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12535/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12535/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12535/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12535/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12535/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12535/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12535&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/04/11/sql-server-%e2%80%93-expressor-studio-includes-powerful-scripting-capabilities/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/ec1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/ec2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/ec3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/ec4.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Running Multiple Batch Files Together in Parallel</title>
		<link>http://blog.sqlauthority.com/2011/03/06/sql-server-running-multiple-batch-files-together-in-parallel/</link>
		<comments>http://blog.sqlauthority.com/2011/03/06/sql-server-running-multiple-batch-files-together-in-parallel/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 01:30:15 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12151</guid>
		<description><![CDATA[Recently I was preparing a demo for my next technical session, I had to do run a SQL code in parallel. I decided to use Batch File to run the code. I am not the best guy to with command shell so I did it with following setup. Code of tsql.sql SELECT 1 ColumnName Code [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12151&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Recently I was preparing a demo for my next technical session, I had to do run a SQL code in parallel. I decided to use Batch File to run the code.</p>
<p style="text-align:justify;">I am not the best guy to with command shell so I did it with following setup.</p>
<p style="text-align:justify;"><strong>Code of tsql.sql</strong></p>
<p style="text-align:justify;">SELECT 1 ColumnName</p>
<p style="text-align:justify;"><strong>Code of command.bat</strong></p>
<p style="text-align:justify;">sqlcmd -S . -i tsql.sql<br />
timeout 100</p>
<p style="text-align:justify;"><strong>Code of  AllBatch.bat</strong></p>
<p style="text-align:justify;">start cmd.exe /C &#8220;command.bat&#8221;<br />
start cmd.exe /C &#8220;command.bat&#8221;<br />
start cmd.exe /C &#8220;command.bat&#8221;</p>
<p style="text-align:justify;">Now I ran AllBatch.bat and it run all the three files in parallel and simulated my needed scenario.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/multicmd.JPG" alt="" width="532" height="472" /></p>
<p style="text-align:justify;">I believe there should be simpler way using power-shell. Anybody want to come up with equivalent code which is improvement to this code?</p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12151/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12151&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/03/06/sql-server-running-multiple-batch-files-together-in-parallel/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/multicmd.JPG" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; SQL Server 2008 Add-ins and Feature Pack Downloads</title>
		<link>http://blog.sqlauthority.com/2010/10/09/sqlauthority-news-sql-server-2008-add-ins-and-feature-pack-downloads/</link>
		<comments>http://blog.sqlauthority.com/2010/10/09/sqlauthority-news-sql-server-2008-add-ins-and-feature-pack-downloads/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 01:30:55 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Download]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=10455</guid>
		<description><![CDATA[Here are few of the latest Microsoft Add-ins and downloads recently announced. SQL Server Reporting Services Add-in for SharePoint Technologies The Microsoft SQL Server 2008 SP2 Reporting Services Add-in for Microsoft SharePoint Technologies is a Web download that provides features for running a report server within a larger deployment of Windows SharePoint Services 3.0 or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=10455&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Here are few of the latest Microsoft Add-ins and downloads recently announced.</p>
<p style="text-align:justify;"><a id="ctl00_ctl14_ResultsListView_ctrl6_DownloadAnchor" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=35c3a13f-4b5e-4d4a-86e4-07ee307b9638">SQL Server Reporting Services Add-in for SharePoint Technologies</a></p>
<div id="ctl00_ctl14_ResultsListView_ctrl6_DownloadDiv" style="text-align:justify;">The  Microsoft SQL Server 2008 SP2 Reporting Services Add-in for Microsoft  SharePoint Technologies is a Web download that provides features for  running a report server within a larger deployment of Windows SharePoint  Services 3.0 or Microsoft Office SharePoint Server 2007.</div>
<div style="text-align:justify;"></div>
<div style="text-align:justify;"><a id="ctl00_ctl14_ResultsListView_ctrl4_DownloadAnchor" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a42c6fa1-2ee8-43b5-a0e2-cd30d0323ca3">SQL Server Data Mining Add-ins for Office 2007</a></p>
<div id="ctl00_ctl14_ResultsListView_ctrl4_DownloadDiv">Download  SQL Server 2008 Data Mining Add-ins for Office 2007.  This package  includes two add-ins for Microsoft Office Excel 2007 (Table Analysis  Tools and Data Mining Client) and one add-in for Microsoft Office Visio  2007 (Data Mining Templates).</p>
</div>
</div>
<div style="text-align:justify;"><a id="ctl00_ctl14_ResultsListView_ctrl3_DownloadAnchor" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1b2bd555-cb5b-47b9-88c7-3f89f3b43779">Microsoft SQL Server 2008 SP2 Feature Pack</a></p>
<div id="ctl00_ctl14_ResultsListView_ctrl3_DownloadDiv">Download  the Microsoft SQL Server 2008 SP2 Feature Pack, a collection os  stand-alone install packages that provide additional value for SQL  Server 2008 SP2.</div>
<div></div>
</div>
<div style="text-align:justify;"><a id="ctl00_ctl14_ResultsListView_ctrl1_DownloadAnchor" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=bdd888fa-779f-480c-a85f-7d70b179e3b9">Microsoft SQL Server 2008 SP2 Upgrade Advisor</a></p>
<div id="ctl00_ctl14_ResultsListView_ctrl1_DownloadDiv">Download  the Microsoft SQL Server 2008 Upgrade Advisor.  Upgrade Advisor  analyzes instances of SQL Server 2000 and SQL Server 2005 to help you  prepare for upgrades to SQL Server 2008.</p>
</div>
<div>Reference: <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>), </strong>MSDN Page</div>
</div>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-download/'>SQL Download</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/10455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/10455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/10455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/10455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/10455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/10455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/10455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/10455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/10455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/10455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/10455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/10455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/10455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/10455/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=10455&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/10/09/sqlauthority-news-sql-server-2008-add-ins-and-feature-pack-downloads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER – Get Query Running in Session</title>
		<link>http://blog.sqlauthority.com/2010/10/01/sql-server-get-query-running-in-session/</link>
		<comments>http://blog.sqlauthority.com/2010/10/01/sql-server-get-query-running-in-session/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 01:30:01 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL System Table]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=10346</guid>
		<description><![CDATA[I was recently looking for syntax where I needed a query running in any particular session. I always remembered the syntax and ha d actually written it down before, but somehow it was not coming to mind quickly this time. I searched online and I ended up on my own article written last year SQL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=10346&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I was recently looking for syntax where I needed a query running in any particular session. I always remembered the syntax and ha d actually written it down before, but somehow it was not coming to mind quickly this time. I searched online and I ended up on my own article written last year <a href="http://blog.sqlauthority.com/2009/07/19/sql-server-get-last-running-query-based-on-spid/" target="_blank"><strong>SQL SERVER – Get Last Running Query Based on SPID</strong></a>. I felt that I am getting old because I forgot this really simple syntax.</p>
<p style="text-align:justify;">This post is a refresher to me. I knew it was something so familiar since I have used this syntax so many times during my <a href="http://blog.sqlauthority.com/sql-server-performance-tuning/" target="_blank"><strong>performance tuning project</strong></a>.</p>
<p style="text-align:justify;">Run the following query to find out what the latest query that was executed in the session. There are various methods mentioned in my earlier post, so here I am picking only the one that I use most of the time.</p>
<p style="text-align:justify;">Please use Shortcut &#8211; CTRL+T or enable &#8220;result to text&#8221; in the resultset to get formatted output.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">DECLARE </span><span style="color:#434343;">@sqltext </span><span style="color:blue;">VARBINARY</span><span style="color:gray;">(</span><span style="color:black;">128</span><span style="color:gray;">)<br />
</span><span style="color:blue;">SELECT </span><span style="color:#434343;">@sqltext </span><span style="color:blue;">= </span><span style="color:black;">sql_handle<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.sysprocesses<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">spid </span><span style="color:blue;">= </span><span style="color:black;">(YourSessionID)<br />
</span><span style="color:blue;">SELECT TEXT<br />
FROM </span><span style="color:black;">sys.dm_exec_sql_text</span><span style="color:gray;">(</span><span style="color:#434343;">@sqltext</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span></code></p>
<p style="text-align:justify;">You can find a range of active session IDs in your system by running system stored procedure sp_who2.</p>
<p style="text-align:justify;">The following is the resultset where I have selected the session id that is the same as from where I am running above statement.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sysprocesses.jpg" alt="" width="418" height="353" /></p>
<p style="text-align:justify;">Additionally, you can use following T-SQL script as well.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">SELECT TEXT<br />
FROM </span><span style="color:black;">sys.dm_exec_connections<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY sys.dm_exec_sql_text</span><span style="color:gray;">(</span><span style="color:black;">most_recent_sql_handle</span><span style="color:gray;">)<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">session_id </span><span style="color:blue;">= </span><span style="color:gray;">(</span><span style="color:black;">yoursessionID</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO</span></code></p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/sql-system-table/'>SQL System Table</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/10346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/10346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/10346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/10346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/10346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/10346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/10346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/10346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/10346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/10346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/10346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/10346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/10346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/10346/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=10346&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/10/01/sql-server-get-query-running-in-session/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sysprocesses.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; SQL Server Monitoring Management Pack Download</title>
		<link>http://blog.sqlauthority.com/2010/08/09/sqlauthority-news-sql-server-monitoring-management-pack-download/</link>
		<comments>http://blog.sqlauthority.com/2010/08/09/sqlauthority-news-sql-server-monitoring-management-pack-download/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 01:30:01 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Download]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9814</guid>
		<description><![CDATA[Microsoft has SQL Server Health monitoring tool, which I have noticed that many of us do not give it a try. Microsoft has released Monitoring management pack download recently and it does plenty of the task, which normally one would like to do. Instead of going for third party tool, I suggest you give it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=9814&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Microsoft has SQL Server Health monitoring tool, which I have noticed that many of us do not give it a try. Microsoft has released Monitoring management pack download recently and it does plenty of the task, which normally one would like to do. Instead of going for third party tool, I suggest you give it a try.</p>
<p style="text-align:justify;">Following text is produced directly from original MSDN page from <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363" target="_blank">here</a>.</p>
<p style="padding-left:30px;text-align:justify;">The SQL Server Management Pack provides the capabilities for  Operations Manager 2007 SP1 and R2 to discover SQL Server 2005, 2008,  and 2008 R2.  It monitors SQL Server components such as database engine  instances, databases, and SQL Server agents.</p>
<p style="text-align:justify;">The monitoring provided by this management pack includes performance,  availability, and configuration monitoring, performance data collection,  and default thresholds. You can integrate the monitoring of SQL Server  components into your service-oriented monitoring scenarios.</p>
<p style="text-align:justify;">In addition to health monitoring capabilities, this management pack  includes dashboard views, extensive knowledge with embedded inline  tasks, and views that enable near real-time diagnosis and resolution of  detected issues.</p>
<p style="text-align:justify;"><strong><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363" target="_blank">Download SQL Server Monitoring Management Pack Download</a></strong></p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-documentation/'>SQL Documentation</a>, <a href='http://blog.sqlauthority.com/category/sql-download/'>SQL Download</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/9814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/9814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/9814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/9814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/9814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/9814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/9814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/9814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/9814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/9814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/9814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/9814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/9814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/9814/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=9814&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/08/09/sqlauthority-news-sql-server-monitoring-management-pack-download/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Introduction to Best Practices Analyzer &#8211; Quick Tutorial</title>
		<link>http://blog.sqlauthority.com/2010/07/01/sql-server-introduction-to-best-practices-analyzer-quick-tutorial/</link>
		<comments>http://blog.sqlauthority.com/2010/07/01/sql-server-introduction-to-best-practices-analyzer-quick-tutorial/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 01:30:07 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9404</guid>
		<description><![CDATA[I previously wrote about SQLAuthority News – Download – Microsoft SQL Server 2008 R2 Best Practices Analyzer earlier and since then I have received many emails requesting to explain how it works. I assume that you can download and install the tool successfully. Once done just follow the steps listed below. You will be successfully [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=9404&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I previously wrote about <strong><a href="http://blog.sqlauthority.com/2010/06/25/sqlauthority-news-download-microsoft-sql-server-2008-r2-best-practices-analyzer/" target="_blank">SQLAuthority News – Download – Microsoft SQL Server 2008 R2 Best Practices Analyzer</a></strong> earlier and since then I have received many emails requesting to explain how it works. I assume that you can download and install the tool successfully. Once done just follow the steps listed below. You will be successfully able to test multiple instances of SQL Server using this tool.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/bpa1.jpg" alt="" width="500" height="371" /></p>
<p style="text-align:justify;">Once the tool is launched, select the product you wish to analysis.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/bpa2.jpg" alt="" width="479" height="278" /></p>
<p style="text-align:justify;">Click on Start Scan will take few minutes to analysis the server.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/bpa3.jpg" alt="" width="463" height="302" /></p>
<p style="text-align:justify;">Select the appropriate features to include the analysis in report. I have just selected Engine over here.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/bpa4.jpg" alt="" width="501" height="486" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/bpa5.jpg" alt="" width="451" height="246" /></p>
<p style="text-align:justify;">Once the analysis is over it will bring three different tabs. Expand the tabs to see your desired results.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/bpa6.jpg" alt="" width="497" height="265" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/bpa7.jpg" alt="" width="498" height="394" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/bpa8.jpg" alt="" width="436" height="418" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/bpa9.jpg" alt="" width="478" height="442" /></p>
<p style="text-align:justify;">You can further double-click on error screen and see more details about analysis. It also lists few added links for further reading.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/bpa10.jpg" alt="" width="501" height="226" /></p>
<p style="text-align:justify;">You can also export the report in XML format and save it for further usage.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/bpa11.jpg" alt="" width="500" height="467" /></p>
<p style="text-align:justify;">Let me know what your thoughts about this tool.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/9404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/9404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/9404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/9404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/9404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/9404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/9404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/9404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/9404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/9404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/9404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/9404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/9404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/9404/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=9404&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/07/01/sql-server-introduction-to-best-practices-analyzer-quick-tutorial/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/bpa1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/bpa2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/bpa3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/bpa4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/bpa5.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/bpa6.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/bpa7.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/bpa8.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/bpa9.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/bpa10.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/bpa11.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Guest Post &#8211; Performance Counters Gathering using Powershell</title>
		<link>http://blog.sqlauthority.com/2010/05/30/sqlauthority-news-guest-post-performance-counters-gathering-using-powershell/</link>
		<comments>http://blog.sqlauthority.com/2010/05/30/sqlauthority-news-guest-post-performance-counters-gathering-using-powershell/#comments</comments>
		<pubDate>Sun, 30 May 2010 01:30:01 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9105</guid>
		<description><![CDATA[Laerte Junior Laerte Junior has previously helped me personally to resolve the issue with Powershell installation on my computer. He did awesome job to help. He has send this another wonderful article regarding performance counter for readers of this blog. I really liked it and I expect all of you who are Powershell geeks, you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=9105&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">
<p style="text-align:justify;">
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignleft">
<dt class="wp-caption-dt"><img style="margin:5px;" title="Laerte Junior" src="http://www.pinaldave.com/bimg/Laerte1.jpg" alt="Laerte Junior" width="210" height="214" /></dt>
<dd class="wp-caption-dd">Laerte Junior</dd>
</dl>
</div>
<p style="text-align:justify;">
<p style="text-align:justify;">Laerte Junior has previously helped me personally to resolve the issue with Powershell installation on my computer. He did awesome job to help. He has send this another wonderful article regarding performance counter for readers of this blog. I really liked it and I expect all of you who are Powershell geeks, you will like the same as well.</p>
<p style="text-align:justify;">As a good DBA, you know that our social life is restricted to a few movies over the year and, when possible, a pizza in a restaurant next to your company&#8217;s place, of course.</p>
<p style="text-align:justify;">So what we have to do is to create methods through which we can facilitate our daily processes to go home early, and eventually have a nice time with our family (and not sleeping on the couch).</p>
<p style="text-align:justify;">As a consultant or fixed employee, one of our daily tasks is to monitor performance counters using Perfmom. To be honest, IDE is getting more complicated. To deal with this, I thought a solution using Powershell. Yes, with some lines of Powershell, you can configure which counters to use. And with one more line, you can already start collecting data. Let’s see one scenario:</p>
<p style="text-align:justify;">You are a consultant who has several clients and has just closed another project in troubleshooting an SQL Server environment.</p>
<p style="text-align:justify;">You are to use Perfmom to collect data from the server and you already have its XML configuration files made with the counters that you will be using- a file for memory bottleneck f, one for CPU, etc.</p>
<p style="text-align:justify;">With one Powershell command line for each XML file, you start collecting. The output of such a TXT file collection is set to up in an SQL Server. With two lines of command for each XML, you make the whole process of data collection.</p>
<p style="text-align:justify;">Creating an XML configuration File to Memory Counters:</p>
<p style="text-align:justify;"><code>Get-PerfCounterCategory <em>-CategoryName</em> "Memory" | Get-PerfCounterInstance  | Get-PerfCounterCounters |Save-ConfigPerfCounter <em>-PathConfigFile</em> "c:\temp\ConfigfileMemory.xml" -newfile</code></p>
<p style="text-align:justify;">Creating an XML Configuration File to Buffer Manager, counters Page lookups/sec, Page reads/sec, Page writes/sec, Page life expectancy:</p>
<p style="text-align:justify;"><code>Get-PerfCounterCategory <em>-CategoryName</em> "SQLServer:Buffer Manager" | Get-PerfCounterInstance | Get-PerfCounterCounters <em>-CounterName</em> "Page*" | Save-ConfigPerfCounter <em>-PathConfigFile</em> "c:\temp\BufferManager.xml" <em>–NewFile</em></code></p>
<p style="text-align:justify;">Then you start the collection:</p>
<p style="text-align:justify;"><code>Set-CollectPerfCounter <em>-DateTimeStart</em> "05/24/2010 08:00:00" <em>-DateTimeEnd</em> "05/24/2010 22:00:00" <em>-Interval</em> 10 <em>-PathConfigFile</em> c:\temp\ConfigfileMemory.xml <em>-PathOutputFile</em> c:\temp\ConfigfileMemory.txt</code></p>
<p style="text-align:justify;">To let the Buffer Manager collect, you need one more counters, including the Buffer cache hit ratio.</p>
<p style="text-align:justify;">Just add a new counter to BufferManager.xml, omitting the new file parameter</p>
<p style="text-align:justify;"><code>Get-PerfCounterCategory <em>-CategoryName</em> "SQLServer:Buffer Manager" | Get-PerfCounterInstance | Get-PerfCounterCounters <em>-CounterName</em> "Buffer cache hit ratio" | Save-ConfigPerfCounter <em>-PathConfigFile</em> "c:\temp\BufferManager.xml"</code></p>
<p style="text-align:justify;">And start the collection:</p>
<p style="text-align:justify;"><code>Set-CollectPerfCounter <em>-DateTimeStart</em> "05/24/2010 08:00:00" <em>-DateTimeEnd</em> "05/24/2010 22:00:00" <em>-Interval</em> 10 <em>-PathConfigFile</em> c:\temp\BufferManager.xml <em>-PathOutputFile</em> c:\temp\BufferManager.txt</code></p>
<p style="text-align:justify;">You do not know which counters are in the Category Buffer Manager? Simple!</p>
<p style="text-align:justify;"><code>Get-PerfCounterCategory <em>-CategoryName</em> "SQLServer:Buffer Manager" | Get-PerfCounterInstance | Get-PerfCounterCounters</code></p>
<p style="text-align:justify;">Let’s see one output file as shown below. It is ready to bulk insert into the SQL Server.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/Notepad.jpg" alt="" width="496" height="117" /></p>
<p style="text-align:justify;">As you can see, Powershell makes this process incredibly easy and fast. Do you want to see more examples? Visit my blog at <a href="http://laertejuniordba.spaces.live.com/blog/cns%21C16042A4306A1328%211406.entry">Shell Your Experience</a></p>
<p style="text-align:justify;">You can find more about Laerte Junior over here:</p>
<ul style="text-align:justify;">
<li><a href="http://www.laertejuniordba.spaces.live.com" target="_blank">www.laertejuniordba.spaces.live.com</a></li>
<li><a href="http://www.simple-talk.com/author/laerte-junior" target="_blank">www.simple-talk.com/author/laerte-junior</a></li>
<li><a href="http://www.twitter.com/laertejuniordba" target="_blank">www.twitter.com/laertejuniordba</a></li>
<li><a href="http://sqlpsx.codeplex.com/" target="_blank">SQL Server Powershell Extension Team: http://sqlpsx.codeplex.com/</a></li>
</ul>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/sql-add-on/'>SQL Add-On</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a> Tagged: <a href='http://blog.sqlauthority.com/tag/powershell/'>Powershell</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/9105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/9105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/9105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/9105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/9105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/9105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/9105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/9105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/9105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/9105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/9105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/9105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/9105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/9105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=9105&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/05/30/sqlauthority-news-guest-post-performance-counters-gathering-using-powershell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/Laerte1.jpg" medium="image">
			<media:title type="html">Laerte Junior</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/Notepad.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Retrieve and Explore Database Backup without Restoring Database &#8211; Idera virtual database</title>
		<link>http://blog.sqlauthority.com/2010/04/06/sql-server-retrieve-and-explore-database-backup-without-restoring-database-idera-virtual-database/</link>
		<comments>http://blog.sqlauthority.com/2010/04/06/sql-server-retrieve-and-explore-database-backup-without-restoring-database-idera-virtual-database/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 01:30:28 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Backup and Restore]]></category>
		<category><![CDATA[SQL Data Storage]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Idera]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8172</guid>
		<description><![CDATA[I recently downloaded Idera’s SQL virtual database, and tested it. There are a few things about this tool which caught my attention. My Scenario It is quite common in real life that sometimes observing or retrieving older data is necessary; however, it had changed as time passed by. The full database backup was 40 GB [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=8172&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I recently downloaded Idera’s SQL <a href="http://www.idera.com/?s=BN_SQLAuth" target="_blank"><strong>virtual database</strong></a>, and tested it. There are a few things about this tool which caught my attention.</p>
<p style="text-align:justify;"><strong>My Scenario</strong></p>
<p style="text-align:justify;">It is quite common in real life that sometimes observing or retrieving older data is necessary; however, it had changed as time passed by. The full database backup was 40 GB in size, and, to restore it on our production server, it usually takes around 16 to 22 minutes, depending on the load server that is usually present. This range in time varies from one server to another as per the configuration of the computer. Some other issues we used to have are the following:</p>
<ol style="text-align:justify;">
<li>When we try to restore a large 40-GB database, we needed at      least that much space on our production server.</li>
<li>Once in a while, we even had to make changes in the restored      database, and use the said changed and restored database for our purpose,      making it more time-consuming.</li>
</ol>
<p style="text-align:justify;"><strong>My Solution</strong></p>
<p style="text-align:justify;">I have heard a lot about the Idera’s SQL <a href="http://www.idera.com/?s=BN_SQLAuth" target="_blank"><strong>virtual database</strong></a> tool.. Well, right after we started to test this tool, we found out that it really delivers what it promises. Using this software was very easy and we were able to restore our database from backup in less than 2 minutes, sparing us from the usual longer time of 16–22 minutes. The needful was finished in a total of 10 minutes. Another interesting observation is that there is no need to have an additional space for restoring the database. For complete database restoration, the single additional MB on the drive is not required anymore. We can use the database in the same way as our regular database, and there is no need for any additional configuration and setup.</p>
<p style="text-align:justify;">Let us look at the most relevant points of this product based on my initial experience:</p>
<ul style="text-align:justify;">
<li>Quick restoration of the database backup</li>
<li>No additional space required for database restoration</li>
<li>virtual database has no physical .MDF or .LDF</li>
<li>The database which is restored is, in fact, the backup file      converted in the virtual database. DDL and DML queries can be executed      against this virtually restored database.</li>
<li>Regular backup operation can be implemented against virtual      database, creating a physical .bak file that can be used for future use.</li>
<li>There was no observed degradation in performance on the      original database as well the restored virtual database.</li>
<li>Additional T-SQL queries can be let off on the virtual database.</li>
</ul>
<p style="text-align:justify;">Well, this summarizes my quick review. And, as I was saying, I am very impressed with the product and I plan to explore it more. There are many features that I have noticed in this tool, which I think can be very useful if properly understood.</p>
<p style="text-align:justify;">I had taken a few screenshots using my demo database afterwards. Let us see what other things this tool can do besides the mentioned activities. I am surprised with its performance so I want to know how exactly this feature works, specifically in the matter of why it does not create any additional files and yet, it still allows update on the virtually restored database. I guess I will have to send an e-mail to the developers of Idera and try to figure this out from them.</p>
<p style="text-align:justify;">I think this tool is very useful, and it delivers a high level of performance way more than what I expected. Soon, I will write a review for additional uses of SQL virtual database.. If you are using SQL virtual database in your production environment, I am eager to learn more about it and your experience while using it.</p>
<p style="text-align:justify;"><strong>The &#8216;Virtual&#8217; Part of virtual database</strong></p>
<p style="text-align:justify;">When I set out to test this software, I thought virtual database had something to do with Hyper-V or visualization. In fact, the virtual database is a kind of database which shows up in your SQL Server Management Studio without actually restoring or even creating it. This tool creates a database in SSMS from the backup of the same database. The backup, however, works virtually the same way as original database.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/virtualdb1.jpg" alt="" width="395" height="254" /></p>
<p style="text-align:justify;"><strong><em>Potential Usage of virtual database:</em></strong></p>
<p style="text-align:justify;">As soon as I described this tool to my teammate, I think his very first reaction was, “hey, if we have this then there is no need for log shipping.” I find his comment very interesting as log shipping is something where logs are moved to another server. In fact, there are no updates on the database from log; I would rather compare it with Snapshot Replication. In fact, whatever we use, snapshot replicated database can be similarly used and configured with virtual database. I totally believe that we can use it for reporting purpose. In fact, after this database was configured, I think the uses of this tool are unlimited. I will have to spend some more time studying it and will get back to you.</p>
<p style="text-align:justify;"><em><strong>Click on images to see larger images.</strong></em></p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a title="virtual database Console" href="http://www.pinaldave.com/bimg/idera/vdb1.jpg"><img title="virtual database Console" src="http://www.pinaldave.com/bimg/idera/vdb1.jpg" alt="" width="500" height="309" /></a></dt>
<dd class="wp-caption-dd">virtual database Console</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a title="Harddrive Space before virtual database Setup" href="http://www.pinaldave.com/bimg/idera/vdb2.jpg"><img class=" " title="Harddrive Space before virtual database Setup" src="http://www.pinaldave.com/bimg/idera/vdb2.jpg" alt="" width="500" height="100" /></a></dt>
<dd class="wp-caption-dd">Harddrive Space before virtual database Setup</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a title="Attach Full Backup Screen" href="http://www.pinaldave.com/bimg/idera/vdb3.jpg"><img title="Attach Full Backup Screen" src="http://www.pinaldave.com/bimg/idera/vdb3.jpg" alt="" width="500" height="224" /></a></dt>
<dd class="wp-caption-dd">Attach Full Backup Screen</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a title="Backup on Harddrive" href="http://www.pinaldave.com/bimg/idera/vdb4.jpg"><img title="Backup on Harddrive" src="http://www.pinaldave.com/bimg/idera/vdb4.jpg" alt="" width="501" height="397" /></a></dt>
<dd class="wp-caption-dd">Backup on Harddrive</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a title="Attach Full Backup Screen with Settings" href="http://www.pinaldave.com/bimg/idera/vdb5.jpg"><img title="Attach Full Backup Screen with Settings" src="http://www.pinaldave.com/bimg/idera/vdb5.jpg" alt="" width="500" height="224" /></a></dt>
<dd class="wp-caption-dd">Attach Full Backup Screen with Settings</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a title="virtual database Setup - less than 60 sec" href="http://www.pinaldave.com/bimg/idera/vdb6.jpg"><img title="virtual database Setup - less than 60 sec" src="http://www.pinaldave.com/bimg/idera/vdb6.jpg" alt="" width="499" height="307" /></a></dt>
<dd class="wp-caption-dd">virtual database Setup &#8211; less than 60 sec</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a title="virtual database Setup - Online" href="http://www.pinaldave.com/bimg/idera/vdb7.jpg"><img title="virtual database Setup - Online" src="http://www.pinaldave.com/bimg/idera/vdb7.jpg" alt="" width="501" height="311" /></a></dt>
<dd class="wp-caption-dd">virtual database Setup &#8211; Online</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a title="Harddrive Space after virtual database Setup" href="http://www.pinaldave.com/bimg/idera/vdb2.jpg"><img title="Harddrive Space after virtual database Setup" src="http://www.pinaldave.com/bimg/idera/vdb2.jpg" alt="" width="500" height="100" /></a></dt>
<dd class="wp-caption-dd">Harddrive Space after virtual database Setup</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a title="Point in Time Recovery Option - Timeline View" href="http://www.pinaldave.com/bimg/idera/vdb9.jpg"><img title="Point in Time Recovery Option - Timeline View" src="http://www.pinaldave.com/bimg/idera/vdb9.jpg" alt="" width="499" height="328" /></a></dt>
<dd class="wp-caption-dd">Point in Time Recovery Option &#8211; Timeline View</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a title="virtual database Summary" href="http://www.pinaldave.com/bimg/idera/vdb10.jpg"><img title="virtual database Summary" src="http://www.pinaldave.com/bimg/idera/vdb10.jpg" alt="" width="499" height="327" /></a></dt>
<dd class="wp-caption-dd">virtual database Summary</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a title="No Performance Difference between Regular DB vs Virtual DB" href="http://www.pinaldave.com/bimg/idera/vdb11.jpg"><img title="No Performance Difference between Regular DB vs Virtual DB" src="http://www.pinaldave.com/bimg/idera/vdb11.jpg" alt="" width="500" height="472" /></a></dt>
<dd class="wp-caption-dd">No Performance Difference between Regular DB vs Virtual DB</dd>
</dl>
</div>
<p style="text-align:justify;">Please note that all SQL Server MVP gets free license of this software.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>), Idera (</strong><a href="http://www.idera.com/?s=BN_SQLAuth" target="_blank"><strong>virtual database</strong></a>)</p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/sql-add-on/'>SQL Add-On</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-backup-and-restore/'>SQL Backup and Restore</a>, <a href='http://blog.sqlauthority.com/category/sql-data-storage/'>SQL Data Storage</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a> Tagged: <a href='http://blog.sqlauthority.com/tag/idera/'>Idera</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/8172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/8172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/8172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/8172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/8172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/8172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/8172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/8172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/8172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/8172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/8172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/8172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/8172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/8172/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=8172&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/04/06/sql-server-retrieve-and-explore-database-backup-without-restoring-database-idera-virtual-database/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/virtualdb1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/idera/vdb1.jpg" medium="image">
			<media:title type="html">virtual database Console</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/idera/vdb2.jpg" medium="image">
			<media:title type="html">Harddrive Space before virtual database Setup</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/idera/vdb3.jpg" medium="image">
			<media:title type="html">Attach Full Backup Screen</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/idera/vdb4.jpg" medium="image">
			<media:title type="html">Backup on Harddrive</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/idera/vdb5.jpg" medium="image">
			<media:title type="html">Attach Full Backup Screen with Settings</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/idera/vdb6.jpg" medium="image">
			<media:title type="html">virtual database Setup - less than 60 sec</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/idera/vdb7.jpg" medium="image">
			<media:title type="html">virtual database Setup - Online</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/idera/vdb2.jpg" medium="image">
			<media:title type="html">Harddrive Space after virtual database Setup</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/idera/vdb9.jpg" medium="image">
			<media:title type="html">Point in Time Recovery Option - Timeline View</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/idera/vdb10.jpg" medium="image">
			<media:title type="html">virtual database Summary</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/idera/vdb11.jpg" medium="image">
			<media:title type="html">No Performance Difference between Regular DB vs Virtual DB</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Enable Identity Insert &#8211; Import Expert Wizard</title>
		<link>http://blog.sqlauthority.com/2010/04/04/sql-server-enable-identity-insert-import-expert-wizard/</link>
		<comments>http://blog.sqlauthority.com/2010/04/04/sql-server-enable-identity-insert-import-expert-wizard/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 01:30:53 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8501</guid>
		<description><![CDATA[I recently got an email from an old friend who told me that when he tries to execute the SSIS package, it fails because of some identity error. After a few series of debugging and opening his package, we finally figured out that he has the following problem. Let us see what kind of set-up [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=8501&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I recently got an email from an old friend who told me that when he tries to execute the SSIS package, it fails because of some identity error. After a few series of debugging and opening his package, we finally figured out that he has the following problem.</p>
<p style="text-align:justify;">Let us see what kind of set-up he had on his package.</p>
<p style="text-align:justify;">Source Table with Identity column<br />
Destination Table with Identity column<br />
Following checkbox was disabled in Import Expert Wizard (as per the image below)</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/enableindentityon.jpg" alt="" width="500" height="397" /></p>
<p style="text-align:justify;">To solve this issue, we enabled the checkbox as seen in the above image. This way, we were able to fix the problem.</p>
<p style="text-align:justify;">The reason why he was facing this error is because his destination table had the IDENTITY property which will not allow any kind of insert from the user. This value is automatically generated by the system when new values are inserted in the table. However, when the user manually tries to insert a certain value in the table, it this property stops the action and shows an error.</p>
<p style="text-align:justify;">Enabling the  property <strong><em>&#8220;Enable Identity Insert&#8221;</em></strong> by checking the checkbox allows the values to be inserted in the identity field. This way, the exact identity values are moved from source database to destination table.</p>
<p style="text-align:justify;">Let me know if this blog post is easy to understand, so I can further elaborate the details as necessary.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>),</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/8501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/8501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/8501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/8501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/8501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/8501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/8501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/8501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/8501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/8501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/8501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/8501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/8501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/8501/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=8501&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/04/04/sql-server-enable-identity-insert-import-expert-wizard/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/enableindentityon.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; World Shapefile Download and Upload to Database &#8211; Spatial Database</title>
		<link>http://blog.sqlauthority.com/2010/03/30/sql-server-world-shapefile-download-and-upload-to-database-spatial-database/</link>
		<comments>http://blog.sqlauthority.com/2010/03/30/sql-server-world-shapefile-download-and-upload-to-database-spatial-database/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 01:30:58 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Spatial Database]]></category>
		<category><![CDATA[SQL Spatial]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8446</guid>
		<description><![CDATA[During my recent, training I was asked by a student if I know a place where he can download spatial files for all the countries around the world, as well as if there is a way to upload shape files to a database. Here is a quick tutorial for it. VDS Technologies has all the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=8446&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">During my recent, training I was asked by a student if I know a place where he can download spatial files for all the countries around the world, as well as if there is a way to upload shape files to a database. Here is a quick tutorial for it.</p>
<p style="text-align:justify;"><a href="http://www.vdstech.com/map_data.htm" target="_blank">VDS Technologies</a> has all the spatial files for every location for free. You can download the spatial file from <a href="http://www.vdstech.com/map_data.htm" target="_blank">here</a>. If you cannot find the spatial file you are looking for, please leave a comment here, and I will send you the necessary details. Unzip the file to a folder and it will have the following content.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/spatial1.jpg" alt="" width="392" height="104" /></p>
<p style="text-align:justify;">Then, download <a href="http://www.sharpgis.net/page/Shape2SQL.aspx" target="_blank">Shape2SQL </a>tool from SharpGIS. This is one of the best tools available to convert shapefiles to SQL tables. Afterwards, run the .exe file.</p>
<p style="text-align:justify;">When the file is run for the first time, it will ask for the database properties. Provide your database details.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/spatial2.jpg" alt="" width="360" height="444" /></p>
<p style="text-align:justify;">Select the appropriate shape files and the tool will fill up the essential details automatically. If you do not want to create the index on the column, uncheck the box beside it. The screenshot below is simply explains the procedure. You also have to be careful regarding your data, whether that is GEOMETRY or GEOGRAPHY. In this example,  it is GEOMETRY data.</p>
<p style="text-align:justify;">Click “Upload to Database”. It will show you the uploading process. Once the shape file is uploaded, close the application and open SQL Server Management Studio (SSMS).</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/spatial3.jpg" alt="" width="453" height="400" /></p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/spatial4.jpg" alt="" width="453" height="399" /></p>
<p style="text-align:justify;">Run the following code in SSMS Query Editor.</p>
<p style="text-align:justify;">USE Spatial<br />
GO<br />
SELECT *<br />
FROM dbo.world<br />
GO</p>
<p style="text-align:justify;">This will show the complete map of world after you click on Spatial Results in Spatial Tab.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/spatial5.jpg" alt="" width="500" height="309" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/spatial6.jpg" alt="" width="500" height="357" /></p>
<p style="text-align:justify;">In Spatial Results Set, the Zoom feature is available. From the Select label column, choose the country name in order to show the country name overlaying the country borders.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/spatial7.jpg" alt="" width="500" height="348" /></p>
<p style="text-align:justify;">Let me know if this tutorial is helpful enough. I am planning to write a few more posts about this later.</p>
<p style="text-align:justify;"><strong><em>Note:</em></strong> Please note that the images displayed here do not reflect the original political boundaries. These data are pretty old and can probably draw incorrect maps as well. I have personally spotted several parts of the map where some countries are located a little bit inaccurately.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/sql-add-on/'>SQL Add-On</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a> Tagged: <a href='http://blog.sqlauthority.com/tag/spatial-database/'>Spatial Database</a>, <a href='http://blog.sqlauthority.com/tag/sql-spatial/'>SQL Spatial</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/8446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/8446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/8446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/8446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/8446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/8446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/8446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/8446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/8446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/8446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/8446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/8446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/8446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/8446/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=8446&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/03/30/sql-server-world-shapefile-download-and-upload-to-database-spatial-database/feed/</wfw:commentRss>
		<slash:comments>64</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/spatial1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/spatial2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/spatial3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/spatial4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/spatial5.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/spatial6.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/spatial7.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Generate Report for Index Physical Statistics &#8211; SSMS</title>
		<link>http://blog.sqlauthority.com/2010/03/26/sql-server-generate-report-for-index-physical-statistics-ssms/</link>
		<comments>http://blog.sqlauthority.com/2010/03/26/sql-server-generate-report-for-index-physical-statistics-ssms/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 01:30:54 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8298</guid>
		<description><![CDATA[Few days ago, I wrote about SQL SERVER – Out of the Box – Activity and Performance Reports from SSSMS (Link). A user asked me a question regarding if we can use similar reports to get the detail about Indexes. Yes, it is possible to do the same. There are similar type of reports are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=8298&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Few days ago, I wrote about <strong><a href="http://blog.sqlauthority.com/2010/03/25/sql-server-default-activty-and-performance-reports-from-sssms/" target="_blank">SQL SERVER – Out of the Box – Activity and Performance Reports from SSSMS</a></strong> (Link). A user asked me a question regarding if we can use similar reports to get the detail about Indexes. Yes, it is possible to do the same. There are similar type of reports are available at Database level, just like those available at the Server Instance level. You can right click on Database name and click Reports. Under Standard Reports, you will find following reports.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/indexphys1.jpg" alt="" width="475" height="319" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/indexphys2.jpg" alt="" width="488" height="376" /></p>
<ul style="text-align:justify;">
<li> Disk Usage</li>
<li> Disk Usage by Top Tables</li>
<li> Disk Usage by Table</li>
<li> Disk Usage by Partition</li>
<li> Backup and Restore Events</li>
<li> All Transactions</li>
<li> All Blocking Transactions</li>
<li> Top Transactions by Age</li>
<li> Top Transactions by Blocked Transactions Count</li>
<li> Top Transactions by Locks Count</li>
<li> Resource Locking Statistics by Objects</li>
<li> Object Execute Statistics</li>
<li> Database Consistency history</li>
<li> Index Usage Statistics</li>
<li> Index Physical Statistics</li>
<li> Schema Change history</li>
<li> User Statistics</li>
</ul>
<p style="text-align:justify;">Select the Reports with name Index Physical Statistics. Once click, a report containing all the index names along with other information related to index will be visible, e.g. Index Type and number of partitions.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/indexphys3.jpg" alt="" width="500" height="479" /></p>
<p style="text-align:justify;">One column that caught my interest was Operation Recommended. In some place, it suggested that index needs to be rebuilt. It is also possible to click and expand the column of partitions and see additional details about index as well. DBA and Developers who just want to have idea about how your index is and its physical statistics can use this tool.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Click to Enlarge" src="http://www.pinaldave.com/bimg/indexphys4.jpg" alt="" width="499" height="175" /></dt>
<dd class="wp-caption-dd">Click to Enlarge</dd>
</dl>
</div>
<p style="text-align:justify;"><strong><em>Note:</em></strong> Please note that I will rebuild my indexes just because this report is recommending it. There are many other parameters you need to consider before rebuilding indexes.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/indexphys5.jpg" alt="" width="383" height="225" /></p>
<p style="text-align:justify;">However, this tool gives you the accurate stats of your index and it can be right away exported to Excel or PDF writing by clicking on the report.</p>
<p style="text-align:justify;">Update: As Per <a href="http://www.sqlskills.com/BLOGS/PAUL/" target="_blank">Paul Randal</a> this is un-killable and lots of IO, be careful about using it.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-index/'>SQL Index</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/sql-server-management-studio/'>SQL Server Management Studio</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/8298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/8298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/8298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/8298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/8298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/8298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/8298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/8298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/8298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/8298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/8298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/8298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/8298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/8298/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=8298&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/03/26/sql-server-generate-report-for-index-physical-statistics-ssms/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/indexphys1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/indexphys2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/indexphys3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/indexphys4.jpg" medium="image">
			<media:title type="html">Click to Enlarge</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/indexphys5.jpg" medium="image" />
	</item>
	</channel>
</rss>
