Skip to content
Advertisement

sql update – access to the current row

I would like update the column [ACIdent] from the table [Values]. With the subquery i try to get an ID from the same table.

On the point ??? i try to access to the column [PathName] of the respective row of the update script. But this solution doesn’t work.

How can i do this? Many thanks in advance!

Advertisement

Answer

Restructure your query a bit so you can alias the table.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement