Solved

Autonumber in Access97?

Posted on 1998-08-16
1
217 Views
Last Modified: 2010-03-19
Hi experts,
I am using SQL Server 6.5 sp4 at back end and Access97 in front.  I need to define a field with autonumber for access.  What is the equvaliant in SQL Server.

thanks
0
Comment
Question by:msali
1 Comment
 
LVL 1

Accepted Solution

by:
DennisH earned 20 total points
ID: 1089581
Yes there is an equivalent in SQL-Server 6.5 and later.  In SQL-Server you need to set the IDENTITY property of the field that you want to be an autonumber field.  If you are using Enterprise Manager for SQL Server, you can just set the Identity column in the Table Designer, Advanced Features, Primary Key tab.  You can also set it using a Transact-SQL CREATE TABLE statement.  The field will be of type "INT".
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question