How to merge two partitions with the same name but two seperate ranges

  • I created a new parttion then executed an ALTER PARTITION SCHEME for it to be the next used and then executed ALTER PARTITION FUNCTION to set the date for spliting the range (2022-12-31). The range was incorrect so I executed the ALTER PARTITION FUNCTION to correct the range (2023-01-01) but wound up with two partions numbers. How do I merg or drop the one with thewrong range?

    PartitionNumber            FileGroupName                        TotalRows                 LowerBoundaryValue

    23                                       DB_DPARTITIONS_2023       331                                 2023-01-01

    22                                       DB_DPARTITIONS_2023        28                                  2022-12-31

  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply