Change

Transformation for this command is pending

Description

The CHANGE command Changes the first occurrence of the specified text on the current line in the buffer. (Oracle SQL Plus User's Guide and Reference)

C[HANGE] sepchar old [sepchar [new [sepchar]]]

Snowflake does not have a direct equivalent to this command. The Snowflake !edit command can be used to edit the last query using a predefined text editor. Whenever this approach does not cover all the CHANGE functionality but it is an alternative.

1. Change command

Oracle

CHANGE /old/new/

SnowSQL (CLI Client)

-- ** MSC-WARNING - MSCEWI3... - CHANGE SQL*PLUS COMMAND IS NOT CURRENTLY SUPPORTED BY SNOWFLAKE. **
--CHANGE /old/new/

The code for the EWI is not defined yet.

Known Issues

1. Unsupported scenarios

The CHANGE command can be presented in various ways, of which 2 of them are not currently supported by the translator, these are presented below:

3  WHERE col_id = 1

Entering a line number followed by a string will replace the line regardless of the text that follows the line number. This scenario is not supported as this does not follow the command grammar.

CHANGE/OLD/NEW/

Enter the text to replace followed by the command without using spaces. This scenario is not supported since it does not follow the logic of tokenization by spaces.

No related EWIs.

Last updated