The best free license for database

I am developing odb database (HSQLDB).
There is a lot of macro Basic code.
If I want to publish it with some free copyleft license, what license should I choose?
Containing data is not so important, I want to share it as a data processing tool (something like finance control).
So it feels like it is a software tool (and LO:base is a kind of framework for it) but it doesn’t fit well for GPL, because it is still not a full-fledged program. Is CC-BY-SA ok for that?