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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I make a column autoincrement?

Status
Not open for further replies.

pederalm

Programmer
Jul 5, 2006
6
SE
I use the Pervasive 8.0 Table Designer. I want to set the first column 'id' to autoincrement. How do I do that?
 
Create a new table. I'm using the Table Designer but can't find a function to make a column autoincrement.
 
Are you using Table Designer or Create Table Wizard? If you're creating a new table, use the Create Table Wizard or SQL statements. An Autoincrement field is called Identity in SQL.


Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
 
I had a table without any records that I'm tried to edit in Table Designer, but the Data Type Identity weren't present in the drop down list. But when I use the new table wizard the data type Identity are present. Strange but now I (or you) have solved the problem.

Thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top