<?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>MyFunnyDev &#187; sql</title>
	<atom:link href="http://michalkuklis.com/blog/tag/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://michalkuklis.com/blog</link>
	<description>web, coding and beyond</description>
	<lastBuildDate>Fri, 25 Jun 2010 05:51:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>drop all tables and sequences in oracle</title>
		<link>http://michalkuklis.com/blog/2009/05/18/drop-all-tables-in-oracle/</link>
		<comments>http://michalkuklis.com/blog/2009/05/18/drop-all-tables-in-oracle/#comments</comments>
		<pubDate>Mon, 18 May 2009 18:07:11 +0000</pubDate>
		<dc:creator>Michał Kuklis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://michalkuklis.com/blog/?p=156</guid>
		<description><![CDATA[tables:

SELECT 'DROP TABLE ' &#124;&#124; table_name &#124;&#124; ' CASCADE CONSTRAINTS;' FROM user_tables;

sequences:

SELECT 'DROP SEQUENCE ' &#124;&#124; sequence_name &#124;&#124; ';' FROM user_sequences;

]]></description>
			<content:encoded><![CDATA[<p>tables:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #ff0000;">'DROP TABLE '</span> <span style="color: #66cc66;">||</span> table_name <span style="color: #66cc66;">||</span> <span style="color: #ff0000;">' CASCADE CONSTRAINTS;'</span> <span style="color: #993333; font-weight: bold;">FROM</span> user_tables;</pre></div></div>

<p>sequences:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #ff0000;">'DROP SEQUENCE '</span> <span style="color: #66cc66;">||</span> sequence_name <span style="color: #66cc66;">||</span> <span style="color: #ff0000;">';'</span> <span style="color: #993333; font-weight: bold;">FROM</span> user_sequences;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://michalkuklis.com/blog/2009/05/18/drop-all-tables-in-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
