Get execution time of sql script in oracle sqlplus

后端 未结 5 1138
既然无缘
既然无缘 2021-02-13 11:38

I have a script that i use to load my data into my tables in Oracle (by a list of insert statements). How can i get the execution time of the entire loading process? I have trie

5条回答
  •  一个人的身影
    2021-02-13 12:16

    Not sure why everybody is making it so complex. Simple as:

    SQL> set timing on
    SQL> select 1 from dual;
    
             1
    ----------
             1
    
    1 row selected.
    
    Elapsed: 00:00:00.00
    SQL> 
    

提交回复
热议问题