I am trying to populate the records of one field based on the value of another field. So if I have a value of 1 as my plan_id, I want the value of my Plan_Name to be plan1.
Essentially, I need to write a query to select a bunch of records and populate another field with new values based on the selected records. Here is my syntax so far:
INSERT INTO PascoCounty_Parcels (Plan_Name) VALUES (Plan1) SELECT * from PascoCounty_Parcels where PlanID = 1;
I get a "missing semicolon at end of SQL Statement" message. I think my syntax is wrong - it's been a while since I have done this.
Thanks,
Monte
Essentially, I need to write a query to select a bunch of records and populate another field with new values based on the selected records. Here is my syntax so far:
INSERT INTO PascoCounty_Parcels (Plan_Name) VALUES (Plan1) SELECT * from PascoCounty_Parcels where PlanID = 1;
I get a "missing semicolon at end of SQL Statement" message. I think my syntax is wrong - it's been a while since I have done this.
Thanks,
Monte