Use my Base Front End with SQL as database

dBase, Calc, CSV, MS ACCESS, MySQL, PostgrSQL, OTHER
Post Reply
jcmckeon
Posts: 29
Joined: Mon Oct 14, 2013 8:42 pm

Use my Base Front End with SQL as database

Post by jcmckeon »

Hello All, I have a Base db with a nice front end that works great. I now want to use this same front end but instead of using Base as the db I want to use SQL, can I??? Can I easily migrate the data from Base into a new SQL table?

I'm not great with SQL so any and all help is most appreciated...

Best Jill
OpenOffice 4.0 on windows 7
User avatar
Villeroy
Volunteer
Posts: 31344
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Use my Base Front End with SQL as database

Post by Villeroy »

There is no such thing as a Base db and SQL is not a type of database.
I think you have an "embedded HSQLDB" which is indicated in the status bar of your Base document. This means your database is a HyperSQL (aka HSQL) database which is wrapped in the Base document, extracted when you open the document and repackaged when you close the containing document.
HSQL, H2, PostgreSQL, MySQL and dozends of other databases can be created, managed and controlled by means of the SQL language. SQL is not a database. It is the universal language to control them all. Yes, I think there are ways to connect your front end (queries, forms and reports) to some other type of database.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
jcmckeon
Posts: 29
Joined: Mon Oct 14, 2013 8:42 pm

Re: Use my Base Front End with SQL as database

Post by jcmckeon »

Thank you for taking the time to respond.
OpenOffice 4.0 on windows 7
User avatar
DACM
Volunteer
Posts: 1138
Joined: Tue Nov 03, 2009 7:24 am

Re: Use my Base Front End with SQL as database

Post by DACM »

Jill,

You've been around these forums for some time, and know your way around the Base Query Builder. If you're now ready to utilize SQL directly, simply switch to 'SQL view' in the Query Builder, or open the Tools > SQL console in Base. LibreOffice 4.x uniquely offers to display query results within the Tools > SQL console window. Or proceed to 'split' your 'embedded' database so you can utilize a more advanced database manager. Most of these managers are free, but RazorSQL is particularly nice if you can justify the ($100) price tag.
...
AOO 4.1.x; LO 4.2.x; Windows 7/8 64-bit
Warning: Avoid embedded databases --> Solution: Adopt a portable 'split database' folder
Soli Deo gloria
jcmckeon
Posts: 29
Joined: Mon Oct 14, 2013 8:42 pm

Re: Use my Base Front End with SQL as database

Post by jcmckeon »

This is a great respond. Thank you so much...
OpenOffice 4.0 on windows 7
Post Reply