Home > Database > Mysql Tutorial > body text

mysql存储过程跟任务调度器

WBOY
Release: 2016-06-07 16:26:47
Original
1327 people have browsed it

mysql存储过程和任务调度器 -- 创建月表和日表的存储过程delimiter $$use `devicitydb1`$$drop procedure if exists `createTable`$$create definer=`devicityusr01`@`%` procedure `createTable`()begin declare sql_str varchar(20000); declare tname varc

mysql存储过程和任务调度器
-- 创建月表和日表的存储过程
delimiter $$

use `devicitydb1`$$

drop procedure if exists `createTable`$$

create definer=`devicityusr01`@`%` procedure `createTable`()
begin
  declare sql_str varchar(20000);
  declare tname varchar(200);
  declare dataStr varchar(2000);
  declare i int;
  
  set i=0;
  while i
<p>?</p>



Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!