Hash partitioning script

The use of this script is described in

Use Hash Partitioning with a Computed Column

and

should be customized for purposes of your implementation.

Performance monitoring and tuning tools