<?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>Alomohora &#187; Microsoft SQL Server</title>
	<atom:link href="http://alomohora.com/category/microsoft-sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://alomohora.com</link>
	<description>All about programming languages</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:01:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Missing Microsoft SQL Server Management Studio</title>
		<link>http://alomohora.com/missing-microsoft-sql-server-management-studio/</link>
		<comments>http://alomohora.com/missing-microsoft-sql-server-management-studio/#comments</comments>
		<pubDate>Thu, 20 May 2010 17:01:28 +0000</pubDate>
		<dc:creator>alomohora</dc:creator>
				<category><![CDATA[Microsoft SQL Server]]></category>

		<guid isPermaLink="false">http://alomohora.com/?p=2267</guid>
		<description><![CDATA[SQL Server Management Studio did not install with sql server 2005. It is supposed to be located at &#8216;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\&#8217; folder and the name is &#8216;SqlWb.exe&#8217;. There should also be a shortcut located at &#8216;Start &#8211; Programs &#8211; Microsoft SQL Server 2005&#8242; folder. So by doing some research, I came across many different [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">SQL Server Management Studio did not install with sql server 2005.</p>
<p style="text-align: justify;"><span id="more-2267"></span></p>
<p style="text-align: justify;">It is supposed to be located at &#8216;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\&#8217; folder and the name is &#8216;SqlWb.exe&#8217;. There should also be a shortcut located at &#8216;Start &#8211; Programs &#8211; Microsoft SQL Server 2005&#8242; folder.</p>
<p style="text-align: justify;">So by doing some research, I came across many different solutions, and some of them guided me in the correct direction. Apparently, this can happen when you have missed to install certain components, or if you have installed SQL Express, or Visual Studio (which comes with SQL Express), and during the installation, the installation program recognizes the &#8216;tools&#8217; folder at &#8216;C:\Program Files\Microsoft SQL Server\90\&#8217;.</p>
<p style="text-align: justify;"><strong>So what should you do?</strong></p>
<p style="text-align: justify;">Well, I solved it by renaming the &#8216;tools&#8217; folder to something like &#8216;toolsbak&#8217;</p>
<p style="text-align: justify;">Then I went to &#8216;Add/Remove Programs&#8217; which is located in the Control Panel folder. I located the Microsoft SQL 2005, clicked it and two buttons appear. One is the &#8216;Change&#8217; button and the other is &#8216;Remove&#8217; button, of which I clicked on the &#8216;Change&#8217; button.</p>
<p style="text-align: justify;">This opens a new window, where I selected the &#8216;Workstation Components&#8217; radio button. The program at this point does some checks on your system, and then you get to a screen where you can select the button &#8216;Change Installed Components&#8217;. Next you have to expand (press the + sign next to the) Client Components, right clicking on the &#8216;Management Tools&#8217; will bring up a window where you select &#8216;Will be installed on local hard drive&#8217;.</p>
<p style="text-align: justify;">That’s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://alomohora.com/missing-microsoft-sql-server-management-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sql Server 2005 Can&#8217;t Start</title>
		<link>http://alomohora.com/sql-server-cant-start/</link>
		<comments>http://alomohora.com/sql-server-cant-start/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 06:25:18 +0000</pubDate>
		<dc:creator>alomohora</dc:creator>
				<category><![CDATA[Microsoft SQL Server]]></category>

		<guid isPermaLink="false">http://alomohora.com/?p=1592</guid>
		<description><![CDATA[When i try to start the Sql Server (MSSQLSERVER) service, get the following error : Windows could not start the SQL Server (MSSQLSERVER) on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 3417. Hey, I have another solution. My event [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">When i try to start the Sql Server (MSSQLSERVER) service, get the following error :</p>
<p style="text-align: justify;"><em>Windows could not start the SQL Server (MSSQLSERVER) on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 3417.</em></p>
<p style="text-align: justify;"><span id="more-1592"></span></p>
<p style="text-align: justify;">Hey, I have another solution. My event viewer said something about the Master database being compressed. I checked the data folder, and all database files were blue (meaning compressed, the ‘blue’ setting can be found in folder options). So I selected all files, right clicked, choose properties, clicked advanced and unchecked compressed attributes. After that, I could start the service.</p>
]]></content:encoded>
			<wfw:commentRss>http://alomohora.com/sql-server-cant-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AdventureWorks_Data.mdf, where is it?</title>
		<link>http://alomohora.com/adventureworks_datamdf-where-is-it/</link>
		<comments>http://alomohora.com/adventureworks_datamdf-where-is-it/#comments</comments>
		<pubDate>Fri, 01 May 2009 09:22:47 +0000</pubDate>
		<dc:creator>alomohora</dc:creator>
				<category><![CDATA[Microsoft SQL Server]]></category>

		<guid isPermaLink="false">http://alomohora.com/?p=1578</guid>
		<description><![CDATA[AdventureWorks_Data.mdf, where is it? I cannot find this database anywhere. But I can download it Here.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">AdventureWorks_Data.mdf, where is it?</p>
<p style="text-align: justify;"><span id="more-1578"></span></p>
<p style="text-align: justify;">I cannot find this database anywhere. But I can download it <a title="AdventureWorks_Data.mdf" href="http://msftdbprodsamples.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=4004#DownloadId=11753">Here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alomohora.com/adventureworks_datamdf-where-is-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Northwind Database Installation</title>
		<link>http://alomohora.com/microsoft-sql-server-northwind-database-installation/</link>
		<comments>http://alomohora.com/microsoft-sql-server-northwind-database-installation/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 07:38:05 +0000</pubDate>
		<dc:creator>alomohora</dc:creator>
				<category><![CDATA[Microsoft SQL Server]]></category>

		<guid isPermaLink="false">http://alomohora.com/?p=640</guid>
		<description><![CDATA[In this section, you verify that you have installed the Northwind sample database that is provided with SQL Server 2005. To download the latest version of the instnwnd.sql installer script Go to the Microsoft SQL download website: http://www.microsoft.com/sql/. Locate the latest version of the Northwind database installer script (SQL2000SampleDb.msi). Download and run the SQL2000SampleDb.msi installer. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">In this section, you verify that you have installed the Northwind sample database that is provided with SQL Server 2005.</p>
<p style="text-align: justify;"><span id="more-640"></span></p>
<p style="text-align: justify;"><strong>To download the latest version of the instnwnd.sql installer script</strong></p>
<ul style="text-align: justify;">
<li>Go to the Microsoft SQL download website: <a href="http://www.microsoft.com/sql/">http://www.microsoft.com/sql/</a>.</li>
</ul>
<ul style="text-align: justify;">
<li> Locate the latest version of the Northwind database installer script (SQL2000SampleDb.msi).</li>
</ul>
<ul style="text-align: justify;">
<li> Download and run the SQL2000SampleDb.msi installer.</li>
</ul>
<p style="text-align: justify;">You now have a copy of the instnwnd.sql installer script. Proceed to the next step procedure for installation instructions.</p>
<p style="text-align: justify;"><strong>To install the Northwind database.</strong></p>
<ul style="text-align: justify;">
<li> Go to the command prompt.</li>
</ul>
<ul style="text-align: justify;">
<li> Locate the Northwind installer script named instnwnd.sql.</li>
</ul>
<ul style="text-align: justify;">
<li> From the command prompt, change directory to the path of the installer script. Type the following command to install the database.</li>
</ul>
<p style="text-align: center;">osql -U sa -P [password] -i instnwnd.sql</p>
<ul style="text-align: justify;">
<li> Press ENTER.</li>
</ul>
<ul style="text-align: justify;">
<li> The Northwind database installs.</li>
</ul>
<p style="text-align: center;"><a title="Northwind Database Installation 1" href="http://makiki.files.wordpress.com/2008/12/alomohora-microsoft-sql-server-northwind-database-installation1.png"><img class="aligncenter" title="Alomohora - Microsoft SQL Server - Northwind Database Installation" src="http://makiki.files.wordpress.com/2008/12/alomohora-microsoft-sql-server-northwind-database-installation1.png" alt="Alomohora - Microsoft SQL Server - Northwind Database Installation1" width="400" height="243" /></a></p>
<p style="text-align: justify;"><strong>To verify the connection to the Northwind database. </strong></p>
<ul style="text-align: justify;">
<li> Launch Visual Studio.</li>
</ul>
<ul style="text-align: justify;">
<li> And the final result like this:</li>
</ul>
<p style="text-align: center;"><a title="Northwind Database Installation 2" href="http://makiki.files.wordpress.com/2008/12/alomohora-microsoft-sql-server-northwind-database-installation2.png"><img class="aligncenter" title="Alomohora - Microsoft SQL Server - Northwind Database Installation" src="http://makiki.files.wordpress.com/2008/12/alomohora-microsoft-sql-server-northwind-database-installation2.png" alt="Alomohora - Microsoft SQL Server - Northwind Database Installation2" width="400" height="285" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://alomohora.com/microsoft-sql-server-northwind-database-installation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Create Stored Procedure SQL Server</title>
		<link>http://alomohora.com/microsoft-sql-server-create-stored-procedure/</link>
		<comments>http://alomohora.com/microsoft-sql-server-create-stored-procedure/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 01:51:10 +0000</pubDate>
		<dc:creator>alomohora</dc:creator>
				<category><![CDATA[Microsoft SQL Server]]></category>

		<guid isPermaLink="false">http://alomohora.com/?p=462</guid>
		<description><![CDATA[This topic describes how to create a Transact-SQL Stored Procedure by using Object Explorer in SQL Server Management Studio and provides an example that creates a simple stored procedure. To create a stored procedure Open Microsoft SQL Server 2005 &#62;&#62; SQL Server Management Studio. In Object Explorer, connect to an instance of SQL Server 2005 [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This topic describes how to create a <strong>Transact-SQL Stored Procedure</strong> by using <strong>Object Explorer</strong> in <strong>SQL Server Management Studio</strong> and provides an example that creates a simple stored procedure.</p>
<p style="text-align: justify;"><span id="more-462"></span></p>
<p style="text-align: justify;">To create a stored procedure</p>
<ul type="disc">
<li style="text-align: justify;">Open <strong>Microsoft SQL Server 2005</strong> &gt;&gt; <strong>SQL Server Management Studio</strong>.</li>
<li style="text-align: justify;">In <strong>Object Explorer</strong>, connect to an instance of <strong>SQL Server 2005 Database Engine</strong> and then expand that instance.</li>
</ul>
<p style="text-align: center;"><a title="Create Stored Procedure SQL Server 1" href="http://makiki.files.wordpress.com/2009/01/alomohora-microsoft-sql-server-create-stored-procedure1.png"><img class="aligncenter" title="Alomohora - Microsoft SQL Server - Create Stored  Procedure1" src="http://makiki.files.wordpress.com/2009/01/alomohora-microsoft-sql-server-create-stored-procedure1.png?w=300&amp;h=227" alt="Alomohora - Microsoft SQL Server - Create Stored  Procedure1" width="300" height="227" /></a></p>
<ul type="disc">
<li style="text-align: justify;">Expand Databases, expand the database in which the stored procedure belongs, and then expand <strong>Programmability</strong>.</li>
</ul>
<p style="text-align: center;"><a title="Create Stored Procedure SQL Server 2" href="http://makiki.files.wordpress.com/2009/01/alomohora-microsoft-sql-server-create-stored-procedure2.png"><img class="aligncenter" title="Alomohora - Microsoft SQL Server - Create Stored  Procedure2" src="http://makiki.files.wordpress.com/2009/01/alomohora-microsoft-sql-server-create-stored-procedure2.png?w=300&amp;h=217" alt="Alomohora - Microsoft SQL Server - Create Stored  Procedure2" width="300" height="217" /></a></p>
<ul type="disc">
<li style="text-align: justify;">Right-click <strong>Stored Procedures</strong>, and then click <strong>New Stored Procedure</strong>.</li>
<li style="text-align: justify;">On the <strong>Query</strong> menu, click Specify <strong>Values for Template Parameters</strong>.</li>
<li style="text-align: justify;">In the <strong>Specify Values for Template Parameters</strong> dialog box, the Value column contains suggested values for the parameters. Accept the values or replace them with new values, and then click <strong>OK</strong>.</li>
</ul>
<p style="text-align: center;"><a title="Create Stored Procedure SQL Server 3" href="http://makiki.files.wordpress.com/2009/01/alomohora-microsoft-sql-server-create-stored-procedure3.png"><img class="aligncenter" title="Alomohora - Microsoft SQL Server - Create Stored  Procedure3" src="http://makiki.files.wordpress.com/2009/01/alomohora-microsoft-sql-server-create-stored-procedure3.png?w=300&amp;h=213" alt="Alomohora - Microsoft SQL Server - Create Stored  Procedure3" width="300" height="213" /></a></p>
<ul type="disc">
<li style="text-align: justify;">In the query editor, replace the <strong>SELECT</strong> statement with the statements for your procedure.</li>
<li style="text-align: justify;">To test the syntax, on the <strong>Query</strong> menu, click <strong>Parse</strong>.</li>
<li style="text-align: justify;">To create the stored procedure, on the <strong>Query</strong> menu, click <strong>Execute</strong>.</li>
<li style="text-align: justify;">To save the script, on the <strong>File menu</strong>, click <strong>Save</strong>. Accept the file name or replace it with a new name, and then click <strong>Save</strong>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://alomohora.com/microsoft-sql-server-create-stored-procedure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
