Viewing 11 posts - 1 through 12 (of 12 total)
This works- this is great. Thank you so much... Now I also see that there was a letter q after that nested query too which i thought was some kind...
March 17, 2005 at 9:16 am
ah, you have to name the nested query. it does work. this has to be a new feature. it's been a few years since i've used ms sql. in oracle...
March 17, 2005 at 9:08 am
i'm just testing the nested query
select * from (select * from anytable)
if you are going to test it- use any table. run it on dual
as far as compatability goes- it's...
March 17, 2005 at 9:06 am
quoted from this article
http://www.aspfree.com/c/a/MS-SQL-Server/Subqueries-and-Query-Expressions/6/
"Conceptually, SQL should let you substitute the view definition right into the query, like this:
SELECT MFR, PRODUCT, SUM (QTY)
...
March 17, 2005 at 8:02 am
you can however use a nested subquery in a where statement on sql server but not the from. i would love to be proven wrong.
March 17, 2005 at 7:57 am
not on my server. what version do you use? i'm talking about microsoft sql server. i'm on 7. are you really able to do this? i can't get around the...
March 17, 2005 at 7:44 am
except that selecting from select statements is not legal in sql server. unless i've been wrong all these years and they've changed something.
select * from (select * from tblCompSR_cross)...
March 16, 2005 at 3:04 pm
Hi- I'll explain further...
I have 3 tables- all 3 tables contain information about processes which are identified by prid- that's the id of the process. The prid is unique...
March 16, 2005 at 2:37 pm
oh- just realized i never specified ms sql server. sorry.
March 16, 2005 at 2:09 pm
Hmm, I've never been able to select from a query in ms sql server- that's only one of the many errors this gives me
March 16, 2005 at 2:08 pm
Viewing 11 posts - 1 through 12 (of 12 total)