Microsoft SQL Server 2008 R2 is also supported (Reverse Engineering, Import DDL, LIVE RE, DDL/SQL Script generation, Model Verification, Reports, Change Script generation; descriptions (extended property Microsoft_Description) for procedures and functions).
Entity
Data Compression Tab
Fulltext Index Tab
Attribute
![](/pt-br/technical-documents/image/fa26cff6-ff19-48c3-a04c-4b799bc57942)
New data types:
- Data types of type DATE: date, datetime2, datetime2(x), datetimeoffset, datetimeoffset(x), time, time(x).
- Spatial data types: geometry, geography.
- Other data types: hierarchyid.
![](/pt-br/technical-documents/image/b355bc67-8747-41c3-ad58-a7728359e0dd)
|
Note: Rowversion is generated instead of data type timestamp (they are synonyms and it is recommended to use rowversion). |
The Filestream checkbox is displayed only for data type varbinary(max).
The Sparse checkbox is not available for the following data types: geography, geometry, image, ntext, text, timestamp, user-defined data types, computed column.
Default Rule Is Default Object - Select this checkbox if you want to bind default rule (known as default object in Microsoft SQL Server) to attribute.
Rule Object - Select a rule object that will be bound to attribute.
Index
![](/pt-br/technical-documents/image/9d568b5a-f0dc-4b5c-a4f4-07d66ecb6ea4)
The FilestreamFilegroup box is available only for Clustered indexes - see the Data Space area. In tables that are not partitioned, you can make selection from a new list Filestream Filegroup. In partitioned tables, you can make selection from a new list Partition Scheme.
![](/pt-br/technical-documents/image/b355bc67-8747-41c3-ad58-a7728359e0dd)
|
Note: To be able to define Filestream Filegroup, the database requires columns with the Filestream property in a table. |
Possibility to define Filtered Index in the Expression for Filtered Index (WHERE) box.
Data Compression Tab
![](/pt-br/technical-documents/image/238e00e6-9814-4f9d-88e4-dc05d91a6db6)
On this tab, you can set Data Compression either for all indexes (combo box "Compression Type") or for particular partitions. (To accomplish this, it is necessary to select checkbox Set Compression Type on Individual Partitions and fill out the box in the Set Compression Type on Individual Partitions area. See the auxiliary combo box Compression Type for Partition, box Partition Number and button Add to List).
Secondary XML Index Parameters Tab
![](/pt-br/technical-documents/image/ba1492a0-b9fd-499b-9592-b20c40841ed4)
Spatial Index Parameters Tab
![](/pt-br/technical-documents/image/1ce9db9b-f7e7-44f3-a9c7-5a601e67dea7)
![](/pt-br/technical-documents/image/b355bc67-8747-41c3-ad58-a7728359e0dd)
|
Note: Now index can be generated as normal (relational) index, primary XML index, secondary XML index and Spatial index. What index will be generated is selected automatically by the following conditions (particularly by data type of particular attribute):
- If index has only one column and this column is of XML type, XML index will be generated. For the XML index it is searched whether the box "Primary XML index..." is filled out. If it is filled out, then it is a secondary XML index. Otherwise it is a primary XML index.
- If index has only one column and this column is of Geometry or Geography type, Spatial index will be generated then.
- Database requires a primary key in a table if Spatial Index exists. User has to arrange it on his own.
|
Key
Data Compression Tab
![](/pt-br/technical-documents/image/02e98500-704e-4cf8-aa22-a2b41c509a44)
On the Data Compression tab, you can set Data Compression either for all key (combo box Compression Type) or for particular partitions. (To accomplish this, it is necessary to select checkbox Set Compression Type on Individual Partitions and fill out the box in the Set Compression Type on Individual Partitions area. See the auxiliary combo box Compression Type for Partition, box Partition Number and button Add to List).
![](/pt-br/technical-documents/image/b355bc67-8747-41c3-ad58-a7728359e0dd)
|
Note: To load Data Compression defined in index during reverse engineering, it is necessary to select the Load Index Options checkbox in the Reverse Engineering Wizard (it is selected by default). |
General tab - take notice of the Data Space area. If you click Filegroup, list of file groups will become available. If you select Partition Scheme, schemes will be available.
Index Options tab - Detailed settings for index of the key should be defined here.
View
![](/pt-br/technical-documents/image/d3476dc2-7e81-4dab-9b47-72c01ff8aac8)
User Data Type
![](/pt-br/technical-documents/image/66cab33f-64d0-4ba3-902e-a65c7340fa2b)
When you select TABLE from the Type box, the User-Defined Table Type Definition window will display. Here, write the text that is defined in syntax in brackets after AS TABLE, for example "a int, b int" (without the quotation marks).
Although this type is available in attributes, it is not possible to use it there.
When you click the Generate SQL Only checkbox, the SQL tab will display.
Function
![](/pt-br/technical-documents/image/5cb7da9e-3eb9-4acf-b797-aeb1ee845553)
When you select the CLR Table-valuedFunction, the Order (List of Column Names) box will become available. Here, you can define order (column names should be separated by commas).
When you select the Aggregate Function, you can write more input parameters separated by comma to the List of Arguments box.
Extended Properties
Extended Properties are supported for the following objects (generally where comments are supported):
- Objects with new tab Extended Properties.
- Objects for which Extended Properties are loaded during reverse engineering as a text as for example After Script, function parameters, procedure parameters, view columns, key/index/foreign key for Filetable.
See other objects in Model Explorer:
- Filegroups
- Partition Schemes
- FilestreamFilegroups - Similarly to Filegroups, FilestreamFilegroups work in Toad Data Modeler only as a list. During script generation, the FilestreamFilegroups definition is not generated and during reverse engineering the definition is not loaded either (only names are loaded).
- Stoplists - Similarly to Filegroups, Stoplists work in Toad Data Modeler only as a list. During script generation, the Stoplist definition is not generated and during reverse engineering the definition is not loaded either (only names are loaded).
- Partition Functions
- Fulltext Catalogs
- XML Schema Collections
- Assemblies
Available Data Providers are:
- Connection via ADO
- Native Connection
Connection via ADO:
Native Connection:
Reverse Engineering Settings
- Check Graph Table Columnsto include graph table columns $node_id", "$edge_id", "$from_id", "$to_id in your RE