NAME
SqliteCopyTable — Copy a table in a SQLite database.
SYNOPSIS
SqliteCopyTable SourceTableName TargetTableName ?ColumnNames?
DESCRIPTION
Return Value
None.
Arguments
SourceTableNameName of table to copy from.
TargetTableNameName of table to create and copy to.
ColumnNamesNames of columns to use for the new table. Optional. Defaults to use the same names as the old table.
More Info
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.
EXAMPLES
% 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

SEE ALSO
RunSqlCreateTable
KEYWORDS
sql