Opening and saving SQLite *.db files |
Opening SQLite *.db files
Use the File > Open command and choose SQLite (*.db)
from the File of type list
or drag and drop a given *.db file into the main GS-Base window.
Data from *.db files can also be accessed via the Add Table and Merge Records commands.
Saving SQLite *.db file
If the open database is already in the *.db format, the Save command causes saving it back to the same file using the same, original table (field, keys) definitions.
If the current format is not SQLite *.db, use the File > Save Database Copy As or File > Save Recordset As commands and choose SQLite (*.db) from the File of type list. In this case the newly created SQLite table definitions will follow the rules specified in Notes below.
Notes:
SQLite TEXT fields shorter than 8169 bytes become Text fields in GS-Base and longer
SQLite TEXT fields are added as Long Text fields in GS-Base.
Thus if you export GS-Base Long Text contents shorter than 8192 to SQLite and open that SQLite file again in GS-Base,
the previous GS-Base Long Text contents will be shown as Text fields and to
switch again to the Long Text pane view you need to change that field type
in the Field Setup dialog box. Please also note that unless you turn off formatting
in the Long Text fields using the "Settings > Options > Editing > Strip off formatting in Long Text fields"
the formatting RTF tags will be preserved and visible in the Text fields.
GS-Base Text and Long Text fields are saved as SQLite TEXT fields.
To automatically resize the column widths to fit the field contents in the opened file, select the Options > General > Auto-fit column widths in imported files option. Keep in mind that for very large files this may slow down the process of importing. To optimize the resizing in the Options > General dialog box increase the declared number of processor cores that GS-Base can use.
Related Topics
Saving PDF files
Opening and saving text files
Opening and saving html files
Opening and saving Excel workbooks