I use LibreOffice to connect to HSQLDB 2.6.1 on UBUNTU 20.04. The
problem is with this SQL statement:
PERFORM IMPORT SCRIPT DATA FROM <single-quoted file path> { CONTINUE |
STOP | CHECK } ON ERROR
The following is one of the properties of my database:
jdbc:hsqldb:file:/media/dan/Storage/.database/2020personal/2020personal;
The file that I want to import is Main-subform.cvs.
I have place this file in the folder containing the 4 database
files (data,log, properties, script). Then in Tools > SQL, I entered
this statement:
PERFORM IMPORT SCRIPT DATA FROM 'Main-subform.cvs' STOP ON ERROR;
CHECKPOINT; and then
PERFORM IMPORT SCRIPT DATA FROM './Main-subform.cvs' STOP ON ERROR;
CHECKPOINT; and then
PERFORM IMPORT SCRIPT DATA FROM '../Main-subform.cvs' STOP ON ERROR;
CHECKPOINT;
None of them worked. So, where should the cvs file be placed or
what should the path be for this file?
Dan
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
- [libreoffice-users] Import script problems · Dan Lewis
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.