Nick,
Friday, June 14, 2002, 3:40:23 PM, you wrote:
NW> I can't work out why this query is also updating a TIMESTAMP col?
It's a paticular feature of TIMESTAMP column. Read the manual:
http://www.mysql.com/doc/D/A/DATETIME.html
NW> UPDATE news SET title = 'new title', text = 'new text' WHERE id = '4'
NW> The table is very simple:
NW> * id INT
NW> * date TIMESTAMP // this is current date when 'updating'?
NW> * title VARCHAR
NW> * text TEXT
NW> I need the date col to remain the same, what am I doing wrong?
NW> Much thanks...
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php