Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

First time using Enterprise

Status
Not open for further replies.

timcadieux

Programmer
May 25, 2005
129
BE
I just made a new table for the first time. How can i create an AutoIncrement Field and how do I make a text field 255, mine is at 16 and will nto let me change it?
 
Access's AutoIncrement field is the same thing as SQL Servers Identity field. Identity fields must be integers. You can specify the 'first number' to use and the 'amount to increment'

Text fields in SQL Server are the same thing as Access's Memo field. It takes 16 bytes to store the 'offset location' where the 'real' data is stored. Instead of using text fields, you really want to use VarChar fields. With a varchar, you can specify the maximum size. VarChar fields cannot be larger than 8000 characters.



-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top