c0deM0nK424
Programmer
Time is very short - and essentially I'm a newbie to SQL Server 2005...I had to change the settings to enable remote connections so I can run it on my PC.
I am moving from MS Access to SQL Server 2005, and have gotten as far as being able to create tables and populate them with data - however I want to know how I can achieve the equivalent of 'auto number' in SQL Server 2005, in that each time a new record/row is added to a table and I hit tab, a primary key is assigned automatically to that row.
I selected the column I wanted as Primary Key but thats all I've done, oh of course I set it as 'int' type.
Surely that's not enough information for the P.K in this table ? So how do I go abouts making it step ascendingly in that its Auto-Generated (and incremented) by 1 ?
I am moving from MS Access to SQL Server 2005, and have gotten as far as being able to create tables and populate them with data - however I want to know how I can achieve the equivalent of 'auto number' in SQL Server 2005, in that each time a new record/row is added to a table and I hit tab, a primary key is assigned automatically to that row.
I selected the column I wanted as Primary Key but thats all I've done, oh of course I set it as 'int' type.
Surely that's not enough information for the P.K in this table ? So how do I go abouts making it step ascendingly in that its Auto-Generated (and incremented) by 1 ?