You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
55
55
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.
57
57
58
58
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.
0 commit comments