Daylight v4.9
Release Date: 1 February 2008


dt_exists - test to see if a database exists

Generic Prototype

dt_exists(dt_Handle, dt_String) => dt_Boolean

C Prototype

#include "dt_thor.h"

dt_Boolean dt_exists(dt_Handle server, dt_Integer dblen, dt_String dbname)

FORTRAN Prototype

include ''

logical dt_f_exists(server, dbname)

integer*4 server
character*() dbname


Tests to see if a database exists.

Return Value

Returns TRUE if the database exists, FALSE otherwise. For all other object types, this property is defined as FALSE.

Related Topics

dt_database(3) dt_getdatabases(3) dt_getpasswords(3) dt_getsearchpath(3) dt_getusers(3) dt_open(3) dt_ping(3) dt_server(3) dt_setpassword(3) dt_setsearchpath(3)