Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
从数据库中删除消息。
DROP MESSAGE msgnum
无。
任何拥有对象或 DBA 特权的用户都可以执行 DROP MESSAGE 语句。
自动提交。清除 Interactive SQL 中 [结果] 窗格上 [结果] 选项卡中的内容。
SQL/2008 服务商扩充。
Transact-SQL DROP MESSAGE 提供由 Adaptive Server Enterprise 中的 sp_dropmessage() 系统过程提供的功能。
从数据库中删除 MyMessage。如果该消息不存在,则返回一条错误。
DROP MESSAGE MyMessage;