NODEFDAC environment variable
Enabling NODEFDAC applies the ANSI-compliant restrictions on default access privileges for the PUBLIC group when tables or Owner-mode user-defined routines are created in databases that are not ANSI-compliant.
yes
, - the database server withholds default table access privileges from PUBLIC when a new table is created,
- and also withholds the default Execute privilege from PUBLIC when an owner-privileged UDR is created.
- yes
- prevents default table privileges (Select, Insert, Update, and Delete) from being granted to PUBLIC on new tables in a database that is not ANSI-compliant. This setting also prevents the Execute privilege from being granted to PUBLIC by default when a new user-defined routine is created in Owner mode.
The yes setting is case sensitive,
and is also sensitive to leading and trailing blank spaces. Including
uppercase letters or blank spaces in the setting is equivalent to
leaving NODEFDAC unset. When NODEFDAC is not set, or
if it is set to any value besides yes, default privileges
on tables and Owner-mode UDRs are granted to PUBLIC by default when
the table or UDR is created in a database that is not ANSI-compliant.
The setting YES
, for example, disables NODEFDAC.
Enabling NODEFDAC has no effect in an ANSI-compliant databases.