IBM Books

SQL Reference

REPEAT



>>-REPEAT--(--expression--,--expression--)---------------------><
 

The schema is SYSFUN.

Returns a character string composed of the first argument repeated the number of times specified by the second argument.

The first argument is a character string or binary string with a maximum length of 1048576 bytes. The second argument can be SMALLINT or INTEGER.

The result of the function is:

The result can be null; if any argument is null, the result is the null value.

Example:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]