H
h.a. collins
Hello Everyone,
I am attempting what I thought would be a simple update query between
two tables.
In table 1, I have added a new field called Email Address. This field
is currently blank.
Table 2 was originally a text file, which I imported into a new table.
It contains the same people as Table 1, as well as their email
address--which I would like to update to Table 1. However, table 2
does not have a primary key (or any unique identifiers for my people).
In the query design, I liked the two tables with the Email Address
field. Here is the SQL:
UPDATE Persons INNER JOIN Students ON Persons.[Email Address] =
Students.[Email Address] SET Persons.[Email Address] = Students.[Email
Address];
Any suggestions on what might be wrong here?
Humbly,
a newbie who should be asleep
I am attempting what I thought would be a simple update query between
two tables.
In table 1, I have added a new field called Email Address. This field
is currently blank.
Table 2 was originally a text file, which I imported into a new table.
It contains the same people as Table 1, as well as their email
address--which I would like to update to Table 1. However, table 2
does not have a primary key (or any unique identifiers for my people).
In the query design, I liked the two tables with the Email Address
field. Here is the SQL:
UPDATE Persons INNER JOIN Students ON Persons.[Email Address] =
Students.[Email Address] SET Persons.[Email Address] = Students.[Email
Address];
Any suggestions on what might be wrong here?
Humbly,
a newbie who should be asleep