Collection Contents Index CREATE INDEX statement CREATE PROCEDURE statement pdf/chap9.pdf

Reference Manual
   CHAPTER 9. SQL Statements     

CREATE MESSAGE statement [T-SQL]


Function 

To add a user-defined message to the SYSUSERMESSAGES system table for use by PRINT and RAISERROR calls.

Syntax 

CREATE MESSAGE message-num
... AS 'message-text'

Permissions 

Must have resource authority

Side effects 

Automatic commit.

See also 

PRINT statement

RAISERROR statement

Description 

CREATE MESSAGE is provided in Adaptive Server Anywhere as an alternative to the sp_addmessage system procedure used in Adaptive Server Enterprise.

The replaceable text in the syntax is as follows:

There is no parameter corresponding to the language argument for sp_addmessage.

Standards and compatibility 


Collection Contents Index CREATE INDEX statement CREATE PROCEDURE statement pdf/chap9.pdf