Repeats a character expression.
| Category: | Character |
| Returned data type: | VARCHAR, NVARCHAR |
specifies any valid expression that evaluates to a character string.
| Data type | CHAR, NCHAR |
| See | <sql-expression> |
| FedSQL Expressions |
specifies the number of times to repeat expression.
| Restriction | n must be greater than or equal to 0. |
| Data type | INTEGER |
|
Statements
|
Results
|
|---|---|
select repeat('ONE',2); |
ONEONEONE |