<?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: SQL SERVER &#8211; SELECT * FROM dual &#8211; Dual Equivalent</title>
	<atom:link href="http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/</link>
	<description>SQL, SQL Server, MySQL, Big Data and NoSQL</description>
	<lastBuildDate>Wed, 19 Jun 2013 21:45:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: ma</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-476608</link>
		<dc:creator><![CDATA[ma]]></dc:creator>
		<pubDate>Thu, 16 May 2013 15:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-476608</guid>
		<description><![CDATA[you don&#039;t actually need 

select sysdate from dual in oracle

you can simply assign it

eg. today&#039;s adte := sysdate;

why can&#039;t you do similar in sqlserver?

why not just mention getdate() as opposed to select getdate().]]></description>
		<content:encoded><![CDATA[<p>you don&#8217;t actually need </p>
<p>select sysdate from dual in oracle</p>
<p>you can simply assign it</p>
<p>eg. today&#8217;s adte := sysdate;</p>
<p>why can&#8217;t you do similar in sqlserver?</p>
<p>why not just mention getdate() as opposed to select getdate().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Gates</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-467294</link>
		<dc:creator><![CDATA[Bill Gates]]></dc:creator>
		<pubDate>Wed, 01 May 2013 15:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-467294</guid>
		<description><![CDATA[Sql server is better than Oracle???? 

Yeah if you want a database that struggles with high user concurrent connectivity, handles locking of data in the most inefficient way possible, has poor tuning capability, isn&#039;t very scalable (compared to Oracle), handles locks/latches etc horribly, locks data when there is no need, can&#039;t perform anywhere near the capability of oracle, the list is almost endless.... 

I&#039;ve worked for numerous large banks and NONE use sqlserver as their main database, there are many many reasons for this.

To its credit Sqlserver is very easy to use, that&#039;s its attraction, but to say it is better than Oracle is at best uninformed and worst a total joke where you simply don&#039;t know the facts and are exposing your ignorance. 

Don&#039;t write Oracle off simply because as I suspect you have never used it properly and don&#039;t understand it.]]></description>
		<content:encoded><![CDATA[<p>Sql server is better than Oracle???? </p>
<p>Yeah if you want a database that struggles with high user concurrent connectivity, handles locking of data in the most inefficient way possible, has poor tuning capability, isn&#8217;t very scalable (compared to Oracle), handles locks/latches etc horribly, locks data when there is no need, can&#8217;t perform anywhere near the capability of oracle, the list is almost endless&#8230;. </p>
<p>I&#8217;ve worked for numerous large banks and NONE use sqlserver as their main database, there are many many reasons for this.</p>
<p>To its credit Sqlserver is very easy to use, that&#8217;s its attraction, but to say it is better than Oracle is at best uninformed and worst a total joke where you simply don&#8217;t know the facts and are exposing your ignorance. </p>
<p>Don&#8217;t write Oracle off simply because as I suspect you have never used it properly and don&#8217;t understand it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ApnarDeal</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-418125</link>
		<dc:creator><![CDATA[ApnarDeal]]></dc:creator>
		<pubDate>Tue, 05 Feb 2013 12:28:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-418125</guid>
		<description><![CDATA[Very useful article. Its really help me lot. Thanks.]]></description>
		<content:encoded><![CDATA[<p>Very useful article. Its really help me lot. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zishan Ahmed</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-418119</link>
		<dc:creator><![CDATA[Zishan Ahmed]]></dc:creator>
		<pubDate>Tue, 05 Feb 2013 12:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-418119</guid>
		<description><![CDATA[Fantastic solution. Really it resolved all confusion. Thanks again.]]></description>
		<content:encoded><![CDATA[<p>Fantastic solution. Really it resolved all confusion. Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karthik</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-415592</link>
		<dc:creator><![CDATA[Karthik]]></dc:creator>
		<pubDate>Thu, 31 Jan 2013 04:42:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-415592</guid>
		<description><![CDATA[He given a solution for those who had the doubt. For me its helpful because I know oracle and which is seemed to be difficult .... I suggest better you can give ur suggestion to Mricrosoft to enhance it....]]></description>
		<content:encoded><![CDATA[<p>He given a solution for those who had the doubt. For me its helpful because I know oracle and which is seemed to be difficult &#8230;. I suggest better you can give ur suggestion to Mricrosoft to enhance it&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slimieeel</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-415136</link>
		<dc:creator><![CDATA[Slimieeel]]></dc:creator>
		<pubDate>Wed, 30 Jan 2013 09:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-415136</guid>
		<description><![CDATA[Stupid post, select without a from lacks standards as Mickeysoft lacks standards all the time,]]></description>
		<content:encoded><![CDATA[<p>Stupid post, select without a from lacks standards as Mickeysoft lacks standards all the time,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karthik</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-411803</link>
		<dc:creator><![CDATA[Karthik]]></dc:creator>
		<pubDate>Wed, 23 Jan 2013 12:33:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-411803</guid>
		<description><![CDATA[Gud post]]></description>
		<content:encoded><![CDATA[<p>Gud post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BI guru</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-374255</link>
		<dc:creator><![CDATA[BI guru]]></dc:creator>
		<pubDate>Wed, 14 Nov 2012 23:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-374255</guid>
		<description><![CDATA[I&#039;m reading this and smiling in amusement at how tempers run high discussing something as trivial as whether SQL server has a dual table equivalent... and the rant about SQL server or Oracle which is &#039;better&#039;... May I make a humble observation: It doesn&#039;t matter. Oracle / SQL Server / MySQL / DB2.... they are but repositories for storing business and operational data. The value from storing that data is only achieved when consuming it in one form or another (reports, analytics) and most importantly drawing conclusions from the derived intelligence. If this is not possible - one may question &#039;why bother storing the information in the first place&#039;. For those of you who write highly complicated 3 page long SQL or PL/SQL code for a living- trust me. There is a better (and more PROFITABLE) world out there where you can leverage your data skills by assisting business people in their endeavours rather than spending your time worrying about which back-end system is &#039;best&#039; or which syntax is superior to which. Have a glance at the booming Business Intelligence industry - plenty of opportunities to take your honed technical skills and apply them in something that you may one day be able to discuss with your partner without them staring blankly at you. That&#039;s my 5 minute break gone - back to developing customer facing analytics... Best of luck in your careers!:-)]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m reading this and smiling in amusement at how tempers run high discussing something as trivial as whether SQL server has a dual table equivalent&#8230; and the rant about SQL server or Oracle which is &#8216;better&#8217;&#8230; May I make a humble observation: It doesn&#8217;t matter. Oracle / SQL Server / MySQL / DB2&#8230;. they are but repositories for storing business and operational data. The value from storing that data is only achieved when consuming it in one form or another (reports, analytics) and most importantly drawing conclusions from the derived intelligence. If this is not possible &#8211; one may question &#8216;why bother storing the information in the first place&#8217;. For those of you who write highly complicated 3 page long SQL or PL/SQL code for a living- trust me. There is a better (and more PROFITABLE) world out there where you can leverage your data skills by assisting business people in their endeavours rather than spending your time worrying about which back-end system is &#8216;best&#8217; or which syntax is superior to which. Have a glance at the booming Business Intelligence industry &#8211; plenty of opportunities to take your honed technical skills and apply them in something that you may one day be able to discuss with your partner without them staring blankly at you. That&#8217;s my 5 minute break gone &#8211; back to developing customer facing analytics&#8230; Best of luck in your careers!:-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ManDus</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-357254</link>
		<dc:creator><![CDATA[ManDus]]></dc:creator>
		<pubDate>Mon, 08 Oct 2012 09:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-357254</guid>
		<description><![CDATA[Workaround:

SELECT dual.dummy
  FROM (SELECT  &#039;X&#039; dummy ) dual]]></description>
		<content:encoded><![CDATA[<p>Workaround:</p>
<p>SELECT dual.dummy<br />
  FROM (SELECT  &#8216;X&#8217; dummy ) dual</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sorpigal</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-353395</link>
		<dc:creator><![CDATA[Sorpigal]]></dc:creator>
		<pubDate>Wed, 26 Sep 2012 19:36:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-353395</guid>
		<description><![CDATA[There&#039;s no need to join for that, even in oracle this should work:

insert into actions_log(operatorsid, actiontext) select o.id, &#039;actions etc&#039; from operators o where o.operatorcode = @opcode;]]></description>
		<content:encoded><![CDATA[<p>There&#8217;s no need to join for that, even in oracle this should work:</p>
<p>insert into actions_log(operatorsid, actiontext) select o.id, &#8216;actions etc&#8217; from operators o where o.operatorcode = @opcode;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-343669</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 13 Sep 2012 13:14:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-343669</guid>
		<description><![CDATA[Did you try the code that Pinal posted?]]></description>
		<content:encoded><![CDATA[<p>Did you try the code that Pinal posted?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-343661</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 13 Sep 2012 12:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-343661</guid>
		<description><![CDATA[It is done using a recursive CTE]]></description>
		<content:encoded><![CDATA[<p>It is done using a recursive CTE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janaki</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-343148</link>
		<dc:creator><![CDATA[Janaki]]></dc:creator>
		<pubDate>Wed, 12 Sep 2012 12:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-343148</guid>
		<description><![CDATA[Can you justify me your point,Pinal?]]></description>
		<content:encoded><![CDATA[<p>Can you justify me your point,Pinal?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janaki</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-343143</link>
		<dc:creator><![CDATA[Janaki]]></dc:creator>
		<pubDate>Wed, 12 Sep 2012 11:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-343143</guid>
		<description><![CDATA[Can you tell me what is the equivalent of &#039;level connect by &#039;of oracle in sql server2008?]]></description>
		<content:encoded><![CDATA[<p>Can you tell me what is the equivalent of &#8216;level connect by &#8216;of oracle in sql server2008?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soiled Eggman</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-331680</link>
		<dc:creator><![CDATA[Soiled Eggman]]></dc:creator>
		<pubDate>Thu, 16 Aug 2012 20:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-331680</guid>
		<description><![CDATA[@Egemen Soylu:

Quote: &quot;...you can’t run this sql anywhere but oracle ...&quot;

And it&#039;s the only place that you WOULD run it (and you&#039;d also be an unqualified, untrained, clueless web developer with an art degree (in the biggest, most disorganised mish-mash of UNIX-centrix crep out there)).

UNIX and Oracle are like Apple - a dying breed, in the minority, massively over-priced, massively unsupported (attitude of: better to restrict functionality - than support it), full of fan-boys, full of &#039;information squirrels&#039; (it took me 20 years to learn - why should I help you, noob?).

It say&#039;s it all that Oracle deals with banks - banks being responsible for bringing countries to their knees through corruption.

Good one Microsoft - keep your 99% coverage - let Oracle deal with the scum. Keep your business-model, with all users of all levels happy to help all others (that&#039;s why UNIX and Oracle and Apple are failing).

Show me &#039;dual&#039; in the SQL standards.
If it ain&#039;t there, then don&#039;t use it in customer solutions - period (that&#039;s called &#039;best-practise&#039;), and if you can&#039;t use it as best-practise, then it isn&#039;t very useful - is it?

You spouting about &#039;dual&#039; suggests that your customers have &#039;dual&#039; scattered about their solutions - I as your customer would be asking why have you given me a lead-weight as a solution?

I&#039;m having to learn PL / SQL atm and the help out there is so disjointed and &#039;non-standard&#039; - you may as well make up your own standards - as you go.
Oracle really is atrocious.

Faster with exponential maintenance cost is no competition against slower with predictable maintenance cost (it&#039;s only banks that don&#039;t need to care about cost - they simply invent a new thieving scam to cover it).

SE]]></description>
		<content:encoded><![CDATA[<p>@Egemen Soylu:</p>
<p>Quote: &#8220;&#8230;you can’t run this sql anywhere but oracle &#8230;&#8221;</p>
<p>And it&#8217;s the only place that you WOULD run it (and you&#8217;d also be an unqualified, untrained, clueless web developer with an art degree (in the biggest, most disorganised mish-mash of UNIX-centrix crep out there)).</p>
<p>UNIX and Oracle are like Apple &#8211; a dying breed, in the minority, massively over-priced, massively unsupported (attitude of: better to restrict functionality &#8211; than support it), full of fan-boys, full of &#8216;information squirrels&#8217; (it took me 20 years to learn &#8211; why should I help you, noob?).</p>
<p>It say&#8217;s it all that Oracle deals with banks &#8211; banks being responsible for bringing countries to their knees through corruption.</p>
<p>Good one Microsoft &#8211; keep your 99% coverage &#8211; let Oracle deal with the scum. Keep your business-model, with all users of all levels happy to help all others (that&#8217;s why UNIX and Oracle and Apple are failing).</p>
<p>Show me &#8216;dual&#8217; in the SQL standards.<br />
If it ain&#8217;t there, then don&#8217;t use it in customer solutions &#8211; period (that&#8217;s called &#8216;best-practise&#8217;), and if you can&#8217;t use it as best-practise, then it isn&#8217;t very useful &#8211; is it?</p>
<p>You spouting about &#8216;dual&#8217; suggests that your customers have &#8216;dual&#8217; scattered about their solutions &#8211; I as your customer would be asking why have you given me a lead-weight as a solution?</p>
<p>I&#8217;m having to learn PL / SQL atm and the help out there is so disjointed and &#8216;non-standard&#8217; &#8211; you may as well make up your own standards &#8211; as you go.<br />
Oracle really is atrocious.</p>
<p>Faster with exponential maintenance cost is no competition against slower with predictable maintenance cost (it&#8217;s only banks that don&#8217;t need to care about cost &#8211; they simply invent a new thieving scam to cover it).</p>
<p>SE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arhi</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-291402</link>
		<dc:creator><![CDATA[arhi]]></dc:creator>
		<pubDate>Thu, 31 May 2012 05:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-291402</guid>
		<description><![CDATA[@shekhar..select * from dual; here * means to select all columns present in dual.however since dual has only one column by the name Dummy ,it shows up only that column and the value contained in it ie X]]></description>
		<content:encoded><![CDATA[<p>@shekhar..select * from dual; here * means to select all columns present in dual.however since dual has only one column by the name Dummy ,it shows up only that column and the value contained in it ie X</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shekhar</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-272303</link>
		<dc:creator><![CDATA[Shekhar]]></dc:creator>
		<pubDate>Thu, 05 Apr 2012 07:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-272303</guid>
		<description><![CDATA[What does * mean in &quot;select * fom dual&quot;?]]></description>
		<content:encoded><![CDATA[<p>What does * mean in &#8220;select * fom dual&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yves</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-271297</link>
		<dc:creator><![CDATA[Yves]]></dc:creator>
		<pubDate>Tue, 03 Apr 2012 12:36:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-271297</guid>
		<description><![CDATA[A&#039;m not agree with.
The locks depend of you&#039;are ISOLATION LEVEL parameter.]]></description>
		<content:encoded><![CDATA[<p>A&#8217;m not agree with.<br />
The locks depend of you&#8217;are ISOLATION LEVEL parameter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WardMD</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-261153</link>
		<dc:creator><![CDATA[WardMD]]></dc:creator>
		<pubDate>Fri, 09 Mar 2012 16:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-261153</guid>
		<description><![CDATA[Anup Kumar,

Since it doesn&#039;t look like anyone has responded to you, “select seq_XXXXX.nextval from dual” (presumably from Oracle) returns the NEXT SEQUENCE NUMBER (aka &quot;next value&quot;) from the SEQUENCE &quot;seq_XXXXX&quot;.

This handy feature of Oracle allows for UNIQUE ids to be returned to MUTLIPLE queries (executing &quot;simultaneously&quot; [or as close to simultaneously as the scheduler will allow]).

THIS is another &quot;feature&quot; that cannot be mapped to SQL Server (espeically NOT with creating a DUAL table with a single column).]]></description>
		<content:encoded><![CDATA[<p>Anup Kumar,</p>
<p>Since it doesn&#8217;t look like anyone has responded to you, “select seq_XXXXX.nextval from dual” (presumably from Oracle) returns the NEXT SEQUENCE NUMBER (aka &#8220;next value&#8221;) from the SEQUENCE &#8220;seq_XXXXX&#8221;.</p>
<p>This handy feature of Oracle allows for UNIQUE ids to be returned to MUTLIPLE queries (executing &#8220;simultaneously&#8221; [or as close to simultaneously as the scheduler will allow]).</p>
<p>THIS is another &#8220;feature&#8221; that cannot be mapped to SQL Server (espeically NOT with creating a DUAL table with a single column).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richie</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-252391</link>
		<dc:creator><![CDATA[richie]]></dc:creator>
		<pubDate>Tue, 14 Feb 2012 10:59:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-252391</guid>
		<description><![CDATA[I&#039;ve got a similar example, is there a SQL Server way to do that is equivalently easy?

declare @opcode varchar(6)

SET @opcode = &#039;fred&#039;

Insert into actions_log(OperatorsID, ActionText)
select O.ID, &#039;Actions that might or might not have an operator associated&#039;
from dual 
left join operators O on operatorcode = @opcode

Pinal Dave is our hero!]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve got a similar example, is there a SQL Server way to do that is equivalently easy?</p>
<p>declare @opcode varchar(6)</p>
<p>SET @opcode = &#8216;fred&#8217;</p>
<p>Insert into actions_log(OperatorsID, ActionText)<br />
select O.ID, &#8216;Actions that might or might not have an operator associated&#8217;<br />
from dual<br />
left join operators O on operatorcode = @opcode</p>
<p>Pinal Dave is our hero!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravindra kumar</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-248899</link>
		<dc:creator><![CDATA[Ravindra kumar]]></dc:creator>
		<pubDate>Mon, 06 Feb 2012 10:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-248899</guid>
		<description><![CDATA[please explain the function of dual]]></description>
		<content:encoded><![CDATA[<p>please explain the function of dual</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Egemen Soylu</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-239474</link>
		<dc:creator><![CDATA[Egemen Soylu]]></dc:creator>
		<pubDate>Tue, 17 Jan 2012 15:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-239474</guid>
		<description><![CDATA[People saying &quot;I&#039;m using oracle but I don&#039;t know dual&quot;, 
&quot;Sql is better then Oracle&quot;
create a table contain &#039;X&#039; name dual then use dual...

Are you insane?

select &#039;anything you want&#039; from dual;
return -&gt; anything you want.

select function(param) from dual;
return -&gt; what function returns.

select builtinFunctions from dual;
return -&gt; what function returns.

you CANNOT achieve a functionality of the magical dual table by creating single column single record table. 

you CANNOT compare sql s*it with Oracle (by the way its name is Oracle =)

you can create a &quot;PRIMARY KEY&quot; constraint on column which has duplicated records with sql, where is integrity?

you can&#039;t run this sql anywhere but oracle

select f_giantCalculator(f_anotherFunctionThatOnlyReturnsAnId(complicatedTable.id), anotherFunctionProvideSomethingToGiantCalculator(complicatedTable.sillyColumn)) from complicatedTable
where complicatedTable.color = f_colorChooser(&#039;mycolor&#039;);

aaah, I&#039;m using mysql for web projects, it does&#039;nt care if i using php or .net Single thing to do with sql server is uninstall it and don&#039;t criticize about Oracle without knowledge you expert.

Do you know what Microsoft says  to Communication or Bank IT&#039;s?
&quot;We cannot provide service for your demands,  go to Oracle&quot;]]></description>
		<content:encoded><![CDATA[<p>People saying &#8220;I&#8217;m using oracle but I don&#8217;t know dual&#8221;,<br />
&#8220;Sql is better then Oracle&#8221;<br />
create a table contain &#8216;X&#8217; name dual then use dual&#8230;</p>
<p>Are you insane?</p>
<p>select &#8216;anything you want&#8217; from dual;<br />
return -&gt; anything you want.</p>
<p>select function(param) from dual;<br />
return -&gt; what function returns.</p>
<p>select builtinFunctions from dual;<br />
return -&gt; what function returns.</p>
<p>you CANNOT achieve a functionality of the magical dual table by creating single column single record table. </p>
<p>you CANNOT compare sql s*it with Oracle (by the way its name is Oracle =)</p>
<p>you can create a &#8220;PRIMARY KEY&#8221; constraint on column which has duplicated records with sql, where is integrity?</p>
<p>you can&#8217;t run this sql anywhere but oracle</p>
<p>select f_giantCalculator(f_anotherFunctionThatOnlyReturnsAnId(complicatedTable.id), anotherFunctionProvideSomethingToGiantCalculator(complicatedTable.sillyColumn)) from complicatedTable<br />
where complicatedTable.color = f_colorChooser(&#8216;mycolor&#8217;);</p>
<p>aaah, I&#8217;m using mysql for web projects, it does&#8217;nt care if i using php or .net Single thing to do with sql server is uninstall it and don&#8217;t criticize about Oracle without knowledge you expert.</p>
<p>Do you know what Microsoft says  to Communication or Bank IT&#8217;s?<br />
&#8220;We cannot provide service for your demands,  go to Oracle&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: G</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-203492</link>
		<dc:creator><![CDATA[G]]></dc:creator>
		<pubDate>Thu, 24 Nov 2011 07:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-203492</guid>
		<description><![CDATA[I dont agree .. dual is lot more what is given here.

do we have equivalent for 
 SELECT 1
FROM DUAL
CONNECT BY LEVEL &lt;= 

in sql server.]]></description>
		<content:encoded><![CDATA[<p>I dont agree .. dual is lot more what is given here.</p>
<p>do we have equivalent for<br />
 SELECT 1<br />
FROM DUAL<br />
CONNECT BY LEVEL &lt;= </p>
<p>in sql server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup Kumar</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-180859</link>
		<dc:creator><![CDATA[Anup Kumar]]></dc:creator>
		<pubDate>Wed, 19 Oct 2011 16:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-180859</guid>
		<description><![CDATA[Hi Pinal,

in one of the app am supporting i found that a select statement is being used to retrieve value from dual table:
&quot;select seq_XXXXX.nextval from dual&quot; and as i saw the dual table has only 1 column i think its not able to proceed with the next value and here its failing. correct me if i am wrong... and suggest me what shall i do?

Thanks in Adv.

Anup Kumar]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>in one of the app am supporting i found that a select statement is being used to retrieve value from dual table:<br />
&#8220;select seq_XXXXX.nextval from dual&#8221; and as i saw the dual table has only 1 column i think its not able to proceed with the next value and here its failing. correct me if i am wrong&#8230; and suggest me what shall i do?</p>
<p>Thanks in Adv.</p>
<p>Anup Kumar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep</title>
		<link>http://blog.sqlauthority.com/2010/07/20/sql-server-select-from-dual-dual-equivalent/#comment-169434</link>
		<dc:creator><![CDATA[Sandeep]]></dc:creator>
		<pubDate>Mon, 19 Sep 2011 02:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9603#comment-169434</guid>
		<description><![CDATA[Thanks for the Post. :  ) It was of help.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the Post. :  ) It was of help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
