None.
SourceTableName | Name of table to copy from. |
TargetTableName | Name of table to create and copy to. |
ColumnNames | Names of columns to use for the new table. Optional. Defaults to use the same names as the old table. |
Check
About Configuration for Database Use 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'}]
% SqliteCopyTable my_table my_table_2
% puts [QQ [SqlSelectStatement my_table_2]]
one uno