Skip to main content

ALTER SOURCE

Use the ALTER SOURCE command along with RENAME TO to modify the existing source name.

Syntax

ALTER SOURCE current_source_name
RENAME TO new_source_name;

Parameters

Parameter or clauseDescription
current_source_nameThe current name of the source you want to modify.
RENAME TOIndicates the intention to rename the specified source.
new_source_nameThe new name you want to assign to the source object.

Example

ALTER SOURCE src
RENAME TO src1;

Help us make this doc better!