Access: get the row of the creation table
More or less as you have:
CREATE TABLE example (
id INT,
data text(100)
);
You might want to check the DAO data types: http://allenbrowne.com/ser-49.html
a source to share
If you're talking about a generic method that will work on any Access table, I don't know how to get the SQL CREATE statement directly. I suspect that there are too many features in Access (dropdown values for fields, input masks, etc.) that do not transition well to SQL.
Access has the ability to export the table directly to SQL Server. You can try to push the table on SQL Server and then generate a CREATE statement.
a source to share
If you are trying to port this to SQL server or the like, I think you will have to create scripts manually.
You can always use the SQL Server Import Wizard (or Export to SQL from Access) to move it and then create scripts on the SQL Server.
Don't forget that you can get SQL Express for free to do things.
a source to share