In order to handle this, we can edit the connection string and include these additional highlighted phrases to disable type guessing and set the type as TEXT so that all the values get captured properly
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\Excel Sources\Distributors\Customer.xlsx;Extended Properties="Excel 12.0 XML;IMEX=1;HDR=YES;TYPEGUESSROWS=0;IMPORTMIXEDTYPES=TEXT\";
The connection string for an excel source is found by right-clicking the excel connection manager and going to properties.
Comments
Post a Comment