1.308 SQL92_SECURITY
SQL92_SECURITY specifies whether users must have been granted the SELECT privilege on a table to execute an UPDATE or DELETE statement that references table column values in a WHERE or SET clause.
| Property | Description |
|---|---|
|
Parameter type |
Boolean |
|
Default value |
|
|
Modifiable |
No |
|
Modifiable in a PDB |
Yes |
|
Range of values |
|
|
Basic |
No |
The SQL standard specifies that security administrators should be able to require that users have SELECT privilege on a table when executing an UPDATE or DELETE statement that references table column values in a WHERE or SET clause.
Values
-
trueThe user must have
SELECTprivilege on a column to reference it in theWHEREclause of aDELETEorUPDATEstatement, on the right hand side of an assignment in theSETclause of anUPDATEstatement. -
falseA user with
DELETEprivilege on the target table of aDELETEstatement may reference any column of that target table in theWHEREclause. A user withUPDATEprivilege on the target table of anUPDATEstatement may reference any column of that target in theWHEREclause or on the right hand side of any assignment in theSETclause of theUPDATEstatement.