Hello Francisco;
If these tables are Data Dictionary bound tables, as I suspect they are, then you only need to set the encryption password on the dictionary and then enable encryption for the table in question.
Below is a short SQL script that enables encryption for all tables on a data dictionary:
[code=fw:11pjds9m][/code:11pjds9m]
Notice the script above uses an ADS Store Procedure. You could also use ADSEnableEncryption() + AdsEncryptTable() API functions, as in:
[code=fw:11pjds9m][/code:11pjds9m]
FYI - it is also possible to encrypt a single record on a table.
I find it is definitely simpler if using ADS Data Dictionary.
Hope that helps.
Reinaldo.
↧