Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Matt McDawell: "Your practical knowledge & experience, supported by your dedication and hard work set new standards. Taking you into account is the best decision our company has made".
Dan Flazer: "Your new product and your assistance with us was excellent...will prove invaluable to the future of our company".

More

Add your opinion

MaxDB Maestro online Help

Prev Return to chapter overview Next

Create Table Wizard

Create Table Wizard guides you through the process of creating a new database table.

The basic principles of Create Object Wizards in MaxDB Maestro are covered by the corresponding topic. See below to find the description of wizard steps that are unique to the current object.

 

Table options (All fields at this wizard step are optional, i.e. it is not obligatory for you to fill them.)

The field Name contains the name of the table being created as it was set on the previous step.

 

Owner

You can specify here the name of the MaxDB server user that will own the new table, or leave this field blank to use the default user (namely, the user executing the command). By default, only the owner of an object can perform various operations with the object. In order to allow other users to operate it, privileges must be granted. (However, users that have the superuser attribute can always access any object.)

 

Comment

Set the optional text to describe the new table.

 

Statistics based on

The database system manages statistics for each base table. These statistics are used to determine the best strategy for executing an SQL statement. The statistics are stored in the database catalog. Use the field to define the selection data method that are to be used to calculate the statistics: by rows, or by percent.

 

Sample Value

Enter here the number of rows or percentage value for which the statistics update is to be executed.

 

 

Adding table subitems

On this step of the wizard you can fullfill the new table with fields, indexes, and foreign keys. To add a new object:

 

Choose the necessary page (Fields - to add table fields, Indexes - table indexes, and so on);
Follow the corresponding link of the tab's pop-up menu;
Specify properties of the new object. To find the description of field, foreign key, check, trigger, and index, follow the according link.

 

The popup menu of each tab allows to edit, drop, reorder, and rename specified objects, etc.

 

 

 

 

Click Add All or Add to include table(s) to table definition. Use the Remove or Remove All items to exclude table(s) from the list.



Prev Return to chapter overview Next