PDA

View Full Version : Collation


ElMaco
2001-06-27, 13:50
Är collation något som är specifikt för SQL 2000? Man kan inte skriva...


ALTER TABLE companies
COLLATE FINNISH_SWEDISH_CS_AS


... i SQL 7.0?

Hur ändrar man i så fall lämpligen sortering och teckenkänslighet?

/M.

------------------
To understand recursion, we must first understand recursion.

@nders
2001-06-27, 13:52
svar ja.

i version 7 får du installera om sql server eller bygga om masterdatabasen.

det hade du nog fått reda på om du sökt lite grann... ;)

------------------
<A HREF="http://cartman.nu" TARGET=_blank>
can i borrow your goat?
</A>

ElMaco
2001-06-27, 13:54
Mmm... hittade det nu. Tack iaf.



Changing Sort Order, Character Set, Unicode Collation after Installation

Backup object definitions you wish to preserve by using Enterprise Manager to create scripts.

Export data using DTS or BCP

Rebuild master database using rebuildm utility, specifying new sort order, character set, or unicode collation. (You will need the installation CD)

Create databases using EM or CREATE DATABASE statement

Create objects using scripts generated in step 1.

Import data using BCP or DTS.


http://www.cnindex.net/~tzlf/sql7/en/sql7adm.htm



------------------
To understand recursion, we must first understand recursion.