Forum Discussion

GertjanA's avatar
GertjanA
Moderator
14 years ago
Solved

EV9 SQL2005 changing collation

Hello all,

Customer is trying to change the collation, using the scipt provided by MS. (link follows shortly)

Script fails somewhere with below error:

ALTER TABLE [dbo].[ReportSettings] DROP CONSTRAINT [PK_ ReportSettings]
ALTER TABLE [dbo].[RetentionCategoryEntry] DROP CONSTRAINT [PK___12__10]
ALTER TABLE [dbo].[RetentionPolicy] DROP CONSTRAINT [PK_RetentionPolicy]
ALTER TABLE [dbo].[RetentionPolicyRuleMapping] DROP CONSTRAINT [PK_RetentionPolicyRuleMapping]
ALTER TABLE [dbo].[udf_TypeBitmaskConverter] DROP CONSTRAINT [PK__udf_TypeBitmaskC__550B8C31]
Msg 4909, Level 16, State 1, Line 1
Cannot alter 'dbo.udf_TypeBitmaskConverter' because it is not a table.
--DROP PK FAILED. SEE ERROR LOG FOR DETAILS.
Msg 50000, Level 16, State 1, Line 1378
DROP PK FAILED. SEE ERROR LOG FOR DETAILS.

Does anyone know how to fix?

This is on the Directory database. EV9.0SP2

  • Hi Gertjan

    Good news. It's an easy mistake to make. I'm thinking of doing this in the new version:

     

     

    Database

    Version

    Filename

    Vaultstore

    EV2007 and lower

    VaultStoreDB_X_ViewsStoredProcs.sql

    Directory

    EV2007 and lower

    DirectoryDB_X_ViewsStoredProcs.sql

     

     

     

    Vaultstore

    EV8 and higher

    VaultStoreDB_X_Programmability.sql

    Directory

    EV8 and higher

    DirectoryDB_X_Programmability.sql

     

     

     

    Monitoring

    ALL

    EVOM_X_ViewsStoredProcs.sql

    FSAReporting

    ALL

    FSAReporting_X_ViewsStoredProcs.sql

     

    which should make it easier.......

    Keep this open and check it on your return - hopefully the docs should be released by then....

21 Replies