摘要:
use address;drop procedure if exists `proc_s_area_code`;delimiter // #告诉mysql解释器,该段命令是否已经结束了,mysql是否可以执行了。 create procedure `proc_s_area_code`(in page 阅读全文
posted @ 2018-07-06 16:06
luoliyi
阅读(230)
评论(0)
推荐(0)
摘要:
//str:传入的日期 eg:"2018-07-23" function IsDate(str) { arr = str.split("-"); if(arr.length == 3) { intYear = parseInt(arr[0],10); intMonth = parseInt(arr[ 阅读全文
posted @ 2018-07-06 15:32
luoliyi
阅读(597)
评论(0)
推荐(0)
摘要:
create proc proc_Product@page int, -- 页数@row int -- 一页有几行Asdeclare @newpage int set @newpage = (@page-1)*@row select top(@row)* from Product where id 阅读全文
posted @ 2018-07-06 15:31
luoliyi
阅读(109)
评论(0)
推荐(0)

浙公网安备 33010602011771号