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.
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.