sp_dropmessage

Description

Drops user-defined messages from sysusermessages.

Syntax

sp_dropmessage message_num [, language]

Parameters

message_num

is the message number of the message to be dropped. Message numbers must have a value of 20000 or higher.

language

is the language of the message to be dropped.

Examples

Example 1

Removes the French version of the message with the number 20002 from sysusermessages:

sp_dropmessage 20002, french

Usage

Permissions

Only the Database Owner, a System Administrator, or the user who created the message being dropped can execute sp_dropmessage.

See also

System procedures sp_addmessage, sp_getmessage