![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
Leslie-M
怀疑徘徊前进
展开
-
mysql 存储过程示例1
over:BEGIN #Routine body goes here... -- 同步备份epg_program表 -- AUTHORS :zm -- 2013年8月7日11:29:02 -- 参数OUT a_oiRet int DECLARE count INT DEFAULT 0; declare synMaxDate date default ''; de原创 2013-08-09 10:26:00 · 661 阅读 · 0 评论 -
存储过程示例2
goOut:BEGIN #Routine body goes here... /** * 更新地方表 * AUTHORS :zxl * PARAMS: * i_vcTableName :要更新的地方表的名字 * i_vcArea:要更新的地方表的地点 */ DECLARE count INT DEFAUL转载 2013-08-09 10:34:29 · 595 阅读 · 0 评论 -
存储过程示例3
over:BEGIN #Routine body goes here... -- 同步备份epg_program表 -- AUTHORS :zm -- 2013年8月7日11:29:02 declare epgname varchar(500) default ''; declare epgdate date default ''; declare epgstime d原创 2013-08-23 12:18:53 · 586 阅读 · 0 评论 -
存储过程示例5
goOUT:BEGIN #Routine body goes here... -- AUTHORS :zm -- 时间: 2013年8月23日16:32:56 -- 根据传入的城市、类型计算在该城市的节目、或者频道收视率, -- a_oiRate 返回计算的收视率 -- a_iSdate 传入的计算收视率的开始如期 -- a_iEdate 传入的计算收视率的结束日期原创 2013-08-26 11:48:57 · 489 阅读 · 0 评论 -
存储过程示例4
goOut:BEGIN #Routine body goes here... -- AUTHORS :zm -- 时间: 2013年8月23日10:20:04 -- 根据传入的城市、频道、节目, 计算该频道的节目在该城市的收视率 -- a_oiRate 返回计算的收视率 -- a_iSdate 传入的计算收视率的开始如期 -- a_iEdate 传入的计算收视率的结束原创 2013-08-23 14:52:42 · 528 阅读 · 0 评论 -
我的常用mysql语句2
create table `t_umw_user_roles_push_rule` ( `msg_id` int(11) not null, `operation_id` int(11) not null, `userId` int(11) not null, `ageArea` int(11) not null, `sex` bit not null, `effect_flag` b原创 2013-08-09 10:52:43 · 685 阅读 · 0 评论 -
我常用的mysql语句1
3、select a.udevno, a.mac, a.type, b.postcode, b.model, a.vip, a.mcode, a.isactiv from udev_basic a, udev_extend b where a.udevno = b.udevno and a.mac='450e27aba7f1f5d8fe54a812a75d1c72'; 4、 s原创 2013-08-09 10:46:23 · 653 阅读 · 0 评论