<?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>CodeEase.com &#187; Database</title>
	<atom:link href="http://www.codeease.com/category/database/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codeease.com</link>
	<description>Code, Tech, C#, C++, Java, VB, ASP.NET, Phone, PHP, WCF, Silverlight, Android, Apple, Microsoft, Google</description>
	<lastBuildDate>Sun, 05 Feb 2012 07:00:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Select Last N Rows In A SQL Server Data Table</title>
		<link>http://www.codeease.com/select-last-n-rows-in-a-sql-server-data-table.html</link>
		<comments>http://www.codeease.com/select-last-n-rows-in-a-sql-server-data-table.html#comments</comments>
		<pubDate>Tue, 20 Sep 2011 14:22:02 +0000</pubDate>
		<dc:creator>codeease</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.codeease.com/select-last-n-rows-in-a-sql-server-data-table.html</guid>
		<description><![CDATA[How to select last 5 or 10 or … rows in a SQL Server data table ? Solution 1: This is the normal solution SELECT TOP N * FROM MyTable ORDER BY Id DESC Solution 2:&#160; Solution 1 is the normal way but when the data table is huge but the Id is not indexed, <a href='http://www.codeease.com/select-last-n-rows-in-a-sql-server-data-table.html'>[Read More ...]</a><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.codeease.com/select-last-n-rows-in-a-sql-server-data-table.html' addthis:title='Select Last N Rows In A SQL Server Data Table' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://www.codeease.com/select-last-n-rows-in-a-sql-server-data-table.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update a Table using the Data from Another Table</title>
		<link>http://www.codeease.com/update-a-table-using-the-data-from-another-table.html</link>
		<comments>http://www.codeease.com/update-a-table-using-the-data-from-another-table.html#comments</comments>
		<pubDate>Mon, 19 Sep 2011 21:58:58 +0000</pubDate>
		<dc:creator>codeease</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.codeease.com/update-a-table-using-the-data-from-another-table.html</guid>
		<description><![CDATA[There are lots of ways to update a table data, here we have one example as the following: UPDATE HOSTDB SET InScan = NOWHOSTDB.InScan, Alarm1 = NOWHOSTDB.Alarm1, Alarm2 = NOWHOSTDB.Alarm2, Alarm3 = NOWHOSTDB.Alarm3, Alarm4 = NOWHOSTDB.Alarm4 FROM HOSTDB, NOWHOSTDB WHERE HOSTDB.idx = NOWHOSTDB.HOSTDBidx AND HOSTDB.idx = 1640<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.codeease.com/update-a-table-using-the-data-from-another-table.html' addthis:title='Update a Table using the Data from Another Table' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://www.codeease.com/update-a-table-using-the-data-from-another-table.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Develop App Based On MySQL Using C#</title>
		<link>http://www.codeease.com/develop-app-based-on-mysql-using-c.html</link>
		<comments>http://www.codeease.com/develop-app-based-on-mysql-using-c.html#comments</comments>
		<pubDate>Wed, 14 Sep 2011 20:48:29 +0000</pubDate>
		<dc:creator>codeease</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.codeease.com/develop-app-based-on-mysql-using-c.html</guid>
		<description><![CDATA[Most of .net developers develop Windows applications using SQL Server database, but how about some cases that use MySQL? Microsoft has announced that they no more provider API or connector or related library to connect the 3rd party database such as Oracle, MySQL, the reason is that most of 3rd party companies have already provided <a href='http://www.codeease.com/develop-app-based-on-mysql-using-c.html'>[Read More ...]</a><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.codeease.com/develop-app-based-on-mysql-using-c.html' addthis:title='Develop App Based On MySQL Using C#' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://www.codeease.com/develop-app-based-on-mysql-using-c.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to find the requested .Net Framework Data Provider. It may not be installed.</title>
		<link>http://www.codeease.com/unable-to-find-the-requested-net-framework-data-provider-it-may-not-be-installed.html</link>
		<comments>http://www.codeease.com/unable-to-find-the-requested-net-framework-data-provider-it-may-not-be-installed.html#comments</comments>
		<pubDate>Fri, 09 Sep 2011 18:51:45 +0000</pubDate>
		<dc:creator>codeease</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[SQL Server CE]]></category>

		<guid isPermaLink="false">http://www.codeease.com/unable-to-find-the-requested-net-framework-data-provider-it-may-not-be-installed.html</guid>
		<description><![CDATA[We have a small MVC project, once a time we got the following error message in a popup window: …. Unable to find the requested .Net Framework Data Provider. It may not be installed. The reasons are very depends, there are lots of different reasons on the internet. Our case looks some special: The reason <a href='http://www.codeease.com/unable-to-find-the-requested-net-framework-data-provider-it-may-not-be-installed.html'>[Read More ...]</a><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.codeease.com/unable-to-find-the-requested-net-framework-data-provider-it-may-not-be-installed.html' addthis:title='Unable to find the requested .Net Framework Data Provider. It may not be installed.' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://www.codeease.com/unable-to-find-the-requested-net-framework-data-provider-it-may-not-be-installed.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Microsoft SQL Server Compact 4.0</title>
		<link>http://www.codeease.com/install-microsoft-sql-server-compact-4-0.html</link>
		<comments>http://www.codeease.com/install-microsoft-sql-server-compact-4-0.html#comments</comments>
		<pubDate>Fri, 09 Sep 2011 18:27:06 +0000</pubDate>
		<dc:creator>codeease</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Microsoft SQL Server Compact 4.0 is a free, embedded database that software developers can use for building ASP.NET websites and Windows desktop applications. SQL Server Compact 4.0 has a small footprint and supports private deployment of its binaries within the application folder, easy application development in Visual Studio and WebMatrix, and seamless migration of schema <a href='http://www.codeease.com/install-microsoft-sql-server-compact-4-0.html'>[Read More ...]</a><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.codeease.com/install-microsoft-sql-server-compact-4-0.html' addthis:title='Install Microsoft SQL Server Compact 4.0' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://www.codeease.com/install-microsoft-sql-server-compact-4-0.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update LINQ to SQL Classes After Data Table Structure Changed</title>
		<link>http://www.codeease.com/update-linq-to-sql-classes-after-data-table-structure-changed.html</link>
		<comments>http://www.codeease.com/update-linq-to-sql-classes-after-data-table-structure-changed.html#comments</comments>
		<pubDate>Thu, 01 Sep 2011 21:39:14 +0000</pubDate>
		<dc:creator>codeease</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[LINQ]]></category>

		<guid isPermaLink="false">http://www.codeease.com/update-linq-to-sql-classes-after-data-table-structure-changed.html</guid>
		<description><![CDATA[How to update LINQ to SQL Class after you changed your data tables? It might be a headache problem if you always use LINQ to SQL. Because LINQ to SQL is a disconnect architecture, so the normal way is doing update operation in LINQ to SQL Design window by manual: 1: Delete the modified tables <a href='http://www.codeease.com/update-linq-to-sql-classes-after-data-table-structure-changed.html'>[Read More ...]</a><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.codeease.com/update-linq-to-sql-classes-after-data-table-structure-changed.html' addthis:title='Update LINQ to SQL Classes After Data Table Structure Changed' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://www.codeease.com/update-linq-to-sql-classes-after-data-table-structure-changed.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADO.NET connected mode vs disconnected mode</title>
		<link>http://www.codeease.com/ado-net-connected-mode-vs-disconnected-mode.html</link>
		<comments>http://www.codeease.com/ado-net-connected-mode-vs-disconnected-mode.html#comments</comments>
		<pubDate>Wed, 10 Aug 2011 19:22:37 +0000</pubDate>
		<dc:creator>codeease</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[ADO.NET]]></category>

		<guid isPermaLink="false">http://www.codeease.com/ado-net-connected-mode-vs-disconnected-mode.html</guid>
		<description><![CDATA[ADO.NET can work on either connected mode or disconnected mode. Connected mode implies the database connection is open, for example, if you use DataReader, the database connection state keeps on open; If you use DataSet or DataAdapter, the database connection status is cloesed, it is ADO.NET disconnected mode; When DataAdapter Fill() data to DataSet, the <a href='http://www.codeease.com/ado-net-connected-mode-vs-disconnected-mode.html'>[Read More ...]</a><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.codeease.com/ado-net-connected-mode-vs-disconnected-mode.html' addthis:title='ADO.NET connected mode vs disconnected mode' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://www.codeease.com/ado-net-connected-mode-vs-disconnected-mode.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DataSet vs DataReader</title>
		<link>http://www.codeease.com/dataset-vs-datareader.html</link>
		<comments>http://www.codeease.com/dataset-vs-datareader.html#comments</comments>
		<pubDate>Wed, 10 Aug 2011 18:42:16 +0000</pubDate>
		<dc:creator>codeease</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[ADO.NET]]></category>

		<guid isPermaLink="false">http://www.codeease.com/dataset-vs-datareader.html</guid>
		<description><![CDATA[DataSet is an in-memory representation of a database, providing a consistent relational programming model no matter what format of data source. It contains multiple data tables and their relationship and constraints information. DataSet works on ADO.NET disconnected mode; DataReader is a read only, forward only stream of data from a database,&#160; Data are returned as <a href='http://www.codeease.com/dataset-vs-datareader.html'>[Read More ...]</a><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.codeease.com/dataset-vs-datareader.html' addthis:title='DataSet vs DataReader' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://www.codeease.com/dataset-vs-datareader.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update data with If exists in SQL Server Stored Procedure</title>
		<link>http://www.codeease.com/update-data-with-if-exists-in-sql-server-stored-procedure.html</link>
		<comments>http://www.codeease.com/update-data-with-if-exists-in-sql-server-stored-procedure.html#comments</comments>
		<pubDate>Wed, 22 Jun 2011 20:35:52 +0000</pubDate>
		<dc:creator>codeease</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.codeease.com/update-data-with-if-exists-in-sql-server-stored-procedure.html</guid>
		<description><![CDATA[There is a table structure here: CREATE TABLE [dbo].[FEEDBACK_LOG]( [Idx] [int] IDENTITY(1,1) NOT NULL, [FBIdx] [bigint] NOT NULL, [EventStatus] [int] NULL, [StartTime] [datetime] NOT NULL, [EndTime] [datetime] NOT NULL, [Length] [int] NOT NULL, CONSTRAINT [PK_FEEDBACK_LOG] PRIMARY KEY CLUSTERED ( [Idx] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS <a href='http://www.codeease.com/update-data-with-if-exists-in-sql-server-stored-procedure.html'>[Read More ...]</a><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.codeease.com/update-data-with-if-exists-in-sql-server-stored-procedure.html' addthis:title='Update data with If exists in SQL Server Stored Procedure' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://www.codeease.com/update-data-with-if-exists-in-sql-server-stored-procedure.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset Identity in SQL Server</title>
		<link>http://www.codeease.com/reset-identity-in-sql-server.html</link>
		<comments>http://www.codeease.com/reset-identity-in-sql-server.html#comments</comments>
		<pubDate>Mon, 20 Jun 2011 14:58:59 +0000</pubDate>
		<dc:creator>codeease</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Reset]]></category>

		<guid isPermaLink="false">http://www.codeease.com/reset-identity-in-sql-server.html</guid>
		<description><![CDATA[We have already had a post about “Clear ID counter after delete data table” which is just for reset identity column in SQL Server using Truncate command. However, Truncate is just the one method of resetting Identity in SQL Server, and it is only for the table which no foreign keys defined. If you use <a href='http://www.codeease.com/reset-identity-in-sql-server.html'>[Read More ...]</a><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.codeease.com/reset-identity-in-sql-server.html' addthis:title='Reset Identity in SQL Server' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://www.codeease.com/reset-identity-in-sql-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

