Purpose
Discards all row versions associated with a workspace and deletes the workspace in the database (Oracle 9i or later). You can issue this statement from the MapBasic window in MapInfo Pro.
Syntax
Server ConnectionNumber Remove
Workspace WorkspaceName
ConnectionNumber is an integer value that identifies the specific connection.
WorkspaceName is the name of the workspace. The name is case sensitive.
Description
This statement only applies to Oracle9i or later. This operation can only be performed on leaf workspaces (the bottom-most workspaces in a branch in the hierarchy). There must be no other users in the workspace being removed.
Examples
The following example removes the MIUSER workspace in the database.
Dim hdbc As Integer
hdbc = Server_Connect("ORAINET", "SRVR=TROYNY;UID=MIUSER;PWD=MIUSER")
Server hdbc Remove Workspace "MIUSER"
See Also:
Server Create Workspace statement