Mysql statement turn Excel (supports multiple worksheets)

Mysql statement on the form below to parse, and create an Excel worksheet according to Table name and write the data. Support an Excel document that contains multiple worksheets.

CREATE TABLE `test` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` date DEFAULT NULL,
  `time` time DEFAULT NULL,
  `temp` float DEFAULT NULL,
  `air_pressure` float DEFAULT NULL,
  `abcd` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

INSERT INTO `test` VALUES (1,"2020-01-23","18:30:06",22.01,20.3,"hello");

Download https://download.csdn.net/download/humphreyandkate/12131690 engineering
project using VS2015, C # development.

Released three original articles · won praise 1 · views 1556

Guess you like

Origin blog.csdn.net/humphreyandkate/article/details/104150182