In order to create a table with an encrypted column, the ENCRYPT keyword needs to be added, when specifying the COLUMN. Any user with an access to the encrypted columns can read the data from these columns, but the data is encrypted on the disk.
Example:
|
›_ Console |
|
-
Insert one row:
|
›_ Console |
|
-
Indexes can be created on the encrypted columns:
|
›_ Console |
|
If a column in an existing table needs to be encrypted, the table has to be altered:
|
›_ Console |
|