If I have a View table created from a Query, is there any way to see the SQL that created it or the query that it is/was associated with? Somehow the SQL must be 'known' to the View table otherwise it would not update correctly when data in related tables is changed.
Regards
Nocton
[Solved] View table SQL
[Solved] View table SQL
Last edited by Nocton on Sat Mar 05, 2016 2:17 pm, edited 1 time in total.
OpenOffice 4.1.12 on Windows 10
Re: View table SQL
Yes. But Base has no tool to make it visible. You can find the view definition in the database/script file of your Base archive.
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
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: [Solved] View table SQL
Sorry, I forgot that you can query this stuff from internal system tables:
(HSQL 1.8)
Code: Select all
SELECT * FROM "INFORMATION_SCHEMA"."SYSTEM_VIEWS"
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
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice