Dec 2, 2003 #1 100dtl Programmer Aug 18, 2003 313 GB create table messages(id int,password text,ipaddress text) I would like the first column ID to be autonumber.. is this possible? o
create table messages(id int,password text,ipaddress text) I would like the first column ID to be autonumber.. is this possible? o
Dec 2, 2003 #2 r937 Technical User Jun 30, 2002 8,847 CA create table messages(id int counter ,password text,ipaddress text) rudy http://r937.com/ Upvote 0 Downvote
Dec 2, 2003 #3 KenReay Programmer Aug 15, 2002 5,424 GB Hi Yes you can, although I cannot recall how out of my head, see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/acfundsql.asp for starters Regards Ken Reay Freelance Solutions Developer Boldon Information Systems Ltd Website needs upgrading, but for now - http://www.kenneth.reay.btinternet.co.ukUK Upvote 0 Downvote
Hi Yes you can, although I cannot recall how out of my head, see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/acfundsql.asp for starters Regards Ken Reay Freelance Solutions Developer Boldon Information Systems Ltd Website needs upgrading, but for now - http://www.kenneth.reay.btinternet.co.ukUK
Dec 2, 2003 Thread starter #4 100dtl Programmer Aug 18, 2003 313 GB r937.. did'nt work Upvote 0 Downvote
Dec 2, 2003 #5 nicsin Programmer Jul 31, 2003 743 GB I think it's: create table messages(id int autoincrement, password text,ipaddress text) Upvote 0 Downvote
Dec 2, 2003 1 #6 PaulBricker Programmer Sep 25, 2002 3,554 US The correct syntax is just counter. create table messages(id counter, password text,ipaddress text) This will return the id as Autonumber. Paul Upvote 0 Downvote
The correct syntax is just counter. create table messages(id counter, password text,ipaddress text) This will return the id as Autonumber. Paul
Dec 2, 2003 Thread starter #7 100dtl Programmer Aug 18, 2003 313 GB Correct.. nice one! Upvote 0 Downvote
Jan 8, 2004 #8 thegad Technical User Jan 8, 2004 6 DE Other solution : create table messages(id AUTOINCREMENT,password text,ipaddress text) Upvote 0 Downvote