Does SQLDeveloper support executing scripts?

后端 未结 6 863
梦毁少年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 05:16

    I was looking through the help files and found how to do it in SQL Developer Concepts and Usage->Using the SQL Worksheet->Script Runner.

    Basically, you have to precede the file name with an @. For example @C:\MyScript\Script.sql.

    You can then run a batch of them this way. Note that the command doesn't seem to like spaces in the file path.

提交回复
热议问题