mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-14 00:01:30 -04:00
14 lines
336 B
SQL
14 lines
336 B
SQL
whenever sqlerror exit failure rollback
|
|
set verify off
|
|
|
|
accept old_script_name char prompt 'Enter the old script name: ';
|
|
accept new_script_name char prompt 'Enter the new script name: ';
|
|
|
|
update scripts
|
|
set script='&&new_script_name'
|
|
where script='&&old_script_name';
|
|
|
|
UNDEFINE new_script_name
|
|
UNDEFINE old_script_name
|
|
set verify on
|