Null values in excel problem
The connection string should look like
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\Sample\SampleExcelFile.xls;Extended Properties="EXCEL 8.0;HDR=Yes; IMEX=1;"
or
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Sample\SampleExcelFile.xls;Extended Properties="EXCEL 8.0;HDR=Yes; IMEX=1;"
IMEX = ImportMixedTypes
http://dougbert.com/blogs/dougbert/archive/2009/11/21/importing-from-excel-imex-and-mixed-data-types.aspx
http://dougbert.com/blogs/dougbert/archive/2008/06/21/excel-in-integration-services-part-3-of-3-issues-and-alternatives.aspx
Bruce's Blog
Tuesday, January 26, 2010
Subscribe to:
Posts (Atom)
Labels
- ADO.NET 3.5 (1)
- Aggregate (1)
- AJAX (2)
- Antivirus (1)
- ASP.NET (11)
- ASP.NET 3.5 (3)
- Backup (4)
- bcp (1)
- Bulk Insert (1)
- C# (6)
- cache (1)
- class (1)
- Compression (3)
- Concatenate (1)
- constraint (1)
- Cookie (1)
- CTE (3)
- Data (1)
- Data Mining (1)
- Data warehouse (1)
- database size (1)
- date dimension (1)
- DBA (6)
- DBCC (1)
- deadlock (1)
- Default value (1)
- Disney (2)
- DMV (1)
- DOS Command (1)
- DTS package (2)
- Dual boot (1)
- Duplicate (1)
- Dynamic SQL (1)
- Excel (3)
- EXEC AT (1)
- firefox (2)
- firewall (1)
- FMTONLY (1)
- free (1)
- Free space (2)
- function (5)
- Gridview (2)
- Index (5)
- insert (1)
- Javascript (4)
- Job (3)
- Job Agent (2)
- Join (1)
- KPI (1)
- Link (1)
- Linked Server (3)
- Log (1)
- MDX (13)
- Membership (1)
- Merge (1)
- Meta data (1)
- Modeling (1)
- Net use (1)
- Networking (1)
- OpenRowset (1)
- Optimize (3)
- Oracle (1)
- Orlando (1)
- Paging (1)
- PDF (1)
- Performance (3)
- PeriodsToDate (1)
- Permission (1)
- PHP (1)
- Profiler (1)
- QandA (1)
- Randomly (1)
- resource (1)
- SCD (1)
- Script (1)
- Script task (1)
- Search (2)
- Security (6)
- Session (1)
- space (1)
- split (1)
- SQL function (1)
- SQL Server (49)
- SQL Server 2000 (1)
- SQL Server 2005 (10)
- SQL Server 2008 (9)
- SSAS (8)
- SSIS (13)
- Stored Procedure (1)
- System Admin (1)
- T-SQL (16)
- Table (1)
- Theme (1)
- Timer (1)
- trace (1)
- Travel (1)
- truncate (1)
- Undocumented (1)
- update (1)
- Vacation (1)
- Vardecimal (1)
- Web (3)
- Windows (1)
- Windows 7 (1)
- XML (5)
Blog Archive
-
►
2009
(152)
- ► November 2009 (6)
-
►
September 2009
(15)
- Send HTML email in SSIS
- T-SQL dbo.split
- Returning full error details from SQL Server Agent...
- SQL Server Agent Jobs – Displaying Status in an Ap...
- Show Header and Footer of GridView when no Data re...
- Span column headers in an asp.net Gridview (VB)
- T-SQL Challenge #1
- Part 1: The Database Administrator's Primary Respo...
- Deleting Large Number of Records
- Ten Common SQL Programming Mistakes
- Expression Date Functions
- Transact-SQL Formatting Standards (Coding Styles)
- Parameterized Queries
- Troubleshooting Locking and Blocking
- Decompressing on Compression in SQL Server 2008......
-
►
August 2009
(17)
- SQL Server 2008 T-SQL Enhancements
- Using a Custom Base Class for your ASP.NET Pages' ...
- Check/Uncheck checkboxes in GridView using JavaScr...
- Delete temporary files and folders on time
- SSIS file system (VB.net)
- Binding a Scalar Array to a Data Web Control
- Sending multiple rows to the Database from an Appl...
- Connecting to a Remote Integration Services Server...
- SSIS and Stored procedures using temp tables
- C# - Create User Wizard event
- Delete the associated child records on Cascade
- Twenty tips to write a good stored procedure
- Output Caching with PHP
- Merge
- Free space for SQL Server databases and database f...
- Script to check that backup files still exist for ...
- 12 Essential Steps After Installing SQL Server
- ► April 2009 (20)
- ► March 2009 (11)
- ► February 2009 (38)
- ► January 2009 (8)