Define SQL Server Partition Functions
A partition function is the function that specifies how a table or index is partitioned. Use the SQL Server Partition Function Editor to define the properties of the partition boundaries in a SQL Server 2008, 2012, 2014, or 2016 physical model.
To define SQL Server partition functions
- Click Target - SQL Server, Partition, Functions on the Model menu.
The SQL Server Partition Function Editor opens.
- Select the partition function in the Navigation Grid that you want to define and work with the following options:
Note: Click New
on the toolbar to create a new partition function. Use the Enter filter text box to filter a very large list of partition functions to quickly locate the one that you want to define.
- Name
Displays the partition function name. You can change the partition function name in this field.
- Physical Data Type
Specifies the data type of the column used for the partition. Select a data type from the drop-down list.
- Collation
Specifies the default collation for the database. Enter the collation value in the column. If collation is not specified, the default collation of SQL Server is assigned.
- Generate
Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.
- Click the General tab and work with the following options:
- Range Partition Boundary Side
Specifies if the range partition boundary is from the left or the right. Select one of the options from the drop-down list.
- Boundary Values
Defines the boundary values for a partition function. The boundary value is a user-defined value for each partition. Click New
on the toolbar to define a new boundary value or select one of the existing values and edit it.
- (Optional) Click the Comment tab and enter any comments that you want to associate with the object.
- (Optional) Click the Where Used tab to view where the object is used within the model.
- (Optional) Click the UDPtab to work with user-defined properties for the object.
- (Optional) Click the Notestab to view and edit user notes.
- (Optional) Click the Extended Notes tab to view or edit user notes.
- Click Close.
The partition function is defined and the SQL Server Partition Function Editor closes.
Copyright © 2018 erwin, Inc.
All rights reserved.
|
|