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

SELECT @@IDENTITY AS id FROM doesn't work on Access

Status
Not open for further replies.

breathholder

Programmer
Nov 1, 2002
3
HR
I am trying to get primary key for inserted values in one SQL query but I can't get it right...
I've tried SELECT @@IDENTITY AS id FROM but it returns error
I am using Access database...
Please, if you could help it would be great

Tnx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top