troubleshooting Question

How would you import an Excel file into a SQL Server table via an Access 2003 application where ZERO values are defined as numbers and non ZERO values are defined as type CUSTOM?

Avatar of zimmer9
zimmer9Flag for United States of America asked on
Microsoft AccessMicrosoft SQL ServerMicrosoft Excel
1 Comment1 Solution603 ViewsLast Modified:
I am woring with an Access 2003 application using Access as the front end and SQl Server as the back end database.

How would you reformat the attached Excel file that contains 2 columns so that it could be imported into a SQL Server table. The Excel file has 2 columns defined as data type DATETIME when the cell has a date value.

However, for the first column, there are some cells populated with a value of 0 which are formatted as Numbers. I would like to convert these dates with a value of 0, to a default  value of NULL.
res.xls
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros