jtrombley24
New Member
- Joined
- Feb 21, 2016
- Messages
- 27
All,
In an Access 2010 database I have a linked Excel table from which I create a local table with using this query:
I would like to specify my data type via SQL as the table gets created. Is this possible with something similar to this?
Thanks!
In an Access 2010 database I have a linked Excel table from which I create a local table with using this query:
Code:
SELECT DISTINCT Batch, Material, [Document Date], MIN([Posting Date]) AS Posting_Date INTO Ship_Data
FROM mb51_link
GROUP BY Batch, Material, [Document Date];
I would like to specify my data type via SQL as the table gets created. Is this possible with something similar to this?
Code:
CAST([Document Date] AS DateValue)