RunSqlCreateTable — Create SQL table using table name and column names/types.
None.
TableName | Name of the table to be created. |
ColumnNameTypeList | A list of the form name1 type1, name2 type2, etc. (see examples). |
Check
this page for info about how to set up Gen for using database-related commands.
For information regarding exceptions / errors, see
here.
% RunSqlCreate my_table {id {integer primary key} desc text notes text}
% QQ [SqlInsertStatement my_table {desc 'one' notes 'uno'}]
% QQ [SqlSelectStatement my_table]
one uno