摘要:
1 -- 字符串拼接 2 SET @this_year=YEAR(CURDATE()); 3 SET @str=CONCAT('select time from tb_history_',@this_year) 4 PREPARE stmt from @str; 5 EXECUTE stmt; 6 DEALLOCATE stmt; 7 8 -- 视图 9 DROP VIEW ... 阅读全文
posted @ 2018-11-28 11:05
Int64
阅读(161)
评论(0)
推荐(0)

浙公网安备 33010602011771号