xml - MySQL: Importing timestamp from file name -
i not able find preliminary asked question topic yet.
i have several xml files named "measurement_2015_06_09_14_53_04.xml". file having following structure:
<?xml version="1.0"?> -<dataentry> -<messwertarray index="0"> <pressbase1>3540</pressbase1> <pressbase2>87524</pressbase2> <pressbasemain>32456</pressbasemain> ... -<messwertarray index="1"> <pressbase1>246</pressbase1> <pressbase2>9852</pressbase2> <pressbasemain>4568</pressbasemain> etc.
i have table in mysql columns xml files, including 1 index. want add timestamp column @ beginning timestamp file namne --> date 2015_06_09, time 14_53_04. there way tell mysql use date in file timestamp , assign measurements xml file?
thanks lot in advance support!
what if add entries in xml date of file?
Comments
Post a Comment