SSIS Deployment to SQL Server
1) Go to SSIS project folder\bin\, double click the DeploymentManifest file
2) Choose “SQL Server deployment”.
3) Fill in the information then you are done.
Showing posts with label SSIS. Show all posts
Showing posts with label SSIS. Show all posts
2010/05/04
2010/04/22
SSIS - read excel column as text (string)
Case: when you use SSIS to input excel data, and one of the column contains number and letter like this:
[Column A]
700
700
800
800A
When you try to use SSIS to read the excel and import to MSSQL database, 800A will then become null value and you have no idea what the heck is going on...
To solve the problem:
In SSIS, click on your connection manager in connection manager panel. Look up ConnectionString in properties panel (on your right hand side) and fix your connection string like this:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Profiles\alanhui\Desktop\CMP Data Conversion\template\DataConversion-Step1.xls;Extended Properties="EXCEL 8.0;HDR=YES;IMEX=1;";
IMEX=1 is the key factor to solve this problem.
To learn more about this, you can go to the following website:
http://support.microsoft.com/kb/194124
Enjoy
[Column A]
700
700
800
800A
When you try to use SSIS to read the excel and import to MSSQL database, 800A will then become null value and you have no idea what the heck is going on...
To solve the problem:
In SSIS, click on your connection manager in connection manager panel. Look up ConnectionString in properties panel (on your right hand side) and fix your connection string like this:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Profiles\alanhui\Desktop\CMP Data Conversion\template\DataConversion-Step1.xls;Extended Properties="EXCEL 8.0;HDR=YES;IMEX=1;";
IMEX=1 is the key factor to solve this problem.
To learn more about this, you can go to the following website:
http://support.microsoft.com/kb/194124
Enjoy
Subscribe to:
Posts (Atom)