Answer the question
In order to leave comments, you need to log in
Unable to compose correct UPDATE ms sql query?
Hi all! I can’t deal with this problem:
There is an Import table (full):
I need to copy columns from it (FirstName, LastName, Email) to the BolTest table (empty):
I try to make a copy with this query:
update BolTest
set
BolTest.FirstName=Import.FirstName,
BolTest.LastName=Import.LastName,
BolTest.Email=Import.Email
from BolTest inner join Import
on BolTest.StaffId=Import.StaffId
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question