On Thursday 06 November 2008, "EXT-Rothermel, Peter M" <[EMAIL PROTECTED]> 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@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general