Skip to content

Commit f57ec68

Browse files
authored
Merge pull request #15255 from julieMSFT/20200603_localization
update to behavior of localization
2 parents 4e910a1 + a2c5cf6 commit f57ec68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/t-sql/functions/formatmessage-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ FORMATMESSAGE ( { msg_number | ' msg_string ' } , [ param_value [ ,...n ] ] )
5353
## Remarks
5454
Like the RAISERROR statement, FORMATMESSAGE edits the message by substituting the supplied parameter values for placeholder variables in the message. For more information about the placeholders allowed in error messages and the editing process, see [RAISERROR (Transact-SQL)](../../t-sql/language-elements/raiserror-transact-sql.md).
5555

56-
FORMATMESSAGE looks up the message in the current language of the user. If there is no localized version of the message, the U.S. English version is used.
56+
FORMATMESSAGE looks up the message in the current language of the user. For system messages (*msg_number* <=50000), if there is no localized version of the message, the OS language version is used. For user messages (*msg_number* >50000), if there is no localized version of the message, the English version is used.
5757

5858
For localized messages, the supplied parameter values must correspond to the parameter placeholders in the U.S. English version. That is, parameter 1 in the localized version must correspond to parameter 1 in the U.S. English version, parameter 2 must correspond to parameter 2, and so on.
5959

0 commit comments

Comments
 (0)