I have, I believe, finally tracked down the mysterious message which has been appearing in my Toad script output: unknown command "list" - rest of line ignored. It happens when a semicolon is placed between two valid statements and then all lines are executed as a script or executed in Toad Script Runner. For example, I select these three lines and execute as script: select 'test' hi from dual; ; select 'hello' howdy from dual; I get this result: Time Start: 2/13/2017 4:49:05 PM HI -------------------------------- test 1 row selected. unknown command "list" - rest of line ignored. HOWDY -------------------------------- hello 1 row selected. Time End: 2/13/2017 4:49:05 PM Elapsed Time for Script Execution: 781 msecs If I send these three lines to SQL*Plus instead, I get this, where it seems that the single semicolon lists the previous statement: HI -------------------------------- test 1* select 'test' hi from dual HOWDY -------------------------------- hello I can only assume that when a blank statement is found, Toad tries and fails to treat it as the list command...?
↧