Returns the name (or alias) of the database for the current connection.
The character file returned is determined matches the DBN connection parameter value. If you did not use the DBN connection parameter, the name returned is the database file without path and extension.
UltraLite employs different methods that allow you to check the value property:
In Sybase Central Right click the database you have connected to and choose Properties. The Database Properties dialog box appears, displaying the configured values for all existing database properties. The database name is listed at the top of the General tab.
In C/C++ Call GetDatabaseProperty( ul_database_property_id name ).