Quantcast
Viewing all articles
Browse latest Browse all 24688

Excel Data coming back as NULL

I have to validate that the columns in an excel spread sheet exist and are of a certain value. I'm trying to do it by avoiding a scrip task. I thought I was being cleaver by selecting the top row and dumping it to a recordset destination but apparenlty I'm not as clever as I thought. I pull the data by SQL command in the Excel Source Editor.

SELECT        TOP 1 F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14
FROM            [Data$]

The problem is some of the columns are coming back as NULL for no reason. I'm looking right at the column in excel and it's totally populated with a value. This ONLY happens with the first row. No rows after that exibit this issue. What could be causing this?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>