<?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>Code Comments &#187; SQL</title>
	<atom:link href="http://code.hammerpig.com/category/sql/feed" rel="self" type="application/rss+xml" />
	<link>http://code.hammerpig.com</link>
	<description>Tips and short tutorials on various programming technologies</description>
	<lastBuildDate>Tue, 25 May 2010 14:35:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Convert Results to Comma-delimited List in Oracle</title>
		<link>http://code.hammerpig.com/convert-results-commadelimited-list-oracle.html</link>
		<comments>http://code.hammerpig.com/convert-results-commadelimited-list-oracle.html#comments</comments>
		<pubDate>Wed, 31 Dec 2008 02:40:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://codecomments.wordpress.com/?p=107</guid>
		<description><![CDATA[Let&#8217;s say you are running a query and that there is a one-to-many relationship between one of the columns in one table and a column in another table. You could always retrieve the data from the database and process it using a regular programming language, but sometimes you want to do it all on the [...]]]></description>
		<wfw:commentRss>http://code.hammerpig.com/convert-results-commadelimited-list-oracle.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy Data From One Table to Another with SQL</title>
		<link>http://code.hammerpig.com/copy-data-from-one-table-to-another-with-sql.html</link>
		<comments>http://code.hammerpig.com/copy-data-from-one-table-to-another-with-sql.html#comments</comments>
		<pubDate>Sun, 23 Nov 2008 05:09:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://code.hammerpig.com/?p=319</guid>
		<description><![CDATA[Let&#8217;s say you have two tables in your SQL database. One is called Table1 and has columns called Column1 and Column2. And the other is called Table2 with columns of the same name. An easy way to copy from Table1 to Table2 would be with the following SQL statement.

INSERT INTO Table1
SELECT * FROM Table2

However, let&#8217;s [...]]]></description>
		<wfw:commentRss>http://code.hammerpig.com/copy-data-from-one-table-to-another-with-sql.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Get Column Names from Database Table with Java</title>
		<link>http://code.hammerpig.com/how-to-get-column-names-from-database-table-with-java.html</link>
		<comments>http://code.hammerpig.com/how-to-get-column-names-from-database-table-with-java.html#comments</comments>
		<pubDate>Sun, 23 Nov 2008 05:00:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://code.hammerpig.com/?p=311</guid>
		<description><![CDATA[Let&#8217;s say you have a table in a SQL database and you want to discover the names of the columns from Java. One way to do this that is pretty straightforward is with the following code.

import java.sql.*;
&#160;
...
&#160;
public ArrayList&#60;String&#62; GetColumnNames&#40;String tableName&#41; throws Exception
&#123;
    DatabaseMetaData meta = _conn.getMetaData&#40;&#41;;
    ResultSet rsColumns = [...]]]></description>
		<wfw:commentRss>http://code.hammerpig.com/how-to-get-column-names-from-database-table-with-java.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to In-Memory Databases</title>
		<link>http://code.hammerpig.com/what-is-an-in-memory-database-and-what-is-it-good-for.html</link>
		<comments>http://code.hammerpig.com/what-is-an-in-memory-database-and-what-is-it-good-for.html#comments</comments>
		<pubDate>Sat, 23 Aug 2008 18:34:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://codecomments.wordpress.com/?p=21</guid>
		<description><![CDATA[I have been using a tool in programming projects for a couple years called SQLite. Essentially, this is a lightweight database with functionality similar to (but not as advanced as) relational database management systems like Oracle, SQL Server, or MySQL. One key difference is that SQLite databases reside either in memory or in a single [...]]]></description>
		<wfw:commentRss>http://code.hammerpig.com/what-is-an-in-memory-database-and-what-is-it-good-for.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
