Skip to content

Conversation

dahvid
Copy link

@dahvid dahvid commented Oct 28, 2024

The --no_data [table name] argument will copy only the schema, but not any data for the named table. It works similar to the --skip argument in that it can be issued multiple times in a single command line.

Use case for this is transferring an MSSQL database with tables with many rows that you don't need in the sqlite version, but you do need the empty schema.

…d then deleting previous output data)

Fixed bad time stamp translations from sqlite back to mssql
…e data, only the schema

Fix for bug in previous commie of --no_data, which didn't copy primary keys.
@dahvid
Copy link
Author

dahvid commented Nov 3, 2024

There was a bug in the previous --no_data addition. Primary keys were not being copied into the new schemas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants