Skip to content

SQL Server scans defines some of the data types as the same (variable length character, binary, string data) #9

@jelenadreskai

Description

@jelenadreskai

nvarchar[n] and nvarchar [max] are treated the same from SQL Server Importer perspective. When they are imported, they are imported as nvarchar. In certain situations, users would want to know the difference. Can the nvarchar[max] be scanned and stored as a different data type nvarchar[max] for example.

This applies to the following TSQL data types:

  1. nvarchar[n] & nvarchar [max] -> both considered as nvarchar
  2. varbinary[n] & varbinary [max] -> both considered as varbinary
  3. varchar[n] & varchar[max] -> both considered as varchar

Not super important from our perspective, as these are rarely used, but thought it may be a good idea to keep track of the observation. Perhaps it is like this by design.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions