var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: update data in one column with a value from another table.column
I'm trying to update data on a table with data from another table. I'm using a script that I've used on a SQL DB, but I cannot get it to work on a informix DB. I get a syntax error:
SET t1.DATE = t2.date
FROM table1 AS t1
JOIN table2 AS t2
ON t1.ID = t2.ID
table1 may have the same ID more that once, and all IDs need to be populated with the same date value as found in table2 for the same ID.
Any help anyone can provide will be greatly appreciated.
Thanks in advance.