Global mapping priority
Hi,
If I map all globals with (*) to a database1, then would like to map specific only some globals eg. MYGLOB* to be located in a different database2, which mapping will override the other, so would all globals that starts with MYGLOB* be placed in database1 or 2?
Thanks
Comments
database2
When you add the entries to the table of global mappings they are automatically listed in priority order. The mapping algorithm begins at the top of the table and searches downward, stopping as soon as it finds a row that applies.
Thanks John
Clarification: you can't use * alone as a global mapping. If you want NS1 to get all of its globals from DB1, then the "Default database for globals" field should be DB1. You can then add mappings for certain globals (using * at the end if you want) to additional databases.
(changing your question a little) If you add a mapping B* to DB1, and a mapping of BA* to DB2, BA* mapping takes precedence.