I'm studing the partitions of SQL2005 for future implementation and I have some questions to make:
* Can I associate more then on Partitions Functions to a table
With this feature I want to know if I can have partitions combined with 2 or more table columns.
CREATE TABLE [dbo].[OrdersRange]
(
[OrderID]
[int]
NOT NULL,
[OrderType]
[int]
NOT NULL,
[OrderValue] [money] NOT NULL,
[OrderDate] [datetime] NULL
)
ON OrderDateSchme(OrderDate)
ON OrderTypeRange(OrderType)
GO
This return error. Can I do this any other way
* There is any way to create a rule to create ranges
My client want to have dayllie partitions. The is any way to say that
to the system insted of create anything in my program that every day
create a SPLIT in the Partitions Functions
Hope you can ask this small questions about partitions in SQL2005
tkx in advance
Paulo Aboim Pinto
Odivelas - Portugal

Partition tables in SQL Server 2005
MC8005
JCBS
If you want to partition by more than one column, you'll need to create a computed column (which can be the result of a user-defined function) and then partition over this.
In our experience, this covers most of the basic partitioning cases.
Conor Cunningham
SQL Server Query Optimization Development Lead