mysql怎么动态建表思路

mysql怎么动态建表思路,第1张

只能说一下思路,你按照步骤去网上搜答案

一、新建事件每天调用存储过程

二、存储过程里面建表

1、获取当前时间,转换字符串

2、拼接sql语句建表

public ApplicationContext ac = new ClassPathXmlApplicationContext(new String[] {"mybatis-spring.xml","spring.xml"})StudentService studentService =(StudentService)ac.getBean("studentService")


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/7169978.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-02
下一篇2023-04-02

发表评论

登录后才能评论

评论列表(0条)

    保存