Answers for "postgres add prefix to primary key"

SQL
0

postgres add prefix to primary key

CREATE TRIGGER test BEFORE INSERT ON name_of_table
FOR EACH ROW SET row_nanme = CONCAT('prefix-', primary_key);
Posted by: Guest on November-21-2020

Code answers related to "postgres add prefix to primary key"

Code answers related to "SQL"

Browse Popular Code Answers by Language