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

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » System Procedures » System procedures

xp_scanf system procedure Next Page

xp_sprintf system procedure


Builds a result string from a set of input strings.

Syntax

xp_sprintf(
output_buffer
, format
, parm [, parm2, ... ]
)

Arguments
Remarks

The xp_sprintf system procedure builds up a string using the format argument and the parm argument(s), and puts the results in output_buffer.

Permissions

None

See also
Example

The following statements put the string Hello World! into the result variable.

CREATE VARIABLE result CHAR(254);
Call xp_sprintf( result, '%s %s', 'Hello', 'World!' );