how to change collation on sysdiagram to default collation of database ?

  • I changed the default collation of a database and every table within that except sysDiagrams , which I can't even through the designer .

    does anybody know how to do it ?

  • Hi Farzad,

    When you say a table doesn't have the right collation: do you perhaps mean the columns are showing the wrong collation? Columns will keep the collation after they have been created unless explicitly altered. At least I have had that experience before.

    Regards,

    Jeremy

  • I made the database with collation "A" and the columns of that table were automatically created by that collation too.

    now I change the default collation on database to "B" but the column's collation are still in "A".

  • Changing the database collation won't change the collation of columns in existing user defined tables.

    Here's a link that explains: http://msdn.microsoft.com/en-GB/library/ms175835.aspx

  • well, you are right , but you can't change column's collation on "sysDiagrams" , look like SQl server consider it as special table.

    any one know how to change the column's collation on this table (sysDiagrams) ?

  • Why do you need to?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • GilaMonster (10/2/2014)


    Why do you need to?

    it's a task's requirement which is assigned to me .

  • farzad.jalali (10/2/2014)


    GilaMonster (10/2/2014)


    Why do you need to?

    it's a task's requirement which is assigned to me .

    Ok, why reason did the person assigning to have?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Dear GilaMonster,

    before we continue this conversation , do you mind if I ask you that : do you know how to change the collation on that tables's column ?

  • Yes... By doing nothing.

    Go have a look at the sysdiagrams table. Are there any columns in there that have a collation defined at all?

    Hence why I'm wondering why someone has given you a completely pointless task.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 10 posts - 1 through 9 (of 9 total)

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