Does SQLDeveloper support executing scripts?

后端 未结 6 854
梦毁少年i
梦毁少年i 2020-12-13 04:38

I was trying to follow some instructions today, and it starts with the comment


REM  In SQLPlus I manually copy in each line and execute it.
6条回答
  •  借酒劲吻你
    2020-12-13 04:55

    you can do it using sqlcl in the same way how you would do it using SQL PLUS, from command line:

    sqlcl user/password@host:port:sid @file.sql
    

    file should be in the same directory where sqlcl is.

    This solution is the best option if you are trying to execute a lot of instruction on sql file.

提交回复
热议问题