Installation and setup of the Sybase charset character set

Source: Internet
Author: User
Tags sybase sybase database

1, installing the character set

For example, installing cp036:

1) Install cp936

>CD c:\\sybase\charsets\cp936

C:\sybase\charsets\cp936>charset-usa-ppassword-sserver BINARY.SRT cp936

2) Query the character set ID of the cp936:

Open the Program \sybase\adaptive Server enterprise\interactive SQL tool, connect the Sybase database, execute SQL:

> select Name,id from Syscharsets

The ID of the cp936 is 171.

3) Execute the following command in the interactive SQL tool and set the default encoding to cp936:

> sp_configure "default character Set ID", 171

4) Find the Sybase service in the service, restart two times, the first reboot may fail, ignore him continue to restart


When connecting a Sybase database, it is important to ensure that the encoding specified by the connection string (charset=cp936) is consistent with the encoding of the database

This article is from the "small Hebebe Technology Space" blog, please be sure to keep this source http://babyhe.blog.51cto.com/1104064/1543932

Installation and setup of the Sybase charset character set

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.