oracle - How can i pass parameter to sql script? - Stack Overflow

oracle - How can i pass parameter to sql script? - Stack Overflow

瀏覽:311
日期:2025-10-02
SQL*Plus uses &1, &2... &n to access the parameters. Suppose you have the following script test.sql: SET SERVEROUTPUT ON SPOOL test.log EXEC dbms_output.put_line('&1 &2'); SPOOL off you could call this script like this for example: $ sqlplus login/pw @ .....看更多