On Thursday 06 November 2008, "EXT-Rothermel, Peter M" <Peter.M.Rothermel@xxxxxxxxxx> wrote: > I have thought about using the serial data type for the employee.id but > I also want to automate the prepending of the { W, M, E } prefix. > You'll need write a before-insert trigger to assign the ID. -- Alan -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general