Relational Database ServiceRelational Database Service

Compute
Elastic Cloud Server
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
Domain Name Service
VPC Endpoint
Cloud Connect
Enterprise Switch
Security & Compliance
Anti-DDoS
Web Application Firewall
Host Security Service
Data Encryption Workshop
Database Security Service
Advanced Anti-DDoS
Data Security Center
Container Guard Service
Situation Awareness
Managed Threat Detection
Compass
Cloud Certificate Manager
Anti-DDoS Service
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GaussDB NoSQL
GaussDB(for MySQL)
Distributed Database Middleware
GaussDB(for openGauss)
Developer Services
ServiceStage
Distributed Cache Service
Simple Message Notification
Application Performance Management
Application Operations Management
Blockchain
API Gateway
Cloud Performance Test Service
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
DevCloud
ProjectMan
CodeHub
CloudRelease
CloudPipeline
CloudBuild
CloudDeploy
Cloud Communications
Message & SMS
Cloud Ecosystem
Marketplace
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP License Service
Support Plans
Customer Operation Capabilities
Partner Support Plans
Professional Services
enterprise-collaboration
Meeting
IoT
IoT
Intelligent EdgeFabric
DeveloperTools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Help Center> Relational Database Service> User Guide> Working with RDS for SQL Server> Default Language Setting for Microsoft SQL Server
Updated at: Apr 02, 2022 GMT+08:00

Default Language Setting for Microsoft SQL Server

Scenarios

The default language option specifies the default language for logins. To set the default language, specify the langid value of the language you want. The langid value can be obtained by querying the sys.syslanguages compatibility view. For introduction to sys.syslanguages (Transact-SQL), see sys.syslanguages (Transact-SQL).

For more information, see Configure the default language Server Configuration Option.

For Microsoft SQL Server DB instances, you can set the default language by modifying the default language parameter in a DB instance or custom parameter template.

Modifying the Instance Parameter

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Database > Relational Database Service. The RDS console is displayed.
  4. On the Instance Management page, click the target DB instance.
  5. In the navigation pane on the left, choose Parameters. On the displayed page, enter default language in the search box.

    • The default language parameter specifies the default language for all newly created logins.
    • The default value of default language is 0, indicating that the default language is English.

  6. Set the default language value.

    Set default language to 30 and click Save. In the displayed dialog box, click Yes to set the default language to simplified Chinese.

  7. On the Change History tab, check that the value of default language has been successfully changed to 30.

    The change to default language takes effect immediately. You do not need to reboot the DB instance.

Modifying the Parameter in a Custom Parameter Template

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Database > Relational Database Service. The RDS console is displayed.
  4. Choose Parameter Template Management in the navigation pane on the left. On the Custom Templates page, click the target parameter template.
  5. On the displayed page, enter default language in the search box in the upper right corner.
  6. Set the default language value.

    Set default language to 30 and click Save. In the displayed dialog box, click Yes to set the default language to simplified Chinese.

  7. On the Change History tab, check that the value of default language has been successfully changed to 30.
  8. If you intend to apply a custom parameter template to DB instances, click Custom Templates, locate the target parameter template, and choose More > Apply in the Operation column.
  9. In the displayed dialog box, select one or more DB instances to which the parameter template will be applied and click OK.

    • A parameter template can be applied to one or more DB instances.
    • After you reset the parameter template, view the status of the DB instance to which the parameter template is applied in the DB instance list. If the status is Parameter change. Pending reboot, a reboot is required for the reset to take effect.
    • If you have modified parameters of a primary DB instance, you need to reboot the primary DB instance for the modifications to take effect. (For primary/standby DB instances, the parameter modifications are also applied to the standby DB instance.)
    • If you have modified parameters of a read replica, you need to reboot the read replica for the modifications to take effect.

  10. After the application is successful, locate the target parameter template on the Custom Templates page and choose More > View Application Record in the Operation column to view the application records.

Did you find this page helpful?

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel