Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
文字列を指定された回数だけ連結します。
REPLICATE( string-expression, integer-expression )
string-expression 繰り返される文字列。
integer-expression 文字列を繰り返す回数。
LONG VARCHAR
実際の結果文字列の長さが戻り値の最大長を超えると、エラーが発生します。この場合、結果は文字列に使用できる最大サイズまでトランケートされます。
この関数の動作は、REPEAT 関数と同じです。
SQL/2008 ベンダー拡張。
次の文は、値 repeatrepeatrepeat を返します。
SELECT REPLICATE( 'repeat', 3 );