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

<channel>
	<title>Website Builders Resource &#187; SQL Server</title>
	<atom:link href="http://websitebuildersresource.com/category/servers/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://websitebuildersresource.com</link>
	<description>Your Web Development Source</description>
	<lastBuildDate>Mon, 25 Jan 2010 21:53:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Return Single Value with ExecuteScalar, Stored Procedures and C#</title>
		<link>http://websitebuildersresource.com/2008/12/03/return-single-value-with-executescalar-stored-procedures-and-c/</link>
		<comments>http://websitebuildersresource.com/2008/12/03/return-single-value-with-executescalar-stored-procedures-and-c/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 05:43:45 +0000</pubDate>
		<dc:creator>Jason Maletsky</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.websitebuildersresource.com/?p=239</guid>
		<description><![CDATA[A common query is to return a single value from a SQL query such as an aggregate to get the total number of rows in a table. I will show you how to do just that with SQL Server Stored Procedures and C#.
Preparation
You will need some table data to query against. I am using the [...]]]></description>
			<content:encoded><![CDATA[<p>A common query is to return a single value from a SQL query such as an aggregate to get the total number of rows in a table. I will show you how to do just that with SQL Server Stored Procedures and C#.</p>
<h3>Preparation</h3>
<p>You will need some table data to query against. I am using the Northwind sample database. You can get links to download a copy of the sample database and instructions how to install from <a href="http://www.websitebuildersresource.com/2008/12/02/sample-databases-for-sql-server/"><strong>here</strong></a>.</p>
<p>I will be using the following technologies for this demonstration.</p>
<ol>
<li>ASP.NET 2.0</li>
<li>SQL Server Express 2005 &#8211; Code should work with SQL Server versions 2000 and higher</li>
</ol>
<p>For the impatient you can download the entire project <a href="http://www.websitebuildersresource.com/wp-content/uploads/2008/12/executescalar.zip"><strong>here</strong></a>.</p>
<h2>SQL Server</h2>
<h3>Stored Procedure</h3>
<p>Copy the following code into a new stored procecure with SQL Server Management Studio or directly within the Visual Studio Server Explorer.</p>
<p>Stored Procedure: CountCustomers.sql</p>
<pre><code class="mysql">CREATE PROCEDURE dbo.CountCustomers
AS
SELECT COUNT(CustomerID) AS TotalCustomers
FROM Customers</code></pre>
<h2>ASP.NET</h2>
<h3>web.config</h3>
<p>Add the following SQL connection string to your web.config if you already do not have a connection to your database.</p>
<h3>Web Form</h3>
<p>Create a new web site project or a new web form page to an existing web site. Add a label control to display the total number of customers.  Web Form: ExecuteScalar.aspx</p>
<pre><code class="html">Total Number of Customers:</code></pre>
<h3>Code Behind</h3>
<p>Add the following to your using statements.</p>
<pre><code class="csharp">using System.Data.SqlClient;
using System.Web.Configuration;</code></pre>
<p>Place the following within your Page_Load or event you want the count to be displayed.</p>
<pre><code class="csharp">///
/// SQL
/// 

// Open SQL connection
SqlConnection myConnection = new SqlConnection(WebConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ToString());
myConnection.Open();

// Create command
SqlCommand myCommand = new SqlCommand("CountCustomers", myConnection);
myCommand.CommandType = CommandType.StoredProcedure;

// Execute
int totalCustomerCount = Convert.ToInt32(myCommand.ExecuteScalar());

// Close SQL connection
myConnection.Dispose();
myConnection.Close();

///
/// Set control values
/// 

Label1.Text = totalCustomerCount.ToString();</code></pre>
<h2>Output</h2>
<p>You should have the following output.</p>
<p><a href="http://www.websitebuildersresource.com/wp-content/uploads/2008/12/scalar-1.png"><img class="alignnone size-full wp-image-246" title="scalar-1" src="http://www.websitebuildersresource.com/wp-content/uploads/2008/12/scalar-1.png" alt="" width="480" height="296" /></a></p>
<h2>Download</h2>
<p><a href="http://www.websitebuildersresource.com/wp-content/uploads/2008/12/executescalar.zip"><strong>Download the complete project.</strong></a><br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F&amp;title=Return+Single+Value+with+ExecuteScalar%2C+Stored+Procedures+and+C%23"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F&amp;title=Return+Single+Value+with+ExecuteScalar%2C+Stored+Procedures+and+C%23"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F&amp;title=Return+Single+Value+with+ExecuteScalar%2C+Stored+Procedures+and+C%23"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F&amp;headline=Return+Single+Value+with+ExecuteScalar%2C+Stored+Procedures+and+C%23"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Return+Single+Value+with+ExecuteScalar%2C+Stored+Procedures+and+C%23&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Return+Single+Value+with+ExecuteScalar%2C+Stored+Procedures+and+C%23&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Return+Single+Value+with+ExecuteScalar%2C+Stored+Procedures+and+C%23&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Return+Single+Value+with+ExecuteScalar%2C+Stored+Procedures+and+C%23&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Return+Single+Value+with+ExecuteScalar%2C+Stored+Procedures+and+C%23&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F&amp;title=Return+Single+Value+with+ExecuteScalar%2C+Stored+Procedures+and+C%23&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F03%2Freturn-single-value-with-executescalar-stored-procedures-and-c%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2008/12/03/return-single-value-with-executescalar-stored-procedures-and-c/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sample Databases for SQL Server</title>
		<link>http://websitebuildersresource.com/2008/12/02/sample-databases-for-sql-server/</link>
		<comments>http://websitebuildersresource.com/2008/12/02/sample-databases-for-sql-server/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 05:38:03 +0000</pubDate>
		<dc:creator>Jason Maletsky</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[sample databases]]></category>

		<guid isPermaLink="false">http://www.websitebuildersresource.com/?p=254</guid>
		<description><![CDATA[Microsoft provides some sample databases to use to experiment with your code; because you wouldn&#8217;t dare query against your live customer data with untested code right?
Samples
http://www.codeplex.com/SqlServerSamples
SQL Server Database Examples
http://www.codeplex.com/SqlServerSamples#databases
I use the Northwind tables from the SQL Server 2000 Sample DBs.
How to Install the Northwind Sample Database

Unzip the sample database files you just downloaded
Open SQL Server Management [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft provides some sample databases to use to experiment with your code; because you wouldn&#8217;t dare query against your live customer data with untested code right?</p>
<p><strong>Samples</strong><br />
<a href="http://www.codeplex.com/SqlServerSamples" target="_blank">http://www.codeplex.com/SqlServerSamples</a></p>
<p><strong>SQL Server Database Examples</strong><br />
<a href="http://www.codeplex.com/SqlServerSamples#databases" target="_blank">http://www.codeplex.com/SqlServerSamples#databases</a></p>
<p>I use the Northwind tables from the <a href="https://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=northwind" target="_blank"><span id="ctl00_ctl00_MasterContent_Content_wikiSourceLabel">SQL Server 2000 Sample DBs</span></a><span id="ctl00_ctl00_MasterContent_Content_wikiSourceLabel">.</span></p>
<h3>How to Install the Northwind Sample Database</h3>
<ol>
<li>Unzip the sample database files you just downloaded</li>
<li>Open SQL Server Management Studio (Express if you don&#8217;t have the full version) and connect to your SQL Server instance</li>
<li>Create a new database called Northwind by right clicking Database and select New Database</li>
<li>Go to File/Open, navigate to where you unzipped the download</li>
<li>Select instnwnd.sql</li>
<li>Click Execute to start the import</li>
<li>It will take ~1 minute to complete</li>
</ol>
<p>		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F&amp;title=Sample+Databases+for+SQL+Server"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F&amp;title=Sample+Databases+for+SQL+Server"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F&amp;title=Sample+Databases+for+SQL+Server"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F&amp;headline=Sample+Databases+for+SQL+Server"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Sample+Databases+for+SQL+Server&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Sample+Databases+for+SQL+Server&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Sample+Databases+for+SQL+Server&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Sample+Databases+for+SQL+Server&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Sample+Databases+for+SQL+Server&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F&amp;title=Sample+Databases+for+SQL+Server&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F12%2F02%2Fsample-databases-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://websitebuildersresource.com/2008/11/23/my-essential-developers-toolbox/" title="My Essential Developer&#8217;s Toolbox &#8211; Part I">My Essential Developer&#8217;s Toolbox &#8211; Part I</a></li><li><a href="http://websitebuildersresource.com/2008/11/21/mysqldump-utility-for-sql-server/" title="mysqldump Similar Utility for SQL Server">mysqldump Similar Utility for SQL Server</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2008/12/02/sample-databases-for-sql-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My Essential Developer&#8217;s Toolbox &#8211; Part I</title>
		<link>http://websitebuildersresource.com/2008/11/23/my-essential-developers-toolbox/</link>
		<comments>http://websitebuildersresource.com/2008/11/23/my-essential-developers-toolbox/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 20:17:56 +0000</pubDate>
		<dc:creator>Jason Maletsky</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[navicat]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[zend studio]]></category>

		<guid isPermaLink="false">http://www.websitebuildersresource.com/?p=63</guid>
		<description><![CDATA[This is a multi-part post that lists all of the tools that I use on a regular basis as a web developer. The list is Microsoft Windows centric but I will point out the applications that are cross-platform (as best as I can).
IDEs (Integrated Development Environment)*
Microsoft ASP.NET
Both of the IDEs below are top notch and [...]]]></description>
			<content:encoded><![CDATA[<p>This is a multi-part post that lists all of the tools that I use on a regular basis as a web developer. The list is Microsoft Windows centric but I will point out the applications that are cross-platform (as best as I can).</p>
<h2>IDEs (Integrated Development Environment)*</h2>
<h3>Microsoft ASP.NET</h3>
<p>Both of the IDEs below are top notch and my personal favorites for developing against Microsoft technologies. Both have incredible built in debuggers including JavaScript debugging, drag and drop Web Control functionality, direct SQL Server support, source control support, ASP.NET AJAX integration, the list goes on. Click on the links below to view a full feature list.</p>
<p><strong>Microsoft Visual Web Developer &#8211; Free</strong><br />
<a href="http://www.microsoft.com/express/vwd/" target="_blank">http://www.microsoft.com/express/vwd/</a></p>
<p><strong>Microsoft Visual Studio</strong><br />
<a href="http://msdn.microsoft.com/en-us/vstudio/products/default.aspx" target="_blank">http://msdn.microsoft.com/en-us/vstudio/products/default.aspx</a></p>
<h3>PHP, Perl, Ruby, Java and Other Open Source Technologies</h3>
<p>There are a lot more open source and commercial IDEs available for the Open Source technologies that are not listed here and quick search on <a href="http://www.google.com/search?q=open+source+ide" target="_blank">Google</a> will help if you are looking for something in particular.</p>
<p><span id="more-63"></span></p>
<p>I only develop against PHP in the Open Source space so I will list PHP IDEs that I use.</p>
<p><strong>Eclipse PDT Project &#8211; Free &#8211; Cross Platform</strong><br />
<a href="http://www.eclipse.org/pdt/" target="_blank">http://www.eclipse.org/pdt/</a><br />
This is an incredible Open Source (free) project that will give most developers just about every feature you will need. The one thing I must mention about <a href="http://www.eclipse.org/" target="_blank">Eclipse</a> is that it is has a huge list of plugins that extend it&#8217;s base functionality from integrated database support, just about every programming language support, integrated remote server clients and much more.<a href="http://www.eclipse.org/pdt/" target="_blank"><br />
</a></p>
<p><strong>EasyEclipse &#8211; Free</strong><strong> &#8211; Cross Platform</strong><br />
<a href="http://www.easyeclipse.org/site/home/index.html" target="_blank">http://www.easyeclipse.org/site/home/index.html</a><br />
Similar to Eclipse PDT but with the most common used plugins already installed. The base Eclipse version may be behind from the latest version.<a href="http://www.easyeclipse.org/site/home/index.html" target="_blank"><br />
</a></p>
<p><strong>Zend Studio Professional for Eclipse</strong><strong> &#8211; Cross Platform</strong><br />
<a href="http://www.zend.com/en/products/studio/" target="_blank">http://www.zend.com/en/products/studio/</a><br />
My experience with Zend Studio Professional for Eclipse has been mixed. It has all of the base functionality as the Eclipse PDT project (which a lot of Zend Studio is based on) as well as hooks into their proprietary products such as Zend Core and includes support for the PHP/Java bridge.</p>
<p>I love the extra functionality Zend Studio for Eclipse comes with that Eclipse PDT doesn&#8217;t have but it is slower and more buggy (crashes and constant workspace builds that run forever). Beyond a few bugs I encounter on a regular basis I believe it is worth the cost of a license since you do get support directly from Zend, a lot of incredible functionality and regular updates from Zend.</p>
<p><strong>Aptana &#8211; Free</strong><strong> &#8211; Cross Platform</strong><br />
<a href="http://www.aptana.com/" target="_blank">http://www.aptana.com/</a><br />
This is my favorite Eclipse plugin that can also be installed as a stand-alone application. I originally used this plugin for it&#8217;s excellent support for HTML, CSS and JavaScript but over time they have included some great tools such as their <a href="http://www.aptana.com/jaxer" target="_blank">Jaxer Server</a> and <a href="http://www.aptana.com/cloud" target="_blank">Aptana Cloud</a>. If you are a Zend Studio user you will love the improvement of HTML, CSS and JavaScript support this plugin has over the built in tools. This plugin does support several other languages.</p>
<h2>Database Management</h2>
<h3>Microsoft SQL Server</h3>
<p><strong>SQL Server Management Studio Express &#8211; Free</strong><br />
<a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&amp;displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&amp;displaylang=en</a><br />
This is a great tool to management your SQL Server Express installation. This is a nice addition by Microsoft since the old Express version (MSDE, equivalent to SQL Server 2000) did not come with any managment software.</p>
<p>The biggest drawback to this is it does not have any direct method to backup or export all of your database data. I suggest grabbing a copy of the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=3C856B93-369F-4C6F-9357-C35384179543&amp;displaylang=en" target="_blank">SQL Server Toolkit</a> and use DTS to handle that or use the tool available from <a href="/2008/11/21/mysqldump-utility-for-sql-server/"><span>Peter         A. Bromberg</span></a>.</p>
<p><strong>SQL Server Management Studio</strong><br />
<a href="http://msdn.microsoft.com/en-us/library/ms174173.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms174173.aspx</a><br />
This is the full version of the SQL Server tools and has everything you need to manage your SQL Server data. A copy usually comes with a full version of Visual Studio.</p>
<h3>MySQL</h3>
<p><strong>MySQL GUI Tools &#8211; Free</strong><br />
<a href="http://dev.mysql.com/downloads/gui-tools/5.0.html" target="_blank">http://dev.mysql.com/downloads/gui-tools/5.0.html</a><br />
MySQL has provided some basic tools to handle your MySQL installation from server and resource management to a query tool. Very handy but very basic as well. Does not include methods for direct export or import of data.</p>
<p><strong>Navicat &#8211; Cross Platform</strong><br />
<a href="http://www.navicat.com/" target="_blank">http://www.navicat.com/</a><br />
This is the best MySQL management tool I have used. Very straight forward interface with everything you need at your fingertips. Has many data management tools with the ability to import, export, migrate data to and from other MySQL servers, schedule backups, create reports and much more. This is another commercial application that is worth the cost of the license.</p>
<p>They also provide versions for Oracle and PostgreSQL.</p>
<h2>Glossary*</h2>
<p>IDE<br />
<a href="http://en.wikipedia.org/wiki/Integrated_development_environment" target="_blank">http://en.wikipedia.org/wiki/Integrated_development_environment</a></p>
<h2>Continued</h2>
<p><a href="/2008/11/25/my-essential-developers-toolbox-part-ii/">Read on to Part II of the My Essential Developer&#8217;s Toolbox series of posts.</a><br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F&amp;title=My+Essential+Developer%27s+Toolbox+-+Part+I"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F&amp;title=My+Essential+Developer%27s+Toolbox+-+Part+I"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F&amp;title=My+Essential+Developer%27s+Toolbox+-+Part+I"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F&amp;headline=My+Essential+Developer%27s+Toolbox+-+Part+I"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=My+Essential+Developer%27s+Toolbox+-+Part+I&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=My+Essential+Developer%27s+Toolbox+-+Part+I&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=My+Essential+Developer%27s+Toolbox+-+Part+I&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=My+Essential+Developer%27s+Toolbox+-+Part+I&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=My+Essential+Developer%27s+Toolbox+-+Part+I&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F&amp;title=My+Essential+Developer%27s+Toolbox+-+Part+I&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F23%2Fmy-essential-developers-toolbox%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://websitebuildersresource.com/2010/01/24/php-country-array/" title="PHP Country Array">PHP Country Array</a></li><li><a href="http://websitebuildersresource.com/2010/01/04/blank-cdata-with-php-and-simplexml/" title="Blank CDATA with PHP and SimpleXML">Blank CDATA with PHP and SimpleXML</a></li><li><a href="http://websitebuildersresource.com/2009/02/07/jquery-select-manipulation-multiple-selects-json-default/" title="jQuery &lt;select&gt; Manipulation, Multiple Selects with JSON, Set Defaults, Oh My">jQuery &lt;select&gt; Manipulation, Multiple Selects with JSON, Set Defaults, Oh My</a></li><li><a href="http://websitebuildersresource.com/2009/01/07/eclipse-pdt-php-development-tools-2-0-released/" title="Eclipse PDT (PHP Development Tools) 2.0 Released">Eclipse PDT (PHP Development Tools) 2.0 Released</a></li><li><a href="http://websitebuildersresource.com/2009/01/03/format-string-with-stringformat-and-c-sharp/" title="Format String with String.Format and C#">Format String with String.Format and C#</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2008/11/23/my-essential-developers-toolbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>mysqldump Similar Utility for SQL Server</title>
		<link>http://websitebuildersresource.com/2008/11/21/mysqldump-utility-for-sql-server/</link>
		<comments>http://websitebuildersresource.com/2008/11/21/mysqldump-utility-for-sql-server/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 16:03:49 +0000</pubDate>
		<dc:creator>Jason Maletsky</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[mysqldump for sql server]]></category>
		<category><![CDATA[sql server export]]></category>

		<guid isPermaLink="false">http://www.websitebuildersresource.com/?p=7</guid>
		<description><![CDATA[If you are using SQL Server (specifically Express 2005) and you are looking for a quick way to export your entire database into a single file, the following tool will do the trick.
Export Your Database
Grab a fresh copy of the free tool.
http://www.eggheadcafe.com/articles/20040913.zip
Once you have downloaded the zip file you can open the pre-built application in [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using SQL Server (specifically Express 2005) and you are looking for a quick way to export your entire database into a single file, the following tool will do the trick.</p>
<h3>Export Your Database</h3>
<p>Grab a fresh copy of the free tool.</p>
<p><a href="http://www.eggheadcafe.com/articles/20040913.zip" target="_blank">http://www.eggheadcafe.com/articles/20040913.zip</a></p>
<p>Once you have downloaded the zip file you can open the pre-built application in the following folder:</p>
<blockquote><p>&lt;extracted directory&gt;\bin\Debug\WindowsApplication1.exe</p></blockquote>
<p><span id="more-7"></span></p>
<p>If you are using SQL Express use the following Server string:</p>
<blockquote><p>server\SQLEXPRESS</p></blockquote>
<p>OR for local connections:</p>
<blockquote><p>.\SQLEXPRESS</p></blockquote>
<p>The only downside I see to this utility is that you cannot use Windows Authentication.</p>
<p>Enter the server information to connect to your database. Select your database, the objects you wish to export and click EXPORT.</p>
<div style="clear: both;"></div>
<p><a href="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-1.png"><img class="alignnone size-medium wp-image-22" style="clear: both;" title="sql-export-1" src="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-1-300x179.png" alt="" width="300" height="179" /></a></p>
<div style="clear: both;"></div>
<p>Once the export process is complete it will ask you where you wish to save the file.</p>
<div style="clear: both;"></div>
<p><a href="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-2.png"><img class="alignnone size-medium wp-image-23" title="sql-export-2" src="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-2-300x219.png" alt="" width="300" height="219" /></a></p>
<div style="clear: both;"></div>
<h3>Import Your Database</h3>
<p>Now that you have a full SQL file representation of your database you can use SQL Server Management Studio Express to create your exported database.</p>
<p>Fire up SQL Server Management Studio Express and log in.</p>
<div style="clear: both;"></div>
<p><a href="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-3.png"><img class="alignnone size-medium wp-image-24" title="sql-export-3" src="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-3-300x222.png" alt="" width="300" height="222" /></a></p>
<div style="clear: both;"></div>
<p><strong>NOTE:</strong> If you are migrating your data to a server that does not have a matching database you must first create a database with the same name from your export.</p>
<p>Open your fresh database export file.</p>
<div style="clear: both;"></div>
<p><a href="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-4.jpg"><img class="alignnone size-medium wp-image-25" title="sql-export-4" src="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-4-300x185.jpg" alt="" width="300" height="185" /></a></p>
<div style="clear: both;"></div>
<p><a href="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-2.png"><img class="alignnone size-medium wp-image-23" title="sql-export-2" src="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-2-300x219.png" alt="" width="300" height="219" /></a></p>
<div style="clear: both;"></div>
<p>Once your file has been loaded make sure that there are no SQL syntax errors.</p>
<div style="clear: both;"></div>
<p><a href="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-5.png"><img class="alignnone size-full wp-image-26" title="sql-export-5" src="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-5.png" alt="" width="240" height="45" /></a></p>
<div style="clear: both;"></div>
<p>If there are no errors execute.</p>
<div style="clear: both;"></div>
<p><a href="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-6.png"><img class="alignnone size-full wp-image-27" title="sql-export-6" src="http://www.websitebuildersresource.com/wp-content/uploads/2008/11/sql-export-6.png" alt="" width="117" height="54" /></a></p>
<div style="clear: both;"></div>
<p>Now your database should have all the objects and data you exported earlier.</p>
<h3>Resources</h3>
<p>SQL Server 2005 Express<br />
<a href="http://www.microsoft.com/Sqlserver/2005/en/us/express.aspx" target="_blank">http://www.microsoft.com/Sqlserver/2005/en/us/express.aspx</a></p>
<p>SQL Export Tool<br />
<a href="http://www.eggheadcafe.com/articles/20040913.asp" target="_blank">http://www.eggheadcafe.com/articles/20040913.asp</a></p>
<p>SQL Server Management Studio Express<br />
<a href="http://www.microsoft.com/downloads/details.aspx?familyid=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&amp;displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?familyid=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&amp;displaylang=en</a></p>
<h3>Credits</h3>
<p>Many thanks to <a href="http://www.eggheadcafe.com" target="_blank">eggheadcafe.com</a> and <span style="Verdana,Arial,Helvetica,sans-serif;">Peter         A. Bromberg for this great tool.</span><br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F&amp;title=mysqldump+Similar+Utility+for+SQL+Server"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F&amp;title=mysqldump+Similar+Utility+for+SQL+Server"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F&amp;title=mysqldump+Similar+Utility+for+SQL+Server"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F&amp;headline=mysqldump+Similar+Utility+for+SQL+Server"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=mysqldump+Similar+Utility+for+SQL+Server&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=mysqldump+Similar+Utility+for+SQL+Server&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=mysqldump+Similar+Utility+for+SQL+Server&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=mysqldump+Similar+Utility+for+SQL+Server&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=mysqldump+Similar+Utility+for+SQL+Server&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F&amp;title=mysqldump+Similar+Utility+for+SQL+Server&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2008%2F11%2F21%2Fmysqldump-utility-for-sql-server%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://websitebuildersresource.com/2008/12/02/sample-databases-for-sql-server/" title="Sample Databases for SQL Server">Sample Databases for SQL Server</a></li><li><a href="http://websitebuildersresource.com/2008/11/26/great-mysql-mysqldump-split-utility/" title="Great MySQL mysqldump Split Utility">Great MySQL mysqldump Split Utility</a></li><li><a href="http://websitebuildersresource.com/2008/11/23/my-essential-developers-toolbox/" title="My Essential Developer&#8217;s Toolbox &#8211; Part I">My Essential Developer&#8217;s Toolbox &#8211; Part I</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2008/11/21/mysqldump-utility-for-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
