How do I figure out which HSQLDB Embedded version is running inside my LO?
It’s not in Help
| About
.
Also, is “HSQDB” HyperSQL or Heidi SQL???
I’m running the latest LO version 5.2.3.3
Here’s what I’ve learned so far…
== I suspect 5.2.3.3 is running an older version of HSQL because Tools | SQL… can’t find this HSQL function:
SELECT ROW_NUMBER() FROM ...
== There is a way to upgrade HSQL by splitting off the database best described here.
== I looked at this related question, but it fails to return an answer for me. Does this mean I have V 1.8? When I try the suggested solutions with Tools
| SQL...
here’s what I get:
SELECT * FROM "INFORMATION_SCHEMA"."SYSTEM_TABLES"
Executes successfully. But only returns something like this:
,INFORMATION_SCHEMA,SYSTEM_ALIASES,SYSTEM TABLE,the aliases defined within this database,MEMORY,true,
,INFORMATION_SCHEMA,SYSTEM_ALLTYPEINFO,SYSTEM TABLE,a description of all non user-defined data types known to this database and the level of support for them in various capacities,MEMORY,true,
,INFORMATION_SCHEMA,SYSTEM_AUTHORIZATIONS,SYSTEM TABLE,one row for each user and one row for each role ,MEMORY,true,
etc…
SELECT * FROM "INFORMATION_SCHEMA"."SYSTEM_TABLE_CONSTRAINTS"
Executes successfully. But similarity only returns this:
,PUBLIC,SYS_FK_106,FOREIGN KEY,PUBLIC,Products,NO,NO,
,PUBLIC,SYS_FK_161,FOREIGN KEY,PUBLIC,Products,NO,NO,
,PUBLIC,SYS_FK_164,FOREIGN KEY,PUBLIC,MediaContacts,NO,NO,
,PUBLIC,SYS_FK_180,FOREIGN KEY,PUBLIC,Products,NO,NO,
,PUBLIC,SYS_PK_47,PRIMARY KEY,PUBLIC,Products,NO,NO,
,PUBLIC,SYS_PK_49,PRIMARY KEY,PUBLIC,Categories,NO,NO,
,PUBLIC,SYS_PK_51,PRIMARY KEY,PUBLIC,MediaContacts,NO,NO,
,PUBLIC,SYS_PK_53,PRIMARY KEY,PUBLIC,Companies,NO,NO,
SELECT * FROM "INFORMATION_SCHEMA"."TABLE_CONSTRAINTS";
Fails to execute: “Table not found”
SELECT * FROM "INFORMATION_SCHEMA"."SYSTEM_CHECK_CONSTRAINTS";
Executes successfully. But no results returned. ???
(Due to a bug in Ask.LibreOffice.org where code inside of a bulleted list does not display correctly, I used == rather than * for line prefixes above.)