Getting a Database List
From: Lee <lee_at_dev.null.com>
Date: Thu, 25 Jul 2002 10:54:15 +0800
Message-ID: <3d3f6464_at_news.starhub.net.sg>
Date: Thu, 25 Jul 2002 10:54:15 +0800
Message-ID: <3d3f6464_at_news.starhub.net.sg>
I need to know the interactive SQL syntax to get a listing of databases on
the current server.
Using Informix, the commands would be:
MySQL:
MS-SQL:
database sysmaster;
select name from sysdatabases;
show databases;
SELECT name FROM master..sysdatabases ORDER BY name
Please reply by posting to this newsgroup. My email address is hashed to
protect me from spamming.
Thanks,
Lee
Received on Thu Jul 25 2002 - 04:54:15 CEST