Nov 5, 2004 #1 tomk01 ISP Oct 18, 2004 69 US is there a way to create an autofill Primary key in SQL?
Nov 5, 2004 #2 PHV MIS Nov 8, 2002 53,708 FR For an AutoNum Primary Key: ALTER TABLE myTable ADD COLUMN myID COUNTER(1,1) CONSTRAINT myPK PRIMARY KEY; Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
For an AutoNum Primary Key: ALTER TABLE myTable ADD COLUMN myID COUNTER(1,1) CONSTRAINT myPK PRIMARY KEY; Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Nov 5, 2004 Thread starter #4 tomk01 ISP Oct 18, 2004 69 US it is working now..... thank you Upvote 0 Downvote