<?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>NewPush &#187; insert</title> <atom:link href="http://newpush.com/tag/insert/feed/" rel="self" type="application/rss+xml" /><link>http://newpush.com</link> <description>Server Hosting, Data Warehouse Hosting, Collaboration</description> <lastBuildDate>Fri, 20 Apr 2012 10:25:44 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>DB2 INSERT INTO vs SELECT INTO</title><link>http://newpush.com/2009/01/db2-insert-into-vs-select-into/</link> <comments>http://newpush.com/2009/01/db2-insert-into-vs-select-into/#comments</comments> <pubDate>Tue, 27 Jan 2009 18:19:24 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[DB2]]></category> <category><![CDATA[IBM]]></category> <category><![CDATA[insert]]></category> <category><![CDATA[insert into]]></category> <category><![CDATA[into]]></category> <category><![CDATA[select]]></category> <category><![CDATA[select into]]></category> <category><![CDATA[SQL]]></category><guid isPermaLink="false">http://www.wdream.com/archives/57</guid> <description><![CDATA[In DB2 if you need to populate a table, you need to use INSERT INTO, like in this example: INSERT INTO new_table SELECT col1,col2 FROM source_table WHERE col1='something'; and if you need to populate query variable, you need to use &#8230; <a href="http://newpush.com/2009/01/db2-insert-into-vs-select-into/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>In <b>DB2</b> if you need to populate a table, you need to use INSERT INTO, like in this example:</p><pre>INSERT INTO new_table
SELECT col1,col2 FROM source_table
WHERE col1='something';
</pre><p>and if you need to populate query variable, you need to use SELECT INTO, like in this example:</p><pre>SELECT * INTO :var1, :var2, :var3FROM table_name
WHERE col1= 'something'; </pre><p>Source: <a href="http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp">DB2 Documentation</a></p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2009/01/db2-insert-into-vs-select-into/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: newpush.com @ 2012-05-22 11:52:44 by W3 Total Cache -->
