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

insert data into colums of different tables

Status
Not open for further replies.

P Soman

Technical User
Apr 28, 2019
1
0
0
AE
How can I insert data into two or more tables which having same column name ?

Thanks
 
Since you cannot insert into multiple tables with a single Insert statement, you would need to run multiple Insert statements, each inserting into a specific table, and then as such, each statement knows exactly what table and column it will insert into.






----------------------------------
Phil AKA Vacunita
----------------------------------
OS-ception: Running Linux on a Virtual Machine in Windows which itself is running in a Virtual Machine on Mac OSx.

Web & Tech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top