Default Project

In some cases it may be useful to link to a default project, and the GB_SYS_USER_PROJ table is used for this purpose. Micromine Geobank seldom uses this table directly; however, it can be referenced by SQL queries to drive exports, reports, data views, etc. Typically these queries would include a section in the WHERE clause to retrieve the default project for the current user, as demonstrated by the following example:

WHERE  PROJECT = (SELECT PROJECT FROM GB_SYS_USER_PROJ

WHERE  USER_ID = (SELECT USER FROM DUAL))