What column names cannot be used when creating an Excel spreadsheet with ADO.
I have a statement that creates a page in a spreadsheet.
CREATE TABLE [TableName] (Column string, Column2 string);
I have found that using a column name of Date or Container will generate an error when the statement is executed.
Does anyone have a complete (or partial) list of words that cannot be used as column names? This is for use in a user-driven environment and it would be better to "fix" the columns than to crash.
My work-around for these is to replace any occurences of Date or Container with Date_ and Container_ respectively.