question

Mukunda avatar image
Mukunda asked

Table Partitioning Question

Is it possible to create a partitoin on a Logical Key.

There is TableA with Columns PkId & FkId FkId is the PrimaryKey of TableB. TableB also has a date column CreateDate. Is it possible to create a partition on TableA, with partition Key being the Year of TableB's Date Column(CreateDate) without having the year as a column on TableA?

Thanks, Mukunda

sql-server-2008sql-server-2005database-designpartitioning
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Michael Haren avatar image
Michael Haren answered

Sorry, I don't think this is possible without bringing your partition key back into TableA.

Here's some more info on partitioning for you or the next reader.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.