1. Manage a BDomain¶
1.1. Add a BDomain¶
To add a BDomain use API_REDADM.ADD_BDOMAIN.
Example: add BDomain ‘TESTING’
1EXECUTE SCRIPT API_REDADM.ADD_BDOMAIN(
2 'TESTING' -- p_bdomain
3 ,'This is a Test-BDOMAIN' -- p_description
4);
After issuing this command an entry is added to RED_BDOMAINS.
BDOMAIN |
DESCRIPTION |
---|---|
TESTING |
This is a Test-BDOMAIN |
1.2. Modify a BDomain¶
For changing the description of a BDomain use API_REDADM.MODIFY_BDOMAIN. Providing NULL leaves the parameters as is, while a blank (’ ‘) restores the default value.
Example: change the description of BDomain ‘TESTING’
1EXECUTE SCRIPT API_REDADM.ADD_BDOMAIN(
2 'TESTING' -- p_bdomain
3 ,'Changed description' -- p_description
4);
The script above modifies the entry in the table RED_BDOMAINS as follows:
BDOMAIN |
DESCRIPTION |
---|---|
TESTING |
Changed description |
1.3. Remove a BDomain¶
To remove a BDomain use API_REDADM.REMOVE_BDOMAIN. A BDomain cannot be removed if it was already used in other metadata.
Example
1EXECUTE SCRIPT API_REDADM.REMOVE_BDOMAIN (
2 'TESTING' -- p_bdomain
3);
After the script above is issued the entry for the BDomain ‘TESTING’ is removed from the table RED_BDOMAINS.