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

Autoinc query

Status
Not open for further replies.

wickyd

Technical User
Feb 14, 2002
57
ZA
I have a table with three columns.

I create the table as follows:


SELECT ACCNUM, AREA and NETT INTO AREA1 FROM ALLAREA
WHERE AREA = '01';


I now want to add a fourth column, a AUTOINC column which starts at 1 and ends at the last row.

How do I add this row?

I am using DBISAM V3.21

Thank you.
wickyd
 
Take a look at ranking query.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top