Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

OK - this shouldn't be so difficult

$
0
0

Hello Everyone:

All I want to do is update one field in the Personnel_Tbl, from another field in List_JobRanks. Following is my UPDATE statement:

UPDATE Personnel_Tbl
SET Personnel_Tbl.RankClr = List_JobRanks.RnkColor
INNER JOIN List_JobRanks
ON Personnel_Tbl.Rank = List_JobRanks.Rank

Following is the error message I receive when trying to execute in SQL Server Management Studio

There was an error parsing the query. [ Token line number = 3,Token line offset = 1,Token in error = INNER ]

Thank you in advance for helping me solve this problem.

Pavilion


Viewing all articles
Browse latest Browse all 23857

Trending Articles