The subject just about says it all!
Can one export tables to text files (without copy and paste) ?
Thank you!
Exporting BASE tables to text?
- DrewJensen
- Volunteer
- Posts: 1734
- Joined: Sat Oct 06, 2007 9:01 pm
- Location: Cumberland, MD - USA
Re: Exporting BASE tables to text?
Tools > SQL
In the SQL window enter the following:
Assuming you had a table named Table1, you now have a file named Table1TXT.csv in the same directory as the Base file.
The default settings are for commas separating fields, nothing quoted IIRC. For specifics on setting options look at
HSQLdb Users Manual
Drew
In the SQL window enter the following:
Execute the statements.SELECT * INTO TEXT "Table1TXT" FROM "Table1";
DROP TABLE "Table1TXT";
Assuming you had a table named Table1, you now have a file named Table1TXT.csv in the same directory as the Base file.
The default settings are for commas separating fields, nothing quoted IIRC. For specifics on setting options look at
HSQLdb Users Manual
Drew
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04