In the following example, a message is received and the value of the short property myshortproperty is output to the database
server messages window:
begin
declare @msgid varchar(128);
declare @prop smallint;
set @msgid = ml_qa_getmessage( 'myaddress' );
set @prop = ml_qa_getshortproperty( @msgid, 'myshortproperty' );
message 'message property myshortproperty is set to ' || @prop;
commit;
end