Dec 2, 2003 #1 100dtl Programmer Joined Aug 18, 2003 Messages 313 Location 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 Joined Jun 30, 2002 Messages 8,847 Location CA create table messages(id int counter ,password text,ipaddress text) rudy http://r937.com/ Upvote 0 Downvote
Dec 2, 2003 #3 KenReay Programmer Joined Aug 15, 2002 Messages 5,424 Location 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 Joined Aug 18, 2003 Messages 313 Location GB r937.. did'nt work Upvote 0 Downvote
Dec 2, 2003 #5 nicsin Programmer Joined Jul 31, 2003 Messages 743 Location 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 Joined Sep 25, 2002 Messages 3,554 Location 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 Joined Aug 18, 2003 Messages 313 Location GB Correct.. nice one! Upvote 0 Downvote
Jan 8, 2004 #8 thegad Technical User Joined Jan 8, 2004 Messages 6 Location DE Other solution : create table messages(id AUTOINCREMENT,password text,ipaddress text) Upvote 0 Downvote