Define SQL Server Table Properties
Use the SQL Server Table Editor to define table properties. This procedure assumes you are working in a physical model, with SQL Server defined as the target server.
To define properties for an SQL Server table:
- Click Tables on the Model menu.
The SQL Server Table Editor opens.
- Select the table in the Navigation Grid that you want to define and work with the following options:
Click New
on the toolbar to create a new table. Use the Enter filter text box to filter a very large list of tables to quickly locate the one that you want to define.
Property
Description
Additional Information
Schema
Specifies the schema of the database to which the table belongs External
Specifies whether the table is an external table SQL Server Table Type
Specifies the type of SQL Server table Durability Specifies whether the table is durable SCHEMA_AND_DATA indicates that the table is durable
SCHEMA_ONLY indicates that the table is non-durable
Physical Only Specifies whether the table is suppressed from a logical model and appears in a physical model only Generate As Type Specifies that the table is of the user-defined type Generate Generates SQL during forward engineering - Click the General tab and set the required properties depending upon the SQL Server Table Type that you select.
Property
Description
Additional Information
Physical Name
Specifies the physical name of the table Filegroup Specifies the file group for the table Not applicable for External Table Text Image Specifies that the text, ntext, image, xml, varchar(max), nvarchar(max), varbinary(max), and CLR user-defined type columns are stored in the specified file group Not applicable for External Table Change Tracking Specifies whether change tracking is enabled for the table Not applicable for External Table Track Columns Updated Specifies whether the database engine tracks which change tracked columns were updated Not applicable for External Table Lock Escalation Type Specifies the allowed methods of lock escalation for a table Not applicable for External Table Vardecimal Storage Format Specifies whether vardecimal storage is enabled Not applicable for External Table Temporal Table Specifies whether the table is a temporal table Not applicable for External Table Period Start Column Specifies the column name that the system uses to mark the start of record validity period Not applicable for External Table Period End Column Specifies the column name that the system uses to mark the end of record validity period Not applicable for External Table History Table Name Specifies the name to be used to create a history table in case system versioning of a table is enabled Not applicable for External Table Data Consistency Check Specifies whether the data consistency check is enabled to ensure that existing records do not overlap Not applicable for External Table External Data Source Specifies the name of the external data source that contains the location of the external data Available only for External Table Schema Name Specifies the clause that provides the ability to map the external table definition to a table in a different schema on the remote database Available only for External Table Object Name Specifies the clause that provides the ability to map the external table definition to a table with a different name on the remote database Available only for External Table Distribution Specifies the data distribution technique for the table Available only for External Table - Click the Volumetrics tab and work with the following options:
- Initial Row Count
Defines row count for the table. Enter a value in the field.
- Max Rows
Defines row sizing for the table. Enter a value in the field.
- Growth By Month
Defines growth increments for the table. Enter a value in the field.
- Work with the other tabs in the editor to access additional design features, for example:
- Click the DataCompression tab to define table data compression.
- Specify validation rules in the Validation tab.
- Preview the forward engineering script for a table in the SQL tab.
- Work with style sheets to format the font used in the display of the table in the Styletab.
- Specify the icon style to use for the table in the Icon tab.
- Specify the order of DDL generation in the Object Creation Order tab.
- (Optional) Click the Commenttab and enter any comments that you want to associate with the object.
- (Optional) Click the Where Used tab to view where the object is used within the model.
- (Optional) Click the UDPtab to work with user-defined properties for the object.
- (Optional) Click the Notestab to view and edit user notes.
- (Optional) Click the Extended Notes tab to view or edit user notes.
- Click Close.
The table is defined and the SQL Server Table Editor closes.
For more information on table properties, refer to Microsoft SQL Server documentation.
Copyright © 2025 Quest Software, Inc. |