<?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>Le Kevin dot com &#187; Database</title>
	<atom:link href="http://blog.lekevin.com/category/computer/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lekevin.com</link>
	<description>photographic-poetic-musical horizon</description>
	<lastBuildDate>Sat, 26 Jan 2013 10:38:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>MSSQL: Remove Diacritic Marks From Characters &#8211; Vietnamese unicode to non-unicode in database</title>
		<link>http://blog.lekevin.com/technology/mssql-remove-diacritic-marks-from-characters-vietnamese-unicode-to-non-unicode-in-database/</link>
		<comments>http://blog.lekevin.com/technology/mssql-remove-diacritic-marks-from-characters-vietnamese-unicode-to-non-unicode-in-database/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 11:34:32 +0000</pubDate>
		<dc:creator>Le Kevin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[clr]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[remove accents]]></category>
		<category><![CDATA[remove diacritic marks]]></category>
		<category><![CDATA[remove vietnamese accented characters]]></category>

		<guid isPermaLink="false">http://blog.lekevin.com/?p=6330</guid>
		<description><![CDATA[Sometimes we want to remove accents from vietnamese words to Latin based characters for search or matching routine in database. However, Microsoft SQL Database does not offer normalized function which we can use to remove accents from words such as:

    AI ĐI TRÊN DÀM ĐƯỜNG TRƯỜNG => AI DI TREN DAM DUONG TRUONG
    ÁO EM CHƯA MÀC MỘT LẦN => AO EM CHUA MAC MOT LAN

Good thing, there is a workaround by using CLR function, please example code below:]]></description>
		<wfw:commentRss>http://blog.lekevin.com/technology/mssql-remove-diacritic-marks-from-characters-vietnamese-unicode-to-non-unicode-in-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>INSTEAD OF DELETE</title>
		<link>http://blog.lekevin.com/technology/instead-of-delete/</link>
		<comments>http://blog.lekevin.com/technology/instead-of-delete/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 17:32:01 +0000</pubDate>
		<dc:creator>Le Kevin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[INSTEAD OF DELETE]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[trigger]]></category>

		<guid isPermaLink="false">http://blog.lekevin.com/?p=6317</guid>
		<description><![CDATA[INSTEAD OF DELETE triggers can be defined on a view or table to replace the standard action of the DELETE statement. Usually, the INSTEAD OF DELETE trigger is defined on a view to modify data in one or more base tables.]]></description>
		<wfw:commentRss>http://blog.lekevin.com/technology/instead-of-delete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove &#8220;Restricted User&#8221; in SQL Server 2008</title>
		<link>http://blog.lekevin.com/computer/remove-restricted-user-in-sql-server-2008/</link>
		<comments>http://blog.lekevin.com/computer/remove-restricted-user-in-sql-server-2008/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 17:48:22 +0000</pubDate>
		<dc:creator>Le Kevin</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://blog.lekevin.com/?p=6274</guid>
		<description><![CDATA[Use DatabaseName ALTER DATABASE DatabaseName SET SINGLE_USER WITH ROLLBACK IMMEDIATE GO ALTER DATABASE DatabaseName SET MULTI_USER GO]]></description>
		<wfw:commentRss>http://blog.lekevin.com/computer/remove-restricted-user-in-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DB procedure to shrink all databases</title>
		<link>http://blog.lekevin.com/computer/db-procedure-to-shrink-all-databases/</link>
		<comments>http://blog.lekevin.com/computer/db-procedure-to-shrink-all-databases/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 22:44:49 +0000</pubDate>
		<dc:creator>Le Kevin</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[shrink]]></category>

		<guid isPermaLink="false">http://blog.lekevin.com/?p=6261</guid>
		<description><![CDATA[USE [master] GO /****** Object: StoredProcedure [dbo].[spShrinkAllDatabases] Script Date: 08/12/2011 15:40:15 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: Dan Sutton -- Create date: 06/14/2011 -- Description: Reindex all tables and shrink Logs and Data Files in Server -- ============================================= CREATE PROCEDURE [dbo].[spShrinkAllDatabases] AS BEGIN SET NOCOUNT ON; DECLARE @dbname [...]]]></description>
		<wfw:commentRss>http://blog.lekevin.com/computer/db-procedure-to-shrink-all-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>California Statewide Sales and Use Tax Rate &#8211; to Decrease by 1% on July 1, 2011</title>
		<link>http://blog.lekevin.com/computer/california-statewide-sales-and-use-tax-rate-to-decrease-by-1-on-july-1-2011/</link>
		<comments>http://blog.lekevin.com/computer/california-statewide-sales-and-use-tax-rate-to-decrease-by-1-on-july-1-2011/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 18:48:41 +0000</pubDate>
		<dc:creator>Le Kevin</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[California Statewide Sales]]></category>
		<category><![CDATA[Tax Rate]]></category>

		<guid isPermaLink="false">http://blog.lekevin.com/?p=6236</guid>
		<description><![CDATA[Download Prepared CA Tax July 1, 2011 here&#8230; Statewide Base Tax Rate Decreases from 8.25% to 7.25% Effective July 1, 2011, the one percent sales and use tax rate increase that was approved with the state budget and effective April 1, 2009, will expire lowering the statewide base tax rate from 8.25 percent to 7.25 [...]]]></description>
		<wfw:commentRss>http://blog.lekevin.com/computer/california-statewide-sales-and-use-tax-rate-to-decrease-by-1-on-july-1-2011/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How do I find a trigger or stored procedure containing text</title>
		<link>http://blog.lekevin.com/computer/how-do-i-find-a-trigger-or-stored-procedure-containing/</link>
		<comments>http://blog.lekevin.com/computer/how-do-i-find-a-trigger-or-stored-procedure-containing/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 19:31:24 +0000</pubDate>
		<dc:creator>Le Kevin</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[find text in sql]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[stored procedure]]></category>
		<category><![CDATA[trigger]]></category>

		<guid isPermaLink="false">http://blog.lekevin.com/?p=6202</guid>
		<description><![CDATA[SELECT ROUTINE_NAME, ROUTINE_DEFINITION,* FROM INFORMATION_SCHEMA.ROUTINES 
WHERE ROUTINE_DEFINITION LIKE '%scope_identity()%' 
    AND ROUTINE_TYPE='PROCEDURE']]></description>
		<wfw:commentRss>http://blog.lekevin.com/computer/how-do-i-find-a-trigger-or-stored-procedure-containing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OLE DB provider &#8216;Microsoft.ACE.OLEDB.12.0&#8242; cannot be used for distributed queries because the provider is configured to run in single-threaded apartment mode</title>
		<link>http://blog.lekevin.com/computer/ole-db-provider-microsoft-ace-oledb-12-0-cannot-be-used-for-distributed-queries-because-the-provider-is-configured-to-run-in-single-threaded-apartment-mode/</link>
		<comments>http://blog.lekevin.com/computer/ole-db-provider-microsoft-ace-oledb-12-0-cannot-be-used-for-distributed-queries-because-the-provider-is-configured-to-run-in-single-threaded-apartment-mode/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 20:15:06 +0000</pubDate>
		<dc:creator>Le Kevin</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[jet 4]]></category>
		<category><![CDATA[Microsoft.ACE.OLEDB.12.0]]></category>
		<category><![CDATA[Microsoft.Jet.OLEDB.4.0]]></category>

		<guid isPermaLink="false">http://blog.lekevin.com/?p=6196</guid>
		<description><![CDATA[This download will install a set of components that can be used to facilitate transfer of data between 2010 Microsoft Office System files and non-Microsoft Office applications.]]></description>
		<wfw:commentRss>http://blog.lekevin.com/computer/ole-db-provider-microsoft-ace-oledb-12-0-cannot-be-used-for-distributed-queries-because-the-provider-is-configured-to-run-in-single-threaded-apartment-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Linked Server in SQL Server for a MySQL database</title>
		<link>http://blog.lekevin.com/computer/creating-a-linked-server-in-sql-server-for-a-mysql-database/</link>
		<comments>http://blog.lekevin.com/computer/creating-a-linked-server-in-sql-server-for-a-mysql-database/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 19:42:56 +0000</pubDate>
		<dc:creator>Le Kevin</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[linked server]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://blog.lekevin.com/?p=5861</guid>
		<description><![CDATA[This document describes how to create a Linked Server reference in SQL Server which points at a MySQL database, and how to query through the Linked Server connection. 1. Download the MySQL ODBC driver from dev.mysql.com 2. Install MySQL ODBC driver on Server where SQL Server resides - Double Click Windows Installer file and follow [...]]]></description>
		<wfw:commentRss>http://blog.lekevin.com/computer/creating-a-linked-server-in-sql-server-for-a-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server Backup All Databases (stored procedure)</title>
		<link>http://blog.lekevin.com/computer/sql-server-backup-all-databases-stored-procedure/</link>
		<comments>http://blog.lekevin.com/computer/sql-server-backup-all-databases-stored-procedure/#comments</comments>
		<pubDate>Tue, 04 May 2010 20:56:18 +0000</pubDate>
		<dc:creator>Le Kevin</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[stored procedure]]></category>

		<guid isPermaLink="false">http://blog.lekevin.com/?p=926</guid>
		<description><![CDATA[It backs up with an expiration of 30 days, but a year for anything on the first of the month. Emails if it fails… (assume that you have sql email profile already setup) CREATE PROCEDURE spBackupAllDatabases AS BEGIN SET NOCOUNT ON; declare @db varchar(50) declare @d varchar(100) declare @n varchar(100) declare @rd int set @rd=case [...]]]></description>
		<wfw:commentRss>http://blog.lekevin.com/computer/sql-server-backup-all-databases-stored-procedure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft &#8211; ODBC SQL Server Driver &#8211; Shared Memory &#8211; SSL Security error</title>
		<link>http://blog.lekevin.com/computer/microsoft-odbc-sql-server-driver-shared-memory-ssl-security-error/</link>
		<comments>http://blog.lekevin.com/computer/microsoft-odbc-sql-server-driver-shared-memory-ssl-security-error/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 23:06:35 +0000</pubDate>
		<dc:creator>Le Kevin</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Shared Memory]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[SSL Security error]]></category>

		<guid isPermaLink="false">http://blog.lekevin.com/?p=844</guid>
		<description><![CDATA[When you try to install Microsoft SQL Server 2000 on a computer that has certificates,installation can fail and you may receive the following error message: [Microsoft][ODBC SQL Server Driver][Shared Memory]SSL Security error [Microsoft][ODBC SQL Server Driver][Shared Memory]ConnectionOpen (SECDoClientHandshake()). SQL Server configuration failed. -or- When you add certificates to a server that already has SQL Server [...]]]></description>
		<wfw:commentRss>http://blog.lekevin.com/computer/microsoft-odbc-sql-server-driver-shared-memory-ssl-security-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
