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