<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/sql/tags/sql</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 21 Aug 2008 19:16:25 GMT</pubDate>
<item>
<title>(SQL) Convert an Oracle SQL DATE to a STRING in the form CCYYMMDD - retry</title>
<link>http://snipplr.com/view/7573/convert-an-oracle-sql-date-to-a-string-in-the-form-ccyymmdd/</link>
<description><![CDATA[ <p>This Oracle SQL snippet converts an Oracle SQL DATE to a STRING in the form CCYYMMDD.</p> ]]></description>
<pubDate>Tue, 29 Jul 2008 03:52:15 GMT</pubDate>
<guid>http://snipplr.com/view/7573/convert-an-oracle-sql-date-to-a-string-in-the-form-ccyymmdd/</guid>
</item>
<item>
<title>(SQL) Multiple inserts - indianocean</title>
<link>http://snipplr.com/view/6492/multiple-inserts/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 29 May 2008 09:50:41 GMT</pubDate>
<guid>http://snipplr.com/view/6492/multiple-inserts/</guid>
</item>
<item>
<title>(SQL) Comma-Delimited List using Coalesce - mcbutterbuns</title>
<link>http://snipplr.com/view/6367/commadelimited-list-using-coalesce/</link>
<description><![CDATA[ <p>If you ever need to build a comma delimited list out of a column in SQL you can easily do this using the COALESCE function.</p> ]]></description>
<pubDate>Tue, 20 May 2008 17:50:43 GMT</pubDate>
<guid>http://snipplr.com/view/6367/commadelimited-list-using-coalesce/</guid>
</item>
<item>
<title>(SQL) Simple Oracle Trigger - indianocean</title>
<link>http://snipplr.com/view/6115/simple-oracle-trigger/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 05 May 2008 11:00:42 GMT</pubDate>
<guid>http://snipplr.com/view/6115/simple-oracle-trigger/</guid>
</item>
<item>
<title>(SQL) Grant MySQL Privileges - cbrant</title>
<link>http://snipplr.com/view/5695/grant-mysql-privileges/</link>
<description><![CDATA[ <p>To grant all privileges to a user from any location login to the mysql shell and run the following queries.</p> ]]></description>
<pubDate>Fri, 04 Apr 2008 03:52:39 GMT</pubDate>
<guid>http://snipplr.com/view/5695/grant-mysql-privileges/</guid>
</item>
<item>
<title>(SQL) Set MySQL root password - cbrant</title>
<link>http://snipplr.com/view/5694/set-mysql-root-password/</link>
<description><![CDATA[ <p>To reset the MySQL root password, login to the mysql shell and run the following commands.</p> ]]></description>
<pubDate>Fri, 04 Apr 2008 03:48:37 GMT</pubDate>
<guid>http://snipplr.com/view/5694/set-mysql-root-password/</guid>
</item>
<item>
<title>(SQL) Simple Oracle stored procedure - indianocean</title>
<link>http://snipplr.com/view/5567/simple-oracle-stored-procedure/</link>
<description><![CDATA[ <p>Just a template...</p> ]]></description>
<pubDate>Wed, 26 Mar 2008 06:51:42 GMT</pubDate>
<guid>http://snipplr.com/view/5567/simple-oracle-stored-procedure/</guid>
</item>
<item>
<title>(SQL) TSQL for Recursive Select Using Common Table Expressions - rengber</title>
<link>http://snipplr.com/view/5547/tsql-for-recursive-select-using-common-table-expressions/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 24 Mar 2008 18:00:18 GMT</pubDate>
<guid>http://snipplr.com/view/5547/tsql-for-recursive-select-using-common-table-expressions/</guid>
</item>
<item>
<title>(SQL) SQL To Show WaitTime and other Process Stats - rengber</title>
<link>http://snipplr.com/view/5498/sql-to-show-waittime-and-other-process-stats/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 19 Mar 2008 22:55:37 GMT</pubDate>
<guid>http://snipplr.com/view/5498/sql-to-show-waittime-and-other-process-stats/</guid>
</item>
<item>
<title>(SQL) TSQL to Concatenate Subquery Row Values into a Column Value - rengber</title>
<link>http://snipplr.com/view/5497/tsql-to-concatenate-subquery-row-values-into-a-column-value/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 19 Mar 2008 22:54:33 GMT</pubDate>
<guid>http://snipplr.com/view/5497/tsql-to-concatenate-subquery-row-values-into-a-column-value/</guid>
</item>
<item>
<title>(SQL) Update from select - wolfie</title>
<link>http://snipplr.com/view/5150/update-from-select/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 21 Feb 2008 11:56:51 GMT</pubDate>
<guid>http://snipplr.com/view/5150/update-from-select/</guid>
</item>
<item>
<title>(SQL) TSQL to Reset a Tables Primary Key Autonumber - rengber</title>
<link>http://snipplr.com/view/5102/tsql-to-reset-a-tables-primary-key-autonumber/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 17 Feb 2008 20:42:49 GMT</pubDate>
<guid>http://snipplr.com/view/5102/tsql-to-reset-a-tables-primary-key-autonumber/</guid>
</item>
<item>
<title>(SQL) Date 0000-00-00 - Abe</title>
<link>http://snipplr.com/view/5019/date-00000000/</link>
<description><![CDATA[ <p>An easy way to handle null dates. If date = 0000-00-00 then null, else use date</p> ]]></description>
<pubDate>Tue, 12 Feb 2008 10:21:20 GMT</pubDate>
<guid>http://snipplr.com/view/5019/date-00000000/</guid>
</item>
<item>
<title>(SQL) Differences between two Tables - zingo</title>
<link>http://snipplr.com/view/4869/differences-between-two-tables/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 01 Feb 2008 04:26:53 GMT</pubDate>
<guid>http://snipplr.com/view/4869/differences-between-two-tables/</guid>
</item>
<item>
<title>(SQL) Copy table into a new table - Caliban</title>
<link>http://snipplr.com/view/4817/copy-table-into-a-new-table/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 29 Jan 2008 10:23:26 GMT</pubDate>
<guid>http://snipplr.com/view/4817/copy-table-into-a-new-table/</guid>
</item>
<item>
<title>(SQL) MySQL Dump - Abe</title>
<link>http://snipplr.com/view/4767/mysql-dump/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 24 Jan 2008 10:47:32 GMT</pubDate>
<guid>http://snipplr.com/view/4767/mysql-dump/</guid>
</item>
<item>
<title>(SQL) Generate the SQL necessary to create triggers (Oracle) - thecrumb</title>
<link>http://snipplr.com/view/4750/generate-the-sql-necessary-to-create-triggers-oracle/</link>
<description><![CDATA[ <p>Generate the SQL necessary to create triggers that use the sequences listed above. 
NOTE:  This particular script assumes that the tables all start with ‘tbl’.  
It may need to be modified to work with different naming conventions.</p> ]]></description>
<pubDate>Wed, 23 Jan 2008 14:17:25 GMT</pubDate>
<guid>http://snipplr.com/view/4750/generate-the-sql-necessary-to-create-triggers-oracle/</guid>
</item>
<item>
<title>(SQL) Generate the SQL necessary to create sequences for every table (Oracle) - thecrumb</title>
<link>http://snipplr.com/view/4749/generate-the-sql-necessary-to-create-sequences-for-every-table-oracle/</link>
<description><![CDATA[ <p>Generate the SQL necessary to create sequences for every table. 
NOTE:  This doesn’t create sequences. The results need to be copied and run as a script.</p> ]]></description>
<pubDate>Wed, 23 Jan 2008 14:15:25 GMT</pubDate>
<guid>http://snipplr.com/view/4749/generate-the-sql-necessary-to-create-sequences-for-every-table-oracle/</guid>
</item>
<item>
<title>(SQL) Get a list of all the user tables (Oracle) - thecrumb</title>
<link>http://snipplr.com/view/4748/get-a-list-of-all-the-user-tables-oracle/</link>
<description><![CDATA[ <p>Get a list of all the user tables.</p> ]]></description>
<pubDate>Wed, 23 Jan 2008 14:14:14 GMT</pubDate>
<guid>http://snipplr.com/view/4748/get-a-list-of-all-the-user-tables-oracle/</guid>
</item>
<item>
<title>(SQL) Get Columns and Comments (Oracle) - thecrumb</title>
<link>http://snipplr.com/view/4747/get-columns-and-comments-oracle/</link>
<description><![CDATA[ <p>Get all my columns and comments.</p> ]]></description>
<pubDate>Wed, 23 Jan 2008 14:13:05 GMT</pubDate>
<guid>http://snipplr.com/view/4747/get-columns-and-comments-oracle/</guid>
</item>
</channel>
</rss>