R
RzB
Can I use a subquery to create a row of
data that can be used as data in an UPDATE.
I have a select something like...
SELECT (some expressione) AS Exp1
FROM ..........
WHERE..........
Now I want to use this in an UPDATE such
that I use the value Exp1 ...
UPDATE tblSomeTabe
SET tblSomeTabe.Fld1 = Exp1
WHERE tblSomeTabe.Fld2 = xx
Can I do this? Where does the SELECT go?
Many thanks,
Roy
data that can be used as data in an UPDATE.
I have a select something like...
SELECT (some expressione) AS Exp1
FROM ..........
WHERE..........
Now I want to use this in an UPDATE such
that I use the value Exp1 ...
UPDATE tblSomeTabe
SET tblSomeTabe.Fld1 = Exp1
WHERE tblSomeTabe.Fld2 = xx
Can I do this? Where does the SELECT go?
Many thanks,
Roy