码迷,mamicode.com
首页 >  
搜索关键字:begin    ( 8626个结果
delphi 时间
var time1,time2:TDateTime;begin time1 := strtodatetime('20:20:05'); time2 := strtodatetime('20:27:05'); ShowMessage(IntToStr(MinutesBetween(time1,...
分类:其他好文   时间:2014-08-22 21:01:29    阅读次数:192
订单事务-存储过程
create proc Createorder @orderId nvarchar(50),--订单号 @userId int,--用户编号 @address nvarchar(255),--收货人地址 @totalMoney money output --总金额 as  begin declare @error int set @error=0 begin transactio...
分类:其他好文   时间:2014-08-22 17:57:19    阅读次数:164
如何在Rails中执行Get/Post/Put请求
require 'open-uri'require 'json'require 'net/http'class CoupleController [:raw_data_put] def raw_date_get #如果有GET请求参数直接写在URI地址中 begin uri...
分类:其他好文   时间:2014-08-22 12:41:06    阅读次数:358
mysql触发器_begin end 执行多次语句
//多SQL中导出的触发器语句:DROP TRIGGER IF EXISTS `t_trig`;DELIMITER //CREATE TRIGGER `t_trig` BEFORE INSERT ON `t_goods` FOR EACH ROW beginset NEW.add_date = cu...
分类:数据库   时间:2014-08-22 12:38:56    阅读次数:388
备份BinLog并压缩 全备份
Rem Backup Mysql Binlog Rem Backup Yesterday and RAR Rem Backup every day 00:01 begin backup yesterday and now binlog @set curPath=%~dp0 @set SourcePa...
分类:其他好文   时间:2014-08-22 10:45:55    阅读次数:318
朴素贝叶斯
1. 基本方法设$X, Y$分别是定义在输入空间和输出空间上的随机变量。$P(X,Y)$是$X$和$Y$的联合概率分布。训练数据集\begin{equation}T = \{(x_1, y_1), (x_2, y_2),...,(x_n, y_n) \}\end{equation}由$P(X,Y)$...
分类:其他好文   时间:2014-08-22 08:10:05    阅读次数:212
c++ STL中的vector与list为什么没有提供find操作?
map里有,set里也有,vector,list没有,太不公平了吧。其实应该考虑为什么map,set里有find操作。include里有通用的find操作,通用的find内部是从begin到end进行一次遍历,复杂度是O(n)。通过iterator从begin到end遍历map与set时,得到的结果...
分类:编程语言   时间:2014-08-21 22:38:14    阅读次数:236
ALV的颜色分为行的颜色、列的颜色和CELL的颜色
ALV的颜色分为行的颜色、列的颜色和CELL的颜色。任务要求,将一定的Tabellenfeld 用黄色填充,也就是说CELL的颜色DATA:ls_cellcolorTYPElvc_s_scol,coltabTYPElvc_t_scol,colorTYPElvc_s_colo.DATA: BEGIN ...
分类:其他好文   时间:2014-08-21 18:52:27    阅读次数:232
mysql 存储过程
1 CREATE OR REPLACE PROCEDURE TESTPRO(PARAM1 IN VARCHAR2,PARAM2 IN VARCHAR2) AS 2 BEGIN 3 INSERT INTO TESTTABLE (ID,NAME) VALUES (PARAM1,...
分类:数据库   时间:2014-08-21 09:34:03    阅读次数:227
pl/sql 创建存储过程
1、存储过程创建格式: create [or replace] procedure procedure_name(参数) as/is 声明部分 begin 执行部分 [exception 异常处理部分] end; 注:(1).中括号为可选部分,即在一个存储过程中可以有也...
分类:数据库   时间:2014-08-20 14:02:33    阅读次数:309
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!