PICTURE Column Constraint
Column constraint to specify input mask
A constraint is used to define rules that help to provide data integrity. Column constraints are specific to the column name specified. You must have ALTER privilege on the table. The table will be locked for EXCLUSIVE use during the operation.
The PICTURE column constraint is used to specify the input mask for the column.
ALTER TABLE "customers" MODIFY CONSTRAINT CUSTOMERID SET PICTURE "@^"