Re: Any new analytic SQL Features in SQL2005?
From: Steve Kass (skass_at_drew.edu)
Date: 07/20/04
- Next message: David Portas: "Re: SQL Query Question/Solution needed"
- Previous message: David Portas: "Re: How to select rows with duplicate value in one column?"
- In reply to: Leander: "Any new analytic SQL Features in SQL2005?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Jul 2004 16:00:43 -0400
Leander,
SQL Server 2005 is slated to provide several analytic functions not
part of the current version: RANK, DENSE_RANK, NTILE, ROW_NUMBER, to
name a few, as well as quite a few other new language features, like
PIVOT and UNPIVOT, OUTER APPLY and CROSS APPLY. Materialized views are
already a feature in SQL Server 2000, under the guise of user-defined
table-valued functions with parameters. I don't recall seeing plans to
add FIRST and LAST aggregates, but if those "work" in Oracle the way I
think they do, they aren't deterministic, and users who want similar
functionality will be able to define their own (deterministic) versions
in C#, VB.NET, or other languages, as they will be able to write custom
aggregates.
Yukon won't have a native facility for nested tables, but applications
that could benefit from them will be easier to write, either with help
from APPLY, or by packing the nested table values array-style with one
of the new types varbinary(max) or varchar(max).
There is already a GROUPING function in 2000, but I don't know what
might be in store for ROLLUP/CUBE.
Though you didn't ask about it, SQL Server 2005 will support recursive
queries, and they will offer a way to handle hierarchical data that
Oracle uses CONNECT BY for.
Steve Kass
Drew University
Leander wrote:
>Common Table Expressions introduced in SQL2005 is realy great thing.
>Now I wonder are there plan to add any new analytic SQL features which
>Oracle has since 9i version like:
>FIRST/LAST
>GROUP BY GROUPING SETS
>Composite Columns on ROLLUP/CUBE clause
>GROUPING, GROUPING_ID and GROUP_ID
>MATERIALIZED VIEW?
>Multiset Operations for Nested Tables
>
>
>
>
- Next message: David Portas: "Re: SQL Query Question/Solution needed"
- Previous message: David Portas: "Re: How to select rows with duplicate value in one column?"
- In reply to: Leander: "Any new analytic SQL Features in SQL2005?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|