S
SeRene
Hi,
I need to update the below 6 tables with the same report
date. The sql code below doesnt seem to work if one of the
tables doesnt have any records for it to update.
So if one of the tables do not have ANY records, it
wouldnt update the other tables as well.
Can some1 tell me how i can edit the sql codes below so
that even if one of the tables do not have any records,
those tables with records will still be updated with the
date.
Thanks!
SQL Code---->
UPDATE tbl1, ttbl2, tbl3, tbl4, tbl5, tbl6 SET
tbl1.reportdate = [Enter Report Date:], tbl2.reportdate =
[Enter Report Date:], tbl3.reportdate = [Enter Report
Date:], tbl4.reportdate = [Enter Report Date:],
tbl5.reportdate = [Enter Report Date:], tbl6.reportdate =
[Enter Report Date:];
I need to update the below 6 tables with the same report
date. The sql code below doesnt seem to work if one of the
tables doesnt have any records for it to update.
So if one of the tables do not have ANY records, it
wouldnt update the other tables as well.
Can some1 tell me how i can edit the sql codes below so
that even if one of the tables do not have any records,
those tables with records will still be updated with the
date.
Thanks!
SQL Code---->
UPDATE tbl1, ttbl2, tbl3, tbl4, tbl5, tbl6 SET
tbl1.reportdate = [Enter Report Date:], tbl2.reportdate =
[Enter Report Date:], tbl3.reportdate = [Enter Report
Date:], tbl4.reportdate = [Enter Report Date:],
tbl5.reportdate = [Enter Report Date:], tbl6.reportdate =
[Enter Report Date:];