Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7828483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:22:05+00:00 2026-06-02T10:22:05+00:00

I do a ssis package which I read an Excel file. I have a

  • 0

I do a ssis package which I read an Excel file. I have a column with a date. If the first row the date is empty all lines are concidered empty, if I put a line with a date is ok.
The file is automacly genereted, not by me, so I can change the order of line. How I can force to have a date ??

I know in input the date is like a string (DT_WSTR) because it could be empty. So after I know how to convert it. So don’t explain me how convert it. I just want to know how to have the date when it’s on the line.

sorry for my english

Thx,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T10:22:06+00:00Added an answer on June 2, 2026 at 10:22 am

    Try adding “IMEX=1;” at the end of your connection string. This will force the Excel file to be read in import mode, reading everything as a string (even when empty).

    Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\ExcelFile.xls;Extended Properties="EXCEL 8.0;HDR=YES;IMEX=1";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ssis package...which read data from fixed-column-width text file into DB table.
I have a SSIS package which reads an Excel File (Data Flow Source) and
I have an SSIS package which reads an Excel File (Data Flow Source) and
I have simple SSIS package which reads data from flat file and insert into
I have made a SSIS package to create an XML file, which works fine
I've written an SSIS package which reads all the worksheets from an Excel workbook
i have an ssis Package which runs on business days (mon-Fri). if i receive
I have a relatively big SSIS package which I'm trying to edit. I basically
I have simple SSIS package in which On Error event handler I have created
I have a SSIS package built in Business Intellegience Development Studio which have both

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.