xihocipi
xihocipi

Reputation: 45

ORACLE - How do I run a begin/end command in sqlplus command line

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?

Upvotes: 2

Views: 2834

Answers (1)

gile
gile

Reputation: 5976

Add a slash at the end of the command.

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

Upvotes: 1

Related Questions