Click here to Skip to main content
13,249,035 members (48,468 online)
Click here to Skip to main content


Posted 4 Nov 2012

Addding an auto increment column in one table to another table

INSERT INTO Table2 (user_id)VALUES (SELECT user_id from Table1 WHERE )More info...



Compare Revision Minor Date Status Editor
2 - publicly available No 4-Nov-12 6:32 Available Balaji Birajdar (India)
Updates in content. 11 changes had been made.
1 No 4-Nov-12 6:32 Available Balaji Birajdar (India)


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


About the Author

Balaji Birajdar (India)
Web Developer
India India
Software developer by profession, working for a service and product based organisation in India.

Career graph:
Software Programmer since 2002.
Web Developer in ASP.NET since 2004.

I love reading the blogs and articles of technology experts. I love codeproject and stackoverflow .

I love to share knowledge and help the programmers. I appreciate if some body corrects my code or my concepts which helps me learn.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171114.1 | Last Updated 4 Nov 2012
Article Copyright 2012 by Balaji Birajdar (India)
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid