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:

  1. Click Tables on the Model menu.

    The SQL Server Table Editor opens.

  2. Select the table in the Navigation Grid that you want to define and work with the following options:

    Click New New icon in property editors to create a new object 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 
    DurabilitySpecifies whether the table is durable

    SCHEMA_AND_DATA indicates that the table is durable

    SCHEMA_ONLY indicates that the table is non-durable

    Physical OnlySpecifies whether the table is suppressed from a logical model and appears in a physical model only 
    Generate As TypeSpecifies that the table is of the user-defined type 
    GenerateGenerates SQL during forward engineering 
  3. 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 
    FilegroupSpecifies the file group for the tableNot applicable for External Table
    Text ImageSpecifies that the text, ntext, image, xml, varchar(max), nvarchar(max), varbinary(max), and CLR user-defined type columns are stored in the specified file groupNot applicable for External Table
    Change TrackingSpecifies whether change tracking is enabled for the tableNot applicable for External Table
    Track Columns UpdatedSpecifies whether the database engine tracks which change tracked columns were updatedNot applicable for External Table
    Lock Escalation TypeSpecifies the allowed methods of lock escalation for a tableNot applicable for External Table
    Vardecimal Storage FormatSpecifies whether vardecimal storage is enabledNot applicable for External Table
    Temporal TableSpecifies whether the table is a temporal tableNot applicable for External Table
    Period Start ColumnSpecifies the column name that the system uses to mark the start of record validity periodNot applicable for External Table
    Period End ColumnSpecifies the column name that the system uses to mark the end of record validity periodNot applicable for External Table
    History Table NameSpecifies the name to be used to create a history table in case system versioning of a table is enabledNot applicable for External Table
    Data Consistency CheckSpecifies whether the data consistency check is enabled to ensure that existing records do not overlapNot applicable for External Table
    External Data SourceSpecifies the name of the external data source that contains the location of the external dataAvailable only for External Table
    Schema NameSpecifies the clause that provides the ability to map the external table definition to a table in a different schema on the remote databaseAvailable only for External Table
    Object NameSpecifies the clause that provides the ability to map the external table definition to a table with a different name on the remote databaseAvailable only for External Table
    DistributionSpecifies the data distribution technique for the tableAvailable only for External Table
  4. 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.

  5. 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.
  6. (Optional) Click the Commenttab and enter any comments that you want to associate with the object.
  7. (Optional) Click the Where Used tab to view where the object is used within the model.
  8. (Optional) Click the UDPtab to work with user-defined properties for the object.
  9. (Optional) Click the Notestab to view and edit user notes.
  10. (Optional) Click the Extended Notes tab to view or edit user notes.
  11. 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.