I created a sequence in postgres but I still can't get it to automatically generate a number. I have a insert form in coldfusion that I want the user to enter infor into and then click submit, I want postgresql to automatically generate a number to insert into one of the fields. When I altered my table after the sequence was created I set up a default that looked like this: order_id (column name) default nextval('seq_ordersplaced'), I thought that this would work but it does nothing. Would anyone know how to code this into a web page that would populate the form?
Thanks
Thanks