Abhinandhu K R

Abhinandhu K R

  • NA
  • 225
  • 21k

insert Query for sql server

Jul 20 2020 3:06 AM
how to insert the id of another table in a table using query.. i need the query for getting the script..
for example 
i need the id of tableB in tableA.. 
 
i tryd this
insert in tableA (name,tableBid)('some name',select id from tableB where name='something')
 
this is not working 
 

Answers (7)