SQL Server support

Applies to: 9.x (current) versions, Article available also for: 8.x, 7.x

Supported versions

2008, 2008 R2, 2012, 2014, 2016, 2017, 2019.

Supported editions

LocalDB, Express, Developer, Standard, Business Intelligence and Enterprise.

Parallel Data Warehouse

Parallel Data Warehouse is not currently supported

Supported schema elements and metadata

  • Tables
    • Columns
      • Data type with length
      • Identity (is identity on)
      • Nullable
      • Default value
      • Computed column specification
    • Primary keys
      • Columns
    • Unique indexes
      • Columns
    • Foreign keys
      • Columns
    • Triggers
      • When triggered
      • Script
  • Views
    • Columns (see tables)
    • Script
  • Procedures
    • Script
    • Parameters
  • Functions
    • Script
    • Parameters
    • Returned value
  • Dependencies

Descriptions & extended properties

Dataedo reads and writes extended properties from/to following SQL Server objects:

  • Tables
    • Columns
    • Primary/unique keys
    • Foreign keys
    • Triggers
  • Views
    • Columns
  • Procedures
    • Parameters
  • Functions
    • Parameters

Limitations

Following schema elements currently are not supported:

  • Check constraints (vote)
  • Non unique indexes (vote)
  • Unique indexes on views (planned)

Required access level

Importing database schema requires certain access level in documented database. Granting VIEW DEFINITION permission in the documented database to a new user will allow them to import all objects from the database. Alternatively, you can grant this permission only for specific objects you want to document.

Following objects are accessed during schema import process:

  • INFORMATION_SCHEMA.COLUMNS
  • INFORMATION_SCHEMA.KEY_COLUMN_USAGE
  • INFORMATION_SCHEMA.PARAMETERS
  • INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS
  • INFORMATION_SCHEMA.ROUTINES
  • INFORMATION_SCHEMA.ROUTINE_COLUMNS
  • INFORMATION_SCHEMA.TABLES
  • INFORMATION_SCHEMA.VIEWS
  • sys.all_objects
  • sys.columns
  • sys.computed_columns
  • sys.extended_properties
  • sys.foreign_key_columns
  • sys.indexes
  • sys.index_columns
  • sys.objects
  • sys.procedures
  • sys.servers
  • sys.sql_dependencies
  • sys.sql_expression_dependencies
  • sys.sql_modules
  • sys.tables
  • sys.views
  • sysobjects
  • sysusers

Learn more

Connect to SQL Server

Found issue with this article? Comment below
0
There are no comments. Click here to write the first comment.