After upgrading Toad for Oracle to version 13.2, Toad adds some unwanted procedures on the script tab in Schema Browser | Jobs.
See the code added below:
procedure CaptureOldAndSetNewNLS as
begin
select VALUE
into lang
from v$nls_parameters
where parameter = 'NLS_LANGUAGE';
execute immediate 'alter session set nls_language=ENGLISH';
end;
procedure RestoreNLS as
begin
execute immediate 'alter session set nls_language = ' || Lang;
end;