Partition error

  • When I try to run following command, I get error. Partition field is a datetime and also checked the data, all the data has datetime value.

    ALTER PARTITION FUNCTION PFCLHFunction()

    SPLIT RANGE ('2010-06-31 23:59:59.997')

    GO

    Msg 7705, Level 16, State 2, Line 1

    Could not implicitly convert range values type specified at ordinal 1 to partition function parameter type.

    any idea. ?

  • It's fixed. the day is wrong. it should be 30 not 31.

    ALTER PARTITION FUNCTION PFCLHFunction()

    SPLIT RANGE ('2010-06-30 23:59:59.997')

    GO

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

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