Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,

I want to copy records from one database to other database in MS-Access database.

I have some table whose ID is stored as foreign key in other table.

Now i want something Similar syntax to "SET IDENTITY OFF" of sql in Ms Access

can any body help me.
Posted
Comments
Amir Mahfoozi 5-May-13 1:15am    
The answer in stackoverflow seems correct : http://stackoverflow.com/questions/16379101/similar-syntax-of-set-identity-off-in-ms-access

1 solution

There is no equivilent in Access. You can, however, just specifiy the value you want for the ID column in the INSERT statement, so long as it doesn't conflict with an existing record.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900