How To Select [header Text W. Dot] As Xxx From An Excel Table?
Summary: Using the Jet.OLEDB provider and the SQL query, I do not know how to access the column the header text of which contains a dot. Is there any way to escape the dot in the S
Solution 1:
It appears that SSIS replaces period (.) with number sign (#) when I tried to load similar spreadsheet as you provided through a SSIS package. So, I am guessing you would need to either load it through SSIS if you have that option available, otherwise you could probably try querying it directly like this:
SELECT
[Date] AS d,
[Code] AS code,
[Abbrev# Packing] AS packing,
[Price] AS price
FROM[Sheet1$]
Post a Comment for "How To Select [header Text W. Dot] As Xxx From An Excel Table?"