I need to create a workflow that will create a new table in a SQLite database. The workflow I have is really simple but it works. I need to add some functionality that will allow the user to provide a unique name for the table.
Does anyone have an idea of how I can do this without requiring the user to type the name into SQL script?
I am currently using the Database Table Creator node ‘dynamic settings’ to create a table in access. It continuously has challenges with the data presented to it and a series of errors due to data types, e.g. double data type to be 28 chars or less, no “*” in the heading, no “_” in the heading, and the latest error is confusing - as the writer was working fine until now.
No # or * allowed:
ERROR Database Table Creator 0:1070:885 Execute failed: UCAExc:::4.0.4 java.sql.SQLSyntaxErrorException: unexpected token: ActiveInd (#1)
Precision error
ERROR Database Table Creator 0:1070:885 Execute failed: UCAExc:::4.0.4 Precision must be from 1 to 28 inclusive, found 30(Column=Area_SQFT)