I\'m using the following LOAD DATA LOCAL INFILE query to read data from a file and insert it into a table. Everything works great as is. However I need to modify the query
Rather than add this field to the query, it would be easier to add it to the table:
ALTER TABLE myTable ADD COLUMN datetime_entered TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP;
Any insertion will then automatically have a timestamp of when the record was entered.