Assigns or changes the alias for an alternate language.
sp_setlangalias language, alias
is the official language name of the alternate language.
is the new local alias for the alternate language.
sp_setlangalias french, français
This command assigns the alias name “français” for the official language name “french”.
alias replaces the current value of syslanguages.alias for the official name.
The set language command can use the new alias in place of the official language name.
Only a system administrator can execute sp_setlangalias.
Values in event and extrainfo columns from the sysaudits table are:
Event |
Audit option |
Command or access audited |
Information in extrainfo |
---|---|---|---|
38 |
exec_procedure |
Execution of a procedure |
|
Commands set
System procedures sp_addlanguage, sp_droplanguage, sp_helplanguage