Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this subquery possible in Oracle?
Message
From
18/03/2001 17:54:07
Les Chandra
Mastersoft Pty Ltd
Melbourne, Australia
 
General information
Forum:
Oracle
Category:
PL/SQL
Miscellaneous
Thread ID:
00485398
Message ID:
00486334
Views:
12
I'm curious: what does the specified syntax do in SQL Server?

I know in Oracle you can do something like

SELECT column1, (SELECT x FROM y WHERE q) AS column2 FROM table1;

This works provided that the inner select ("inline view") returns one row only.

Is this the same thing?

Les


>>Disclaimer: I don't have an Oracle testing environment or I would have tested this myself ;)
>>
>>In SQL Server a subquery such as
Select Column1 = <span style="background:yellow">(Select X From Y Where yadayada)</span>, Column2
>>From Table1
>>
>>is possible. Will it work in Oracle?
>>
>>
>>TIA
>
>No
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform