﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.howtodothings.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>HowToDoThings.com SQL Server</title>
 <link>http://www.howtodothings.com/computers/c1237-sql-server.html</link>
 <description>A list of recent articles by category as Teasers.</description>
 <language>en</language>
<item>
 <title>Upgrading from Access to SQL Server</title>
 <link>http://www.howtodothings.com/computers/a917-upgrading-from-access-to-sql-server.html</link>
 <description>&lt;p&gt;A quick note on upgrading from an Access DB to a SQL DB.&lt;/p&gt;
&lt;p&gt;I see a lot of people in forums, and support sites for popular ASP Applications I use struggling with a conversion between Access and SQL Server.&lt;/p&gt;
&lt;p&gt; There are many problems I have tried to help with. Stemming from using the DTS Wizard in Enterprise Manager to import the Access DB to redifing keys and default values.&lt;/p&gt;
&lt;p&gt; Here&amp;#39;s the situation. If you want to upgrade an Access Database to SQL Server 7 or 2000 the WORST way to do it is via Enterprise Manager or Query Analyzer.&lt;/p&gt;
&lt;p&gt; The BEST way to upgrade from Access to SQL Server is using the Access &amp;quot;Upsizing Wizard. The reason is that when you import database information from Enterprise Manager you will successfully import all the data however you will loose table relationships, primary keys and default values.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a917-upgrading-from-access-to-sql-server.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a917-upgrading-from-access-to-sql-server.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c1237-sql-server.html">SQL Server</category>
 <pubDate>Sun, 21 Sep 2003 23:00:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">145 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How to update a Work Table across many user</title>
 <link>http://www.howtodothings.com/computers/a902-how-to-update-a-work-table-across-many-user.html</link>
 <description>&lt;p&gt;This article explains how to share a work table across multiusers. It also address locking strategies.&lt;/p&gt;
&lt;p&gt;If for example you have to use a reporting Software, like Crystal reports, sometimes you will need to have a Working table to display results. Crystal will not read data definition from a temporary table. But how do you share this table with multiple users without problems?&lt;/p&gt;
&lt;p&gt; My solution was to add a reportid field. Each user running the report will add his own unique Reportid field and delete all his records once the report is produced.&lt;br /&gt; All this can be accomplish within a stored procedure linked to the report.&lt;/p&gt;
&lt;p&gt; There is also another issue that arise when updating data.&lt;br /&gt; If you use SQL default locking mechanism you can read data that is being changed.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a902-how-to-update-a-work-table-across-many-user.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a902-how-to-update-a-work-table-across-many-user.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c1237-sql-server.html">SQL Server</category>
 <pubDate>Fri, 22 Aug 2003 23:00:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">142 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>setting to exclusive mode for restore (or other operations)</title>
 <link>http://www.howtodothings.com/computers/a1109-setting-to-exclusive-mode-for-restore-or-other-operations.html</link>
 <description>&lt;p&gt;When attempting to restore a database you&amp;#39;ll often get an error saying you must be in exclusive mode...&lt;/p&gt;
&lt;p&gt;When attempting to restore a database you&amp;#39;ll often get an error saying you must be in exclusive mode...&lt;/p&gt;
&lt;p&gt; well, when using the enterprise manager you can right click on the database in the left pane and select properties from the popup menu.  Then go to properties and set the mode to single user.  This will allow you to run your restore.&lt;/p&gt;
&lt;p&gt; Hope someone finds this helpful :)&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1109-setting-to-exclusive-mode-for-restore-or-other-operations.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c1237-sql-server.html">SQL Server</category>
 <pubDate>Mon, 12 Nov 2001 23:00:00 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">285 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Attach / detatch a database</title>
 <link>http://www.howtodothings.com/computers/a1415-attach--detatch-a-database.html</link>
 <description>&lt;p&gt;This article demonstrates how to attach / detatch a database using SQL commands&lt;/p&gt;
&lt;p&gt;Open the query analyzer, and enter either &lt;/p&gt;
&lt;p&gt; 
&lt;p&gt;To detatch the database sp_detach_db StuckIndoors &lt;/p&gt;
&lt;p&gt; 
&lt;p&gt;To attach a database sp_attach_single_file_db @dbname = &amp;#39;StuckIndoors&amp;#39;, @physname= &amp;#39;E:\MSSQLData\data\StuckIndoors.mdf&amp;#39; &lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1415-attach--detatch-a-database.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c1237-sql-server.html">SQL Server</category>
 <pubDate>Tue, 28 Nov 2000 23:00:00 -0600</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">575 at http://www.howtodothings.com</guid>
</item>
</channel>
</rss>
