Page 1 of 1

How to execue simple commands in dbeaver

Posted: Wed Oct 15, 2014 3:01 pm
by Benjamin_e
lets say i want \d or \djs

how can i i run it :/

Re: How to execue simple commands in dbeaver

Posted: Sun Oct 19, 2014 3:08 pm
by JimKnicely
Hi,

Since \d and \dj are meta-commands specific to the vsql CLI, I don't think it's possible to execute them via dBeaver.

You can make your own queries that returns the same results as the meta-commands.

For instance, for \d you can use this query:

Code: Select all

select table_schema "Schema", table_name "Name", 'table' "Kind", tables.owner_name "Owner", comment "Comment"
from tables
left join comments
on comments.object_id = tables.table_id
order by 1, 2;