2

I'm following an APEX tutorial for beginners, but it does not explains a lot of things, so I have no clue about what I'm doing wrong.

I need to run this command on a sysdba command line :

BEGIN
APEX_INSTANCE_ADMIN.REMOVE_WORKSPACE(DEV_WORKSPACE, y, y)
END;

But it refuses to run. Each time I press the enter key, it creates a new numerated line.

How do I finish entering the command? It will run automatically, or I need to call it?

xihocipi
  • 45
  • 4
  • 2
    Have a look at [this](http://stackoverflow.com/questions/1079949/when-do-i-need-to-use-a-semicolon-vs-a-slash-in-oracle-sql), in particular the most voted answer. – Aleksej Apr 26 '17 at 14:53
  • [Have a look at this too](http://stackoverflow.com/q/20971731/266304). – Alex Poole Apr 26 '17 at 15:11
  • Thank you gile, aleksej and Poole. Oracle guides are chaotic. They assume that the reader knows everything else. – xihocipi Apr 26 '17 at 15:19

1 Answers1

1

Add a slash at the end of the command.

BEGIN
APEX_INSTANCE_ADMIN.REMOVE_WORKSPACE('DEV_WORKSPACE', 'y', 'y');
END;
/
xihocipi
  • 45
  • 4
gile
  • 5,580
  • 1
  • 25
  • 31