我有以下幾點: /* execute multi query */
if ($mysqli->multi_query($query)) {
$n = 0;
do {
/* store first result set */
if ($result = $mysqli->store_result()) {
$i = 1;
$p = 1;
我有以下SQL腳本執行自定義分隔符查詢,我想用multiquery DELIMITER $$
DROP FUNCTION IF EXISTS `getAttendanceHistoryDates`$$
CREATE FUNCTION getAttendanceHistoryDates(processDate date)
RETURNS TEXT
DETERMINISTIC