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