标签:
原文地址:http://blog.csdn.net/business122/article/details/7528859
DECLARE dbName VARCHAR(30); SET dbName = ‘aaa‘; SET @STMT :=CONCAT("CREATE TABLE ",dbName," SELECT id from gamedb;"); PREPARE STMT FROM @STMT; EXECUTE STMT; END
标签:
原文地址:http://www.cnblogs.com/davidwang456/p/4684038.html