I have a table with the faithful "code"
Code character varying (10) NOT NULL,
....
The data must be like VXXXXXXXXX | JXXXXXXXXX where x are numbers with 9 digits, is there a way to add "0" in the numbers with 8 digits or less?
if I get: VXXX add 0 to get V000000XXX?
I want to do this using triggers.