Go Back To Code List
[SQL Server]
Current Code Entry
Next Code Entry
Create a Database
Right Arrow
Create a Database for Production Servers with Unicode Character Support
Article Entry Date: May 20,2022 @ 03:36:17 / Last Updated On: May 24,2022 @ 05:08:49
We will create a database ready for a production server.
(For learning and testing, please check out out "Create a Database«" article, which is not as in-depth and more suited for learning)


    Create a new Database named, [Test]
  1. Right-click on [Databases]
  2. Choose [New Database]
  3. When Dialog opens.
  4. Database Name: [Test]
  5. [Database files]:
  6. The Path for each will be crucial during your database production on a live server.
    [ROWS Data]: F:\SQLData
    [Log]: G:\SQLLog
    However, if you are working with a basic setup machine, this will be set as defaulted to your C:\ drive.
  7. Click on Options
  8. [Collation]: (Selecting the appropriate term will allow certain character types to keep their appearance in your database.
    There is a long list, so choose the right one for your needs.) Recovery Model: (Choose either Full or Simple - For testing purposes, it is best to choose Simple, for Production, choose Full)
  9. Choose [OK]


    When dealing with accented characters, choose
  1. [collation] = sql_latin1_general_cp1_ci_as
  2. [Data Type] = For all the Columns you need to accept accented characters. Set their character set as [nvarchar].


In your Classic ASP code, you will need to have the following. Take note of the ADO constants, [adLongVarWChar]

For [ASP.NET] you will not have to add the above to your code.

You will then be able to insert words with characters like these examples.
Dvořák Hall
Nürnberg Messezentrum Halle