码迷,mamicode.com
首页 >  
搜索关键字:use case    ( 38996个结果
ORACLE 按表字段值的不同统计数量
select p.id comperitorId,p.compcorp competitorName, sum(case when c.kindname = 'ATM' then c.num else 0 end) atm, sum(case when c.kindname = 'CRS' then c.num else 0 end) crs, sum(case when c.kindname...
分类:数据库   时间:2014-06-03 03:12:09    阅读次数:211
mysql常见问题
1. mysql忘记密码 vim /etc/my.conf 文件在mysqld下添加skip-grant-tables,表示mysql在登录的时候不检查权限。登录mysql。直接运行mysql> use mysql; > update user set Password=password('root') where User='root' > flush privileges; > qu...
分类:数据库   时间:2014-06-03 02:24:16    阅读次数:283
HLG 2116 Maximum continuous product (最大连续积 DP)
链接:  http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=2116 Description Wind and his GF(game friend) are playing a small game. They use the computer to randomly generated a nu...
分类:其他好文   时间:2014-06-03 02:17:13    阅读次数:252
LeetCode: Word Search [079]
【题目】 Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be use...
分类:其他好文   时间:2014-06-03 01:07:58    阅读次数:329
php 批量添加 多行文本框 textarea
$act=!empty($_GET['act']) ? trim($_GET['act']) : ''; switch($act) { case 'adda': $area['a_value'] = trim($_POST['a_value']); $area['a_type']=3; if(strpos($area['a_value'], "\n") === false) ...
分类:Web程序   时间:2014-06-03 00:46:17    阅读次数:297
hibernate 单元测试框架
hibernate在写数据库配置文件时非常的不确定,必须进行必要的测试保证数据库结构的正确性。所以可以应用junit进行测试。 使用junit非常简单,eclipse只需要右键项目新建一个junit test case即可(填写类名和包名)。然后在对应位置写对应的代码运行测试即可。 下面给出一个常用的hibernate测试框架: package com.atguigu.hibernate.e...
分类:系统相关   时间:2014-06-03 00:05:35    阅读次数:449
「2014-5-31」Z-Stack - Modification of Zigbee Device Object for better network access management
写一份赏心悦目的工程文档,是很困难的事情。若想写得完善,不仅得用对工具(use the right tools),注重文笔,还得投入大把时间,真心是一件难度颇高的事情。但,若是真写好了,也是善莫大焉:既可让人明白「为何如此设计」,即「知其然更知其所以然」;也能剥离一些琐碎的细节,让更多没那么多时间与...
分类:数据库   时间:2014-06-02 21:24:16    阅读次数:486
PIC18F4520 UART模板
如题 #define USE_AND_MASKS #include #include #include #include #pragma config OSC = INTIO67 //internal oscillator #pragma config WDT = OFF //watchdog timer off #pragma config LVP = OFF...
分类:其他好文   时间:2014-06-01 11:16:04    阅读次数:246
每日算法之二十二:Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space....
分类:其他好文   时间:2014-06-01 10:41:23    阅读次数:242
mysql命令
启动:net start mySql; 进入:mysql -u root -p 或者 mysql -h localhost -u root -p databaseName; 列出数据库:show databases; 选择数据库:use databaseName; 列出表格:show tables; 显示表格列的属性:show columns from tableName;...
分类:数据库   时间:2014-06-01 09:44:18    阅读次数:301
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!