SSIS data flow path editor

nononame2021 261 Reputation points
2022-03-29T07:18:39.217+00:00

refer to the following screen captured. may i know what is Metadata in Data Flow Path Editor when i click the "Flow path" in data flow task. is it same as the excel source 's data type and lenght. it is referring to excel source ?
i did not set it and it is auto set to 255 for DT_WSTR automatically. don't know what is it?

187729-image.png

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2022-03-29T07:37:48.61+00:00

    Hi @nononame2021 ,

    Note that you have post several issues in Q&A but none of them have been accept as an answer by you which will quench the enthusiasm of the experts to help you.

    If your previous problem has been solved, you could mark it as answer so other user with similar problem could see this easier.

    And back to your question:

    The metadata shows the name, data type, precision, scale, length, code page, and source component of each column in the output of the previous component. The source component is the data flow component that created the column. This may or may not be the first component in the data flow.

    integration-services-paths

    it is auto set to 255 for DT_WSTR automatically

    The Excel driver recognizes only a limited set of data types. For example, all numeric columns are interpreted as doubles (DT_R8), and all string columns (other than memo columns) are interpreted as 255-character Unicode strings (DT_WSTR). It is by design.

    load-data-to-from-excel-with-ssis

    Regards,

    Zoe


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Olaf Helper 47,436 Reputation points
    2022-03-30T07:03:04.827+00:00

    i did not set it and it is auto set to 255 for DT_WSTR automatically. don't know what is it?

    That's by design for Excel data sources. Excel only knows an untyped value and a format information; and that untyped value is of nvarchar(255).
    But what is the issue here?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.