Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Partition function help

$
0
0

I have a partition function created as follows:

CREATEPARTITIONFUNCTION[IQPFN_CorpNumberRight](int)ASRANGE RIGHTFORVALUES (1, 6000, 12000, 18000, 24000)

I want to now add: , 30000, 36000, 42000 to the right of , 24000 to make new partitions as values above 24000 are inserted into the table.

How do I do this?   Do I have to do the following?

DROPPARTITIONFUNCTION[IQPFN_CorpNumberRight]

GO

CREATEPARTITION FUNCTION [IQPFN_CorpNumberRight](int)ASRANGE RIGHTFORVALUES (1, 6000, 12000, 18000, 24000, 30000, 36000, 42000)

GO

Thanks in advance,

Andre


André


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>