Skip to content

This script is created for SQL Server 2012 and above. The script is designed for creating table partitions based on date (monthly basis) as the primary key.

License

Notifications You must be signed in to change notification settings

AasishKumarSharma/SQLServerTablePartitionScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

SQL Server Table Partition Script

Attention !!!

  • This script is created for SQL Server 2012 and above.
  • The script is designed for creating table partitions based on date (monthly basis) as the primary key.
  • This script will select the latest partition filegroup (if already created) and generate a script to create another filegroup.
  • This will also create the partition schema name and schema function.
  • In short, it will generate all the necessary scripts you just need to change it before execution as per your requirement.

About

This script is created for SQL Server 2012 and above. The script is designed for creating table partitions based on date (monthly basis) as the primary key.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages