Functions of Create
Collection Type
Supports :
This section explains how to create alterable tile or implicated tables. To create a collection type, the user is required of CREATE TYPE or CREATE ANY TYPE privilege.
Connect to database.
On the main menu bar, go to Create>Collection Type.
Enter a name for the new collection and choose a schema.
Choose a tile type or a table type. Choose a data type and enter a value.
Click [View SQL] and check the generated SQL statements. Click [OK] and check the result.
Constraints
Supports :
This section explains how to create default, check, unique, and foreign key.
- Connect to database.
- On the main menu bar, go to Create>Constraints.
- Specify a name and a schema for constraints to be created.
- Select a table.
- Select [Foreign Key] on Constraints tab.
- Select a destination table column and click [Add].
- Click [ON DELETE CASCADE].
- Set options on options set.
- Click [View SQL] to check the generated statements.
- Click [OK] to check the result.
Database Link
Supports :
This section explains how to access remote database by creating a database link. To create a link,’CREATE DATABASE LINK’ authority is required, and to create a public link, ‘CREATE PUBLIC DATABASE LINK’ authority is required.
- Connect to database.
- On the main menu bar, go to Create>Database Link.
- Enter a name for the link and choose a service name.
- Click [View SQL] and check the generated SQL statements.
- Click [OK] and check result.
- On the ‘Test Connection’ window, check connection and click [OK].
Note: Information for Oracle database connection is saved at tbdsn.tbr file.
Index
Supports :
Create Index in Database Table or Cluster.
- Connect to Database.
- On the main menu bar, go to Create>Index.
- Select a schema and enter a name.
- Set the size of a tablespace.
- On Tab, select a schema and a table.
- Select a column and click [Add Selected].
- On Storage Tab, enter size, transaction count, and space usage.
- Click [View SQL] and check the generated SQL statement.
- Click [OK] to confirm.
Jobs
Supports :
This section explains how to create new jobs on database.
- Connect to database.
- On the main menu bar, go to Create>Jobs.
- Choose Date/Time. Or choose from Repeating.
- Click [Search Procedure].
- Specify a type, schema, and object name. Click [OK].
- Check the result on run script.
- Click [OK] to check the result.
Object Type
Supports :
On database, select new attribute, method, and body to form an object type.
- Connect to database.
- On the main menu bar, go to Create>Object Type.
- Enter the name for the new object type and select schema.
- On ‘Attribute and method’ tab, click [Add].
- On ‘Add Attribute’ window, enter a name, select an object type, and click [OK].
- Click [Add Method].
- Enter a name and select a method type. And then click [Add Variables].
- On ‘Add Variables’ window, enter a name and select a mode.
- Select a data type and click [OK].
- Check the applied attribute and method.
- Click [SQL View] and check the generated sentences.
- Click [OK] to confirm result.
Redo Log Group
Supports :
This section explains how to create a new redo log group on database.
- Connect to database.
- On the main menu bar, go to Create>Redo Log Group.
- Enter a group name in number.
- Enter a file name in Redo Log Member. Or, click [Select File] to browse a file.
- Choose a file size.
- Click [View SQL] to check the generated SQL statements.
- Click ‘Ok’ to check the result.
Role
Supports :
Create a new role in Oracle Database. To create roles, users need a privilege to ‘CREATE ROLE’ and view ‘DBA_VIEWS’.
- Connect to Database.
- On the main menu, go to Create>Role.
- Enter a name and select an authentication method.
- On the Role Tab, select a role to grant and click [Grant Selected].
- Set System Privilege and Object Privilege.
- Click [View SQL] and view the generated statement.
- Click [OK] to confirm result.
Rollback Segment
Supports :
This section explains how to create rollback segment.
- Connect to database.
- On the main menu bar, go to Create>Rollback Segment.
- Enter a name and choose a tablespace.
- If the owner has DBA authority, it could be created to use in all instance.
- Choose a status and enter a value.
- Click [View SQL] and check the generated SQL statements.
- Click [Ok] and check the result.
Sequence
Supports :
This section explains how to create new sequence on database.
- Connect to database.
- On the main menu bar, go to Create>Sequence….
- Specify a name and a schema for the sequence to be created.
- Specify values and set Options. Specify cycle to generate sequence from the initial value when it reaches the maximum value, and specify ‘Sequential’ to number sequence in numerical order.
- Click [View SQL] and check the generated statements.
- Click [OK] and check the result.
Synonym
Supports :
This section explains how to create synonyms on database.
- Connect to database.
- On the main menu bar, go to Create>Synonym.
- Choose either Local or Remote.
- Choose a schema and an object type.
- Click [Search] or enter keyword value. You can filter with % when searching keyword.
- Select an object and click [Add]. Or simply double-click the object.
- Enter a name for the synonym. Select [All Public].
- Click [View SQL] and check the generated SQL statements.
- Click [OK] to check reseult.
Table
Supports :
Create Tables in Database.
- Connect to Database.
- On the main menu bar, go to Create>Table.
- Enter a name and select schema and table space.
- Enter comment.
- On Tab, enter column name and information.
- Enter value for constraints, storage, and Option.
- Click [View SQL] to check the generated statements.
- Click [Ok] to confirm the result.
Tablespace
Supports :
This section explains how to create a new table space on database.
- Connect to database.
- On the main menu bar, go to Create>Tablespace.
- Give a name to the tablespace to be created, and click [Add].
- ‘Add Data File’ window will open.
- Click [Find] and select a list of data files. Then, click [OK].
- Enter a file size on ‘Add Data File’ window and click [OK].
- Check the added data file and select a Status. If you are working online, the generated tablespace would be activated as soon as it is created; if you are working offline, it will be created in inactive form thus cannot be used right away.
- Select a type. “Persistent” is tablespace for general objects. “Temporary” is a tablespace for temporary objects.
- Click [Option] on Storage tab.
- Click [View SQL] and check the autogenerated SQL statements.
- Click [OK] and check the result.
User
Supports :
This section explains how to create a new user on database. To create a new user, you must be privileged to ’CREATE USER’ and to view ‘DBA_VIEWS’.
- Connect to database.
- On the main menu bar, go to Create>User.
- On the ‘User Information’ tab, enter a user name and select an authentication method.
- Database authentication requires password to log in. Operating system authentication requires OS user authentication.
- Choose a default value for table space and select a temporary table space.
- Select a resource profile and select a status.
- Select a role on the ‘Role’ tab, and click ‘Grant Selected’.
- Select values on System Privileges, Object Privileges, and Resource Group.
- Click [View SQL] to view the generated statements.
- Click [OK] and check result.
View
Supports :
Create a new view in Database. To create a view, you need CREATE VIEW privilege.
- Connect to Database.
- On the main menu, go to Create>View.
- Enter the name of the View and select a schema.
- Enter comment.
- Enter Script on Script Tab.
- Click [SQL Validate] to check its validation.
- On View Information Tab, click [Auto Add] or [Add] to add a column.
- Set option and click [View SQL] to see the generated statements.
- Click [OK] to check results.
Profile
Supports :
This section explains how to create new profile in database. On profile, you can set limitations on database resource. The owner who is assigned a profile will have limited access to resourced defined by the profile. To create profile, owner’s ‘CREATE PROFILE’ privilege is required.
- Connect to database.
- On the main menu bar, go to Create>Profile.
- Enter a name for the profile.
- Select values for details on general tab.
The contents of general tab are given below:
- CPU/Session: CPU time limit on session.
- CPU/Call: CPU time limit on a call(Parser, Execute, Fetch, etc)
- Connect time: The total elapsed time limit for a session.
- Idle Time: The permitted periods of continuous active time during a session.
Database service options are as followed
- Concurrent Sessions: The number of sessions running at the same time.
- Reads/Session: The number of data blocks session reads from memory and disk.
- Reads/Call: The number of data read from SQL Calls(Parse, Execute, Fetch etc.).
- Private SGA: The size of the private SGA space for a session.
- Composite Limit: The total resource cost for a session, expressed in service units
- Set details for password tab.
Options for password tab are as followed.
- Expired in: The number of days specified. The account will be expired after the given number of days.
- Lock (Days past expiration): The number of days an account will be locked if the password is not changed until the specified number of days.
- Number of passwords to keep: The number of passwords that can be kept.
- Number of days to keep: The number of days the passwords can be kept.
- Number of failed login attempts to lock after: If login attempts fail more than the given number, the account will be locked.
- Number of days to lock for: The number of days the account is locked for after failing to login.
- Complexity Function: It is a function that verifies password.
- Click [View SQL] to check the autogenerated statements.
- Click [OK] to check the result.
Procedure/Function/Package
Supports :
This section explains how to create new procedure/function/package on database.
- Connect to database.
- On the main menu bar, go to Create>Procedure/Function/Package.
- Click [Open Example] on the object tab to create.
- Click [Edit] to open [PL/SQL Editor] or [SQL Editor].
- Write and edit codes based on example fitting to logic.
Trigger
Supports :
Create a new Trigger in Database. To create Triggers, users must have a privilege to ‘CREATE TRIGGER’.
- Connect to Database.
- On the main menu bar, go to Create>Trigger.
- Enter a name.
- Select a schema and a table.
- Select a trigger timing and event to run.
- Select FOR EACH. ROW will be executed when changes are made in columns. STATEMENT will be executed if changes are made in the related columns regardless of the data in the column.
- Enter conditions to run on Where Clause.
- Click [View SQL] to view generated statements.
- Click [OK] to confirm the result.