<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Workaround for &#8220;ORA-00998: must name this expression with a column alias&#8221;</title>
	<atom:link href="http://marogel.wordpress.com/2012/01/27/workaround-for-ora-00998-must-name-this-expression-with-a-column-alias/feed/" rel="self" type="application/rss+xml" />
	<link>http://marogel.wordpress.com/2012/01/27/workaround-for-ora-00998-must-name-this-expression-with-a-column-alias/</link>
	<description></description>
	<lastBuildDate>Tue, 30 Apr 2013 13:06:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Miguel Moreno</title>
		<link>http://marogel.wordpress.com/2012/01/27/workaround-for-ora-00998-must-name-this-expression-with-a-column-alias/#comment-211</link>
		<dc:creator><![CDATA[Miguel Moreno]]></dc:creator>
		<pubDate>Thu, 11 Oct 2012 00:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://marogel.wordpress.com/?p=243#comment-211</guid>
		<description><![CDATA[Mr. Rogel:

You are correct in stating that the documentation only says half of the story...  Recently I was getting this error ( ORA-00998 ) when creating a temporary work table, and after some troubleshooting I realized that not only functions and expressions must have a column alias, but pseudocolumns also must have a column alias:

Example:

    create table my_table as select a.rowid, a.dummy from dual a;
    &gt; Error at Command Line:1 Column:32
    &gt; SQL Error: ORA-00998: must name this expression with a column alias

    create table my_table as select a.rowid as the_rowid, a.dummy from dual a;
    &gt; table MY_TABLE created.

In a fairly complex query it took me sometime to figure it out.]]></description>
		<content:encoded><![CDATA[<p>Mr. Rogel:</p>
<p>You are correct in stating that the documentation only says half of the story&#8230;  Recently I was getting this error ( ORA-00998 ) when creating a temporary work table, and after some troubleshooting I realized that not only functions and expressions must have a column alias, but pseudocolumns also must have a column alias:</p>
<p>Example:</p>
<p>    create table my_table as select a.rowid, a.dummy from dual a;<br />
    &gt; Error at Command Line:1 Column:32<br />
    &gt; SQL Error: ORA-00998: must name this expression with a column alias</p>
<p>    create table my_table as select a.rowid as the_rowid, a.dummy from dual a;<br />
    &gt; table MY_TABLE created.</p>
<p>In a fairly complex query it took me sometime to figure it out.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
