How to list all Informix database names

I want to know if there is a way to list (get) all database names in Informix. I need the right query or stored procedure to do this.

+3
source share
3 answers

According to the documentation , the command to get the list of databases on the server you are connected to is simple:

show databases
+2
source

Alternatively, you can execute this query when connecting to the database sysmaster:

select * from sysdatabases 
+6
source

( ):

sysmaster: sysdatabases;

+1

Source: https://habr.com/ru/post/1776694/


All Articles