Newbie here.
a friend helped me but now need more help.
What I used to have was users would type in a date of a report was completed (dd/mm/yyyy) and it would be stored in a table called cwis_forms, in the column date_reported - data type varchar(15) and an id would be associated with it in the column irid
Now users do not have to type in the date_reported. This date is now automatically stored in a table named cwis_inspection_reports in a column named date_final_saved and is associated with the same id irid
I need to copy all the dates from the cwis_forms, in the column date_reported records to the cwis_inspection_reports in a column named date_final_saved based on the irid.
i assume it is something easy like copy this to that where the irid is equal. but I am not a db person so I need the actual statement.
a friend helped me but now need more help.
What I used to have was users would type in a date of a report was completed (dd/mm/yyyy) and it would be stored in a table called cwis_forms, in the column date_reported - data type varchar(15) and an id would be associated with it in the column irid
Now users do not have to type in the date_reported. This date is now automatically stored in a table named cwis_inspection_reports in a column named date_final_saved and is associated with the same id irid
I need to copy all the dates from the cwis_forms, in the column date_reported records to the cwis_inspection_reports in a column named date_final_saved based on the irid.
i assume it is something easy like copy this to that where the irid is equal. but I am not a db person so I need the actual statement.