cancel
Showing results for 
Search instead for 
Did you mean: 

Universally unique identifier for database

0 Kudos
1,228

Is there a "universal unique identifier" for the ASA12-database?
Is it possible to use DB_PROPERTY('IdentitySignature') as such an identifier?

Accepted Solutions (1)

Accepted Solutions (1)

VolkerBarth
Contributor
0 Kudos

Then the following FAQs may be of help:


However, these FAQs do not deal with the question whether the running database is the "right" one, i.e. whether the correct database file has been loaded. Say, if you have 10 different databases with the same schema, they don't tell if the desired database (say, here database 3) has been loaded. In case you know the file location then db_property('File') may help.

For databases used with replication/synchronization, they usually can be identified via CURRENT PUBLISHER or the remote ID. For general purpose databases, I would think you would have to "label" them yourself, e.g. via a user-defined SET OPTION.

0 Kudos

Thanks... (although such an identifier would not be superfluous when the databases with one and the same filename & with one and the same scheme to migrate to the cloud and the client application must ensure that it has connected to "right" database).

Answers (0)