I dont want to use acceses identity field, and was wondering id access supports this?
DECLARE @max_id int BEGIN SELECT @max_id = max(id) FROM tableName IF @max_id = NULL SELECT @max_id = 1 ELSE SELECT @max_id = @max_id + 1 END "Success is a journey, not a destination!!" Doug Brown ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

