Re: Database Exists?
Posted in 1994
Jonathan Leffler — — source: Informix-list mailing list archive (1991-1998)
>From: mltsa!jgill@mlgtw.att.com >Date: Mon, 16 May 94 10:11:06 BST >Subject: <No Subject Supplied> >X-Informix-List-Id: <list.3957> > >is there a way of knowing whether or not a database exists? The only ways are to try connecting to it or to try creating it. If the connect fails, it may be because it doesn't exist, or it may be because you don't have connect privileges. If the create fails, it may be because the database exists, or it may be for any of a large number other reasons. You can also play with ISQL or DBACCESS and see what databases these list. Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>