码迷,mamicode.com
首页 >  
搜索关键字:number triangles    ( 27120个结果
创建ORACLE JOB
oracle job简介主要的使用情景定时在后台执行相关操作:如每天晚上0点将一张表的数据保存到另一张表中,2:定时备份数据库等熟化说万事开头难,这里我只简单记述一个创建一个简单的job步骤如下:1、创建一张表g_testcreate table G_TEST(ID NUMBER(12),C_DAT...
分类:数据库   时间:2014-06-29 12:40:17    阅读次数:252
LeetCode: Distinct Subsequences [115]
【题目】 Given a string S and a string T, count the number of distinct subsequences of T in S. A subsequence of a string is a new string which is formed from the original string by deleting some (can be none) of the characters without disturbing the relati...
分类:其他好文   时间:2014-06-29 07:27:17    阅读次数:210
Single Number II
Single Number II
分类:其他好文   时间:2014-06-07 07:44:19    阅读次数:192
js中Number数字相乘后值不对
问题: 37.5*5.5=206.08 (JS算出来是这样的一个结果,我四舍五入取两位小数) 我先怀疑是四舍五入的问题,就直接用JS算了一个结果为:206.08499999999998 怎么会这样,两个只有一位小数的数字相乘,怎么可能多出这么小数点出来。 我Google了一下,发现原来这是J...
分类:Web程序   时间:2014-06-06 09:04:57    阅读次数:424
LeetCode:Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then l...
分类:其他好文   时间:2014-06-05 22:13:19    阅读次数:391
oracle job 定时执行 存储过程
一、创测试表-- Create tablecreate table J_STOCK_MONTH( CLASS3 VARCHAR2(12) not null, AMOUNT NUMBER(12) not null, CREATE_TIME DATE not null, CR...
分类:数据库   时间:2014-06-05 22:12:41    阅读次数:559
ORACLE SQL 获取连续28天有销售的店铺
最近公司一SSRS报表需求改变,同比店铺的选取为连续28天有销售的店铺,思考良久,发现可以利用ROW_NUMBER() OVER(PARTITION BY COLUMN01 ORDER BY COLUMN02)来实现,ROW_NUMBER()从1开始,按照COLUMN01分组以及COLUMN02排序...
分类:数据库   时间:2014-06-05 20:55:28    阅读次数:451
leetcode--Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-06-05 14:15:07    阅读次数:221
leetcode--Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-06-05 14:10:38    阅读次数:304
JQuery中$.ajax()方法参数详解
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和 delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求...
分类:Web程序   时间:2014-06-05 13:17:56    阅读次数:447
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!