The tablediff utility cannot be used with non-SQL Server servers.
Tables with sql_variant data type columns are not supported.
By default, the tablediff utility supports the following data type mappings between source and destination columns.
|
Source data type
|
Destination data type
|
|---|
|
tinyint
|
smallint, int, or bigint
|
|
smallint
|
int or bigint
|
|
int
|
bigint
|
|
timestamp
|
varbinary
|
|
varchar(max)
|
text
|
|
nvarchar(max)
|
ntext
|
|
varbinary(max)
|
image
|
|
text
|
varchar(max)
|
|
ntext
|
nvarchar(max)
|
|
image
|
varbinary(max)
|
Use the -strict option to disallow these mappings and perform a strict validation.
The source table in the comparison must contain at least one primary key, identity, or ROWGUID column. When you use the -strict option, the destination table must also have a primary key, identity, or ROWGUID column.
The Transact-SQL script generated to bring the destination table into convergence does not include the following data types:
-
varchar(max)
-
nvarchar(max)
-
varbinary(max)
-
timestamp
-
xml
-
text
-
ntext
-
image