newmediaguy
Programmer
Hi Guys,
I have had a quick search for a similar topic as I am sure it would have been asked before.......
Right, what i need to do is to update a table with the record ID of another. They both have a matching field.
I need to update tbl 2 with the RecID where tbl1.name = tbl2.name
I try in the SQL window in SQL 2000 and i get an error stating that the select statment is not supported in that query type.
I can do it in ASP but really would like to develop my SQL skills.
If you want any more info then let me know.
Any advice or help would be appreciated.
Many thanks
Glen
I have had a quick search for a similar topic as I am sure it would have been asked before.......
Right, what i need to do is to update a table with the record ID of another. They both have a matching field.
Code:
tbl 1
RecID
Name
tbl 2
UID
Name
Category
I need to update tbl 2 with the RecID where tbl1.name = tbl2.name
I try in the SQL window in SQL 2000 and i get an error stating that the select statment is not supported in that query type.
I can do it in ASP but really would like to develop my SQL skills.
If you want any more info then let me know.
Any advice or help would be appreciated.
Many thanks
Glen