<?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>HieuUK &#187; SQL Code</title>
	<atom:link href="http://www.hieu.co.uk/blog/index.php/category/code-vault/sql-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hieu.co.uk/blog</link>
	<description>Creative Programing</description>
	<lastBuildDate>Fri, 27 Jan 2012 10:29:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Find all the SP using specific tables or views</title>
		<link>http://www.hieu.co.uk/blog/index.php/2009/04/14/find-all-the-sp-using-specific-tables-or-views/</link>
		<comments>http://www.hieu.co.uk/blog/index.php/2009/04/14/find-all-the-sp-using-specific-tables-or-views/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 15:56:11 +0000</pubDate>
		<dc:creator>HieuUK</dc:creator>
				<category><![CDATA[SQL Code]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://www.hieu.co.uk/blog/?p=468</guid>
		<description><![CDATA[Find in the database all the store procedures using specific tables or views.
Or list all the tables or view, which the specific Views or StoreProcudres use.

EXEC sp_depends @objname='tablename'

Sometime you want to check to see if any StoreProcedures or Views is using specific Views or StoreProcedures

SELECT DISTINCT o.name, o.xtype
FROM syscomments c
INNER JOIN sysobjects o ON c.id=o.id
WHERE [...]]]></description>
		<wfw:commentRss>http://www.hieu.co.uk/blog/index.php/2009/04/14/find-all-the-sp-using-specific-tables-or-views/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fixing Save is not permitted in SQL Server 2008</title>
		<link>http://www.hieu.co.uk/blog/index.php/2009/04/14/fixing-save-is-not-permitted-in-sql-server-2008/</link>
		<comments>http://www.hieu.co.uk/blog/index.php/2009/04/14/fixing-save-is-not-permitted-in-sql-server-2008/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 13:33:35 +0000</pubDate>
		<dc:creator>HieuUK</dc:creator>
				<category><![CDATA[SQL Code]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://www.hieu.co.uk/blog/?p=462</guid>
		<description><![CDATA[When you try to save a table when you change a column in SQL Server 2008, you will received: "<em>Saving changes is not permitted. The changes you have made require the following tables to be dropped and recreated. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-create.</em>"]]></description>
		<wfw:commentRss>http://www.hieu.co.uk/blog/index.php/2009/04/14/fixing-save-is-not-permitted-in-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

