我在sqlplus中遇到問題,無法執行腳本來創建存儲過程。當我嘗試運行該腳本,我得到以下錯誤: PLS-000103: Encountered the symbol "CREATE" when expecting one of the following: begin function pragma procedure subtype type current cursor delete exis
我有這個在sqlplus運行 spool TypeDrop.sql
select distinct 'drop type '||object_name|| ';' from user_objects where object_type='TYPE';
spool off
它打印出來TypeDrop.sql: SQL> select distinct 'drop type '||object
我有兩臺計算機具有不同的首選項爲sql開發人員和sqlplus。我試圖讓它們等同。當我說一個show linesize時,它返回-1。但是,如果我set linesize -1另一方面,它返回一個錯誤說,它不是一個有效的選項: SP2-0268: linesize option not a valid number
如何設置的LINESIZE爲-1?我更喜歡這個值,因爲它似乎不包裝。