metadata query

7 views
Skip to first unread message

Darshak

unread,
Jan 11, 2023, 3:36:19 AM1/11/23
to SQL Workbench/J - DBMS independent SQL tool
Hi Thomas,

 Is there way to get query being executed by WB to get metadata info ?
e.g. dbExplorer - Left panel - displays List of objects, type of object, etc.

Below settings are already enabled in OPTIONS.

Log all SQL statements as INFO message

Log internal SQL statements as INFO message

 

Thanks,
Darshak

Thomas Kellerer

unread,
Jan 11, 2023, 4:18:37 AM1/11/23
to sql-wo...@googlegroups.com
Ah, sorry.
The options dialog is misleading this will be logged on DEBUG level, so the option needs to be enabled and the log level needs to be DEBUG

I will change that.

However, many things are retrieved through the JDBC driver, so SQL Workbench doesn't really run a SQL query.
Those are e.g. the list of tables/procedures, table columns, indexes and foreign keys.

Regards
Thomas

Darshak

unread,
Jan 11, 2023, 6:09:15 AM1/11/23
to SQL Workbench/J - DBMS independent SQL tool
Hi,

I have enabled Log Level to DEBUG (in options). 
I got asked some info / clue from it as few metadata queries are available in log.

Thanks
Reply all
Reply to author
Forward
0 new messages