I have the following table
Invoice
+++++++++++++++++++++++++++
+ InvoiceId + InvoiceDate +
+++++++++++++++++++++++++++
+ int + int +
+++++++++++++++++++++++++++
InvoiceLine
++++++++++++++++++++++++++++++++++++++++++++
+ InvoiceLineId + InvoiceId + InvoiceDate +
++++++++++++++++++++++++++++++++++++++++++++
+ int + int + int +
++++++++++++++++++++++++++++++++++++++++++++
I recently added the last (InvoiceDate) column to the table and I would like to update it’s values with the corresponding values from the Invoice table. For every InvoiceId that matches in both tables, the InvoiceDate should be added to InvoiceLine.
If more input is needed don’t hesitate to ask.
1 Answer