Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

how to find the collation of a database.how can we migrate this databse to another server with default collation different Expand / Collapse
Author
Message
Posted Wednesday, November 18, 2009 6:04 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, February 13, 2013 1:19 AM
Points: 205, Visits: 499
how to find the collation of a database.how can we migrate this databse to another server with default collation different
Post #820755
Posted Wednesday, November 18, 2009 6:46 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Monday, February 11, 2013 8:27 AM
Points: 1,735, Visits: 1,947
Use the Following T-SQL Command

SELECT DATABASEPROPERTYEX('DBNAME', 'Collation') SQLCollation;

You can also right click on the database select properties. In the general page of the Properties window, the last property is Collation.



Bru Medishetty

Blog -- LearnSQLWithBru

Join on Facebook Page Facebook.com\LearnSQLWithBru

Twitter -- BruMedishetty
Post #820779
Posted Wednesday, November 18, 2009 6:49 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Monday, February 11, 2013 8:27 AM
Points: 1,735, Visits: 1,947
To copy the data, you need to create the new database with desired collation and use Import/Export wizard to copy the data onto that database (be it local or Remote Server)

This is a one time work, so I do not recommend creating SSIS Package.



Bru Medishetty

Blog -- LearnSQLWithBru

Join on Facebook Page Facebook.com\LearnSQLWithBru

Twitter -- BruMedishetty
Post #820782
Posted Wednesday, November 18, 2009 6:57 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, February 13, 2013 1:19 AM
Points: 205, Visits: 499
Bru Medishetty (11/18/2009)
Use the Following T-SQL Command

SELECT DATABASEPROPERTYEX('DBNAME', 'Collation') SQLCollation;

You can also right click on the database select properties. In the general page of the Properties window, the last property is Collation.


i am using sql server2000
Post #820795
Posted Wednesday, November 18, 2009 7:00 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Monday, February 11, 2013 8:27 AM
Points: 1,735, Visits: 1,947
shanila_minnu (11/18/2009)
Bru Medishetty (11/18/2009)
Use the Following T-SQL Command

SELECT DATABASEPROPERTYEX('DBNAME', 'Collation') SQLCollation;

You can also right click on the database select properties. In the general page of the Properties window, the last property is Collation.


i am using sql server2000


So what?



Bru Medishetty

Blog -- LearnSQLWithBru

Join on Facebook Page Facebook.com\LearnSQLWithBru

Twitter -- BruMedishetty
Post #820796
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse