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