I have two tables:
Table1 (TagID, TagName, Primary Key (TagID)<br>
Table2 (TagName,ProductName, ProductID)
I would like to add a TagID column to Table2 and populate it with TagIDs from table1 where TagName=TagName.
Is this possible without going through and individually entering the TagIDs?
Yes, you can do this by altering the table and then updating the values:
I would recommend building an index on
table1(TagName)for performance.