The Database Table Editor is a tool for editing
Database Table Tags :
You can use this tool to do any of the following to a Database Table Tag:
To open the Database Table Editor do one of the following:
To add a new column to the end of the column list:
Note: Changes will not be applied to the Database Table Tag until you click Save.
To insert a new column before an existing column:
Note: Changes will not be applied to the Database Table Tag until you click Save.
To edit an existing column:
Note: Changes will not be applied to the Database Table Tag until you click Save.
To delete an existing column:
Note: Changes will not be applied to the Database Table Tag until you click Save.
When you select a column in the Database Table Editor, these properties are shown in the Properties Window:
Property | Description |
---|---|
Column Name | The name of the column. |
Data Type | The data type of the column. |
Allow Null | Whether the column allows NULL values. |
Auto Generate |
Whether a value is automatically generated for the column. Allowed options include:
|
Default Value | The default value of the column. You can use any SQL Value Expression to set a default value. |
Remarks | Comments and notes associated with the column. |
To change a property:
The Column Name Property must be a valid SQL Identifier.
If you want to include spaces and other special characters in a column name, use a delimited identifier. For example:
"Column Name !"
The Data Type property defines the type of data stored in the column.
To change the Data Type of a column:
These Data Type values are supported:
Data Type | Description | IEC 61131-3 Equivalent |
---|---|---|
Boolean | A single bit TRUE or FALSE. | BOOL |
TinyInt | An 8-bit signed integer (-128 to +127). | SINT |
SmallInt | A 16-bit signed integer (-32768 to +32767). | INT |
Integer | A 32-bit signed integer (-2147483648 to +2147483647). | DINT |
BigInt | A 64-bit signed integer (-9223372036854775808 to +9223372036854775807). | LINT |
Real | A 32-bit floating point value. | REAL |
Double | A 64-bit floating point value. | LREAL |
Interval | An interval of time. | TIME |
Time | Time of day (00:00:00.000 to 23:59:59.999). | TIME_OF_DAY |
Date | A calendar date. | DATE |
Timestamp | A calendar date and time of day. | DATE_AND_TIME |
VarChar(n) | A variable length UTF-8 string with maximum n characters. | STRING[n] |
WVarChar(n) | A variable length UTF-16 string with maximum n characters. | WSTRING[n] |
If you enter the data type directly, try to enter data types exactly as shown in the above table. If you enter a data type that is not valid, the Data Type Property will reject the new value.
Fernhill SCADA Configuration Tool
To learn about the Fernhill SCADA Configuration Tool.
For information on the Tag Window.
For information about managing application specific database tables.
For the meaning of terms used in Fernhill SCADA.