COPIES

2023-10-24 09:23:03  Updated

The COPIES function returns n copies of r that are concatenated together.

Syntax

UTL_RAW.COPIES (
     r IN RAW,
     n IN NUMBER)
  RETURN RAW;

Parameters

Parameter Description
r The RAW to be copied.
n The number of times of copying the RAW, which must be a positive number.

Return values

The RAW that has been copied for n times is returned.

Exceptions

Exception Description
VALUE_ERROR Errors may occur in the following cases:
  • r is missing, NULL, or 0 in length.
  • n < 1.
  • The length of the result exceeds the maximum length allowed for a RAW.

Contact Us