Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » QAnywhere » QAnywhere SQL API Reference » Message properties, headers, and content » Message properties

ml_qa_setdoubleproperty Next Page

ml_qa_setfloatproperty


Sets the specified message property from a SQL FLOAT data type.

Parameters

Item

Description

Remarks

1

Message ID

VARCHAR(128). You can obtain the message ID from ml_qa_createmessage or ml_qa_getmessage.

2

Property name

VARCHAR(128)

3

Property value

FLOAT

Remarks

You cannot alter this property after the message has been sent.

See also
Example

In the following example, a message is created, the float properties myfloatproperty1 and myfloatproperty2 are set, and the message is sent to the address clientid\queuename:

begin
    declare @msgid varchar(128);
    set @msgid = ml_qa_createmessage();
    call ml_qa_setfloatproperty( @msgid, 'myfloatproperty1', -1.3e-5 );
    call ml_qa_setfloatproperty( @msgid, 'myfloatproperty2', 1.3e5 );
    call ml_qa_putmessage( @msgid, 'clientid\queuename' );
    commit;
end