in reply to Unique ID

This may be more of a SQL question. I know in MySQL, (and Sybase) you can have a column type of primary key autoincrement so an insert will automagically increment that column's value. You can select on this column and get your unique ID.

Hope This Helps..

_14k4 - perlmonks@poorheart.com (www.poorheart.com)