Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table default collation

Status
Not open for further replies.

rsx

Programmer
Dec 12, 2002
28
CA
Hello,

When I a run a script to create tables (SQL Server 2000), I notice that columns defined with char are given a collation by default:

COLLATE Latin1_General_BIN

How do I remove this? Could this be responsible for slow retrieval via MS Access linkage?

Thank you.
 
In Query analyser, run this in the database your table is in.
ALTER TABLE Table_Name ALTER COLUMN ColName
datatype COLLATE collation_you_want

To change the defalut collation for the database, do a

ALTER DATABASE DBName COLLATE collation_you_want.
Note that the new collation for the database will be applied on objects created hereafter.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top