Apr 24, 2007 #1 critical5 Programmer Dec 13, 2006 37 GB I have a table and with an increment ID which id now SN001 but i would like to add an extra 0 to make it SN0001...any idea how to do this?? I tried update like this UPDATE CUSTOMERS SET CUSTOMER_ID = "SN0+[CUSTOMER_ID,4]" Thanks
I have a table and with an increment ID which id now SN001 but i would like to add an extra 0 to make it SN0001...any idea how to do this?? I tried update like this UPDATE CUSTOMERS SET CUSTOMER_ID = "SN0+[CUSTOMER_ID,4]" Thanks
May 1, 2007 #2 hvass Programmer Mar 16, 2002 192 GB update customers set customer_id=concat(substring(customer_id,1,3),'0',substring(customer_id,4,2)) Upvote 0 Downvote
May 2, 2007 #3 r937 Technical User Jun 30, 2002 8,847 CA autonumber? increment? how do you populate new values into this column? just curious r937.com | rudy.ca Upvote 0 Downvote
autonumber? increment? how do you populate new values into this column? just curious r937.com | rudy.ca