hi
i have a table which is like this:
event
(event_id, user_id, tsStart, tsFinish)
where tsStart & tsFinish are timestamps...
now when i add an entry i only add data to the first 3 columns leaving the tsFinish blank (null)...
ie: INSERT INTO event values('1','1',now,null)
now when i try to update the tsFinish column instead of just that column updating, both columns which contain a timestamp (tsStart, tsFinish) get updated to the new
now()???
does anyone know why this could be happening... im using the following query to update..
UPDATE event SET tsFinish = now()
WHERE event_id = '6';
and am using windows xp, and mysql v 4.0.16???
many thanks
mark
i have a table which is like this:
event
(event_id, user_id, tsStart, tsFinish)
where tsStart & tsFinish are timestamps...
now when i add an entry i only add data to the first 3 columns leaving the tsFinish blank (null)...
ie: INSERT INTO event values('1','1',now,null)
now when i try to update the tsFinish column instead of just that column updating, both columns which contain a timestamp (tsStart, tsFinish) get updated to the new
now()???
does anyone know why this could be happening... im using the following query to update..
UPDATE event SET tsFinish = now()
WHERE event_id = '6';
and am using windows xp, and mysql v 4.0.16???
many thanks
mark