> little harder that's all since it needs to modify the insert statement. No need to modify the insert statement if the sequence is used in a before insert trigger. You get the same behaviour of an autoinc column. Only the database creation script need to be different, but should not be an issue. -- LDS