UPDATE with a SELECT - is it possible?
- From: "Jesper F" <askfortheemail@xxxxxxx>
- Date: Fri, 17 Mar 2006 10:13:26 +0100
Is it possible to update a table with something like this:
UPDATE table1
(firstname,lastname)
SELECT 'newfirstname' as f, 'newlastname' as l
WHERE table1.personID = 5
or must one use something like:
UPDATE table1 SET field1 = 'xx', field2='yy' WHERE personID=5
I mean, can one update a range in a table with a range selected somewhere
else?
Jesper
.
- Follow-Ups:
- Re: UPDATE with a SELECT - is it possible?
- From: Gary Walter
- Re: UPDATE with a SELECT - is it possible?
- From: Gary Walter
- Re: UPDATE with a SELECT - is it possible?
- Prev by Date: Re: Getting the SQL text of an MS Access Query in VBA
- Next by Date: Re: Help FInd Syntax error in short Query?
- Previous by thread: Re: Getting the SQL text of an MS Access Query in VBA
- Next by thread: Re: UPDATE with a SELECT - is it possible?
- Index(es):
Loading