Re: automatically inserting/updating timestamp

2002-12-01 Thread [EMAIL PROTECTED]
Joseph's suggestion works beautifully when I do an insert statement from the MySQL monitor. Now how can I avoid getting the string of zeros that shows up when I use the LOAD DATA INFILE command? To clarify: I have three columns in my table: Column1, Column2, Column3. Column3 is my TIMESTAMP col

Re: automatically inserting/updating timestamp

2002-12-01 Thread Joseph Bueno
According to the manual, 'timestamp' does exactly what you are asking for: "The TIMESTAMP column type provides a type that you can use to automatically mark INSERT or UPDATE operations with the current date and time. If you have multiple TIMESTAMP columns, only the first one is updated automatical