<?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/"
		>
<channel>
	<title>Comments on: Dummy data without dummy tables &#8211; just a little SQL trick with the TABLE operator</title>
	<atom:link href="http://technology.amis.nl/2006/11/27/dummy-data-without-dummy-tables-just-a-little-sql-trick-with-the-table-operator/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2006/11/27/dummy-data-without-dummy-tables-just-a-little-sql-trick-with-the-table-operator/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dummy-data-without-dummy-tables-just-a-little-sql-trick-with-the-table-operator</link>
	<description></description>
	<lastBuildDate>Tue, 11 Jun 2013 22:09:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Rumesh</title>
		<link>http://technology.amis.nl/2006/11/27/dummy-data-without-dummy-tables-just-a-little-sql-trick-with-the-table-operator/#comment-4027</link>
		<dc:creator>Rumesh</dc:creator>
		<pubDate>Wed, 17 Oct 2007 10:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1413#comment-4027</guid>
		<description><![CDATA[Is this possible with SQL2005. I tried this but it did not work..

I have a small problem. I need to create a view to generate a report. The view has one column called month. The values for this column do not come from any database table. It is coming from the report period (ex:- 01/01/2007 to 31/01/2007) - here month is january. If it is more than one month the values for the other fields must be properly distributed. That is there will be 3 months entries in the case of three months. How can i do this?]]></description>
		<content:encoded><![CDATA[<p>Is this possible with SQL2005. I tried this but it did not work..</p>
<p>I have a small problem. I need to create a view to generate a report. The view has one column called month. The values for this column do not come from any database table. It is coming from the report period (ex:- 01/01/2007 to 31/01/2007) &#8211; here month is january. If it is more than one month the values for the other fields must be properly distributed. That is there will be 3 months entries in the case of three months. How can i do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chirag</title>
		<link>http://technology.amis.nl/2006/11/27/dummy-data-without-dummy-tables-just-a-little-sql-trick-with-the-table-operator/#comment-4026</link>
		<dc:creator>chirag</dc:creator>
		<pubDate>Thu, 07 Dec 2006 16:44:14 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1413#comment-4026</guid>
		<description><![CDATA[How can i do same thing in MS-SQL 2000
Please give me anser ASAP.

I can not able to execute
select * from   table ( num_tbl(1,2,3,4,5,6) ) in MS-SQL
Please tell me what is correct syntax in MS-SQL ?

Thankx in Advance]]></description>
		<content:encoded><![CDATA[<p>How can i do same thing in MS-SQL 2000<br />
Please give me anser ASAP.</p>
<p>I can not able to execute<br />
select * from   table ( num_tbl(1,2,3,4,5,6) ) in MS-SQL<br />
Please tell me what is correct syntax in MS-SQL ?</p>
<p>Thankx in Advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janusz Perek</title>
		<link>http://technology.amis.nl/2006/11/27/dummy-data-without-dummy-tables-just-a-little-sql-trick-with-the-table-operator/#comment-4025</link>
		<dc:creator>Janusz Perek</dc:creator>
		<pubDate>Thu, 30 Nov 2006 17:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1413#comment-4025</guid>
		<description><![CDATA[Because there no condition after connect by. SQL&gt; select rn from ( 2 select rownum rn 3 from dual 4 connect by rownum select rn from ( 2 select level rn 3 from dual 4 connect by level]]></description>
		<content:encoded><![CDATA[<p>Because there no condition after connect by. SQL&gt; select rn from ( 2 select rownum rn 3 from dual 4 connect by rownum select rn from ( 2 select level rn 3 from dual 4 connect by level</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Sinke</title>
		<link>http://technology.amis.nl/2006/11/27/dummy-data-without-dummy-tables-just-a-little-sql-trick-with-the-table-operator/#comment-4024</link>
		<dc:creator>Patrick Sinke</dc:creator>
		<pubDate>Wed, 29 Nov 2006 17:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1413#comment-4024</guid>
		<description><![CDATA[mydb&gt; select rownum
  2  from dual
  3  connect by rownum;
connect by rownum
                *
FOUT in regel 3:
.ORA-00920: invalid relational operator


Verstreken: 00:00:00.04
mydb&gt;


hhhm... this doesn&#039;t work here. Odd.]]></description>
		<content:encoded><![CDATA[<p>mydb&gt; select rownum<br />
  2  from dual<br />
  3  connect by rownum;<br />
connect by rownum<br />
                *<br />
FOUT in regel 3:<br />
.ORA-00920: invalid relational operator</p>
<p>Verstreken: 00:00:00.04<br />
mydb&gt;</p>
<p>hhhm&#8230; this doesn&#8217;t work here. Odd.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas Jellema</title>
		<link>http://technology.amis.nl/2006/11/27/dummy-data-without-dummy-tables-just-a-little-sql-trick-with-the-table-operator/#comment-4023</link>
		<dc:creator>Lucas Jellema</dc:creator>
		<pubDate>Mon, 27 Nov 2006 14:56:02 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1413#comment-4023</guid>
		<description><![CDATA[Thanks for all your comments. My reactions:

- Marco: the query against DUAL would be something like
SELECT &#039;Tobias&#039; FROM DUAL
UNION
SELECT &#039;Mike&#039; FROM DUAL
UNION
SELECT &#039;John&#039; FROM DUAL
etc.

I find that awkward.

- Francois: good point - although I probably would never remember the exact TYPE.

- Edwin: this would work but basically only for a set of numbers counting from 1 to somewhere. If you want to query strings or a specific set of numeric records, this does not help.]]></description>
		<content:encoded><![CDATA[<p>Thanks for all your comments. My reactions:</p>
<p>- Marco: the query against DUAL would be something like<br />
SELECT &#8216;Tobias&#8217; FROM DUAL<br />
UNION<br />
SELECT &#8216;Mike&#8217; FROM DUAL<br />
UNION<br />
SELECT &#8216;John&#8217; FROM DUAL<br />
etc.</p>
<p>I find that awkward.</p>
<p>- Francois: good point &#8211; although I probably would never remember the exact TYPE.</p>
<p>- Edwin: this would work but basically only for a set of numbers counting from 1 to somewhere. If you want to query strings or a specific set of numeric records, this does not help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edwin van Meerendonk</title>
		<link>http://technology.amis.nl/2006/11/27/dummy-data-without-dummy-tables-just-a-little-sql-trick-with-the-table-operator/#comment-4022</link>
		<dc:creator>Edwin van Meerendonk</dc:creator>
		<pubDate>Mon, 27 Nov 2006 14:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1413#comment-4022</guid>
		<description><![CDATA[in the sector &quot;useless queries&quot;, my five cents


select rownum
from dual
connect by rownum]]></description>
		<content:encoded><![CDATA[<p>in the sector &#8220;useless queries&#8221;, my five cents</p>
<p>select rownum<br />
from dual<br />
connect by rownum</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francois</title>
		<link>http://technology.amis.nl/2006/11/27/dummy-data-without-dummy-tables-just-a-little-sql-trick-with-the-table-operator/#comment-4021</link>
		<dc:creator>Francois</dc:creator>
		<pubDate>Mon, 27 Nov 2006 11:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1413#comment-4021</guid>
		<description><![CDATA[Hello,
You can obtain the same result without creating any type, but using existing ones:
SELECT * FROM   TABLE( sys.dbms_debug_vc2coll (&#039;John&#039;,&#039;Mike&#039;,&#039;Tobias&#039;) ) ;]]></description>
		<content:encoded><![CDATA[<p>Hello,<br />
You can obtain the same result without creating any type, but using existing ones:<br />
SELECT * FROM   TABLE( sys.dbms_debug_vc2coll (&#8216;John&#8217;,'Mike&#8217;,'Tobias&#8217;) ) ;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Gralike</title>
		<link>http://technology.amis.nl/2006/11/27/dummy-data-without-dummy-tables-just-a-little-sql-trick-with-the-table-operator/#comment-4020</link>
		<dc:creator>Marco Gralike</dc:creator>
		<pubDate>Mon, 27 Nov 2006 11:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1413#comment-4020</guid>
		<description><![CDATA[Could you explain why using DUAL is an awkward solution for the problem you demonstrated? Using the dummy table DUAL is, as you know, optimized for performance; Has this been changed; Are there equally good solutions now (like the ones which are mentioned above)?

Grz

Marco]]></description>
		<content:encoded><![CDATA[<p>Could you explain why using DUAL is an awkward solution for the problem you demonstrated? Using the dummy table DUAL is, as you know, optimized for performance; Has this been changed; Are there equally good solutions now (like the ones which are mentioned above)?</p>
<p>Grz</p>
<p>Marco</p>
]]></content:encoded>
	</item>
</channel>
</rss>
