Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Derived tables in FROM clause?

Author  Topic 

IU84
Starting Member

3 Posts

Posted - 2003-11-29 : 01:09:10
Need to know if MSSQL (any version...) supports the concept of Derived Tables in the FROM clause. Something to the effect of:
Select
DT.foo
from
(Select foo from bar) as DT
where
DT.foo = 'foobar' ;

thx,
IU84

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2003-11-29 : 01:16:13
Did you try it ?

Yes, it does.


Damian
Go to Top of Page

IU84
Starting Member

3 Posts

Posted - 2003-11-29 : 22:52:24
Thanks.
No, I didn't try it. I don't have the software. We're considering a conversion from our current DBMS, and I'm in the research phase.

IU84
Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2003-11-29 : 23:09:52
Ahhh

There is an evaluation version on Microsoft's site. You should go grab it for testing.


Damian
Go to Top of Page

nr
SQLTeam MVY

12543 Posts

Posted - 2003-11-29 : 23:50:01
You can also get the developer edition for about $50 I think.
All version support t-sql but there are some features that aren't available. CE is the only edition that is very different.
see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/architec/8_ar_ts_7eur.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/architec/8_ar_ts_1cdv.asp

It might also be worth getting a copy of inside sql server which includes the evaluation edition.
http://www.sqlteam.com/store.asp


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -