码迷,mamicode.com
首页 >  
搜索关键字:where    ( 20257个结果
What Linux bind mounts are really doing
Lots of Unixes have some form of 'loopback' mounts, where you can mount a bit of an existing filesystem somewhere else; they're called loopback mounts...
分类:系统相关   时间:2015-02-27 16:50:39    阅读次数:194
java语言基础
1、String format用法:String query = "FROM Resource WHERE 1=1 %s"; String condition = "AND type=1 OR type=2 "; String hql = String.format(q...
分类:编程语言   时间:2015-02-27 16:26:37    阅读次数:107
plsql_判断包含字符串
一般有两种方法,以表plan_data_manage_product的gc_routing字段为例,判断gc_routing ?是否含有“B1” 1. 最常想到的 like方法: select * from plan_data_manage_product t where?t.gc_routing like ‘%B1%‘;...
分类:数据库   时间:2015-02-27 13:45:19    阅读次数:1590
Truncate table、Delete与Drop table的区别
Truncate table、Delete与Drop table的区别TRUNCATE TABLE 在功能上与不带 WHERE 子句的 DELETE 语句相同:二者均删除表中的全部行。但 TRUNCATE TABLE 比 DELETE 速度快,且使用的系统和事务日志资源少。DELETE 语句每次删除...
分类:其他好文   时间:2015-02-27 11:31:47    阅读次数:150
泛型约束
一共有5种不同的泛型约束值类型约束:要求泛型参数必须是值类型,例如int,short以及自定义的stuct等 public class MyClass2 where T : struct//这个泛型类只接受值类型的泛型参数 { }引用类型约束:要求泛型参数必须是引用类型,例如string,objec...
分类:其他好文   时间:2015-02-27 11:31:46    阅读次数:137
SQL基本语法
一 SQL语句中可能会涉及到的表格: StudentInfo: PersonInfo: Test_outjoin: Test2_outjoin: 二 基本的sql语法 if exists(select * from dbo.sysobjects where name='StudentInfo')--查询数据库中存在的视图如果存在此表就删除    drop table...
分类:数据库   时间:2015-02-26 21:40:44    阅读次数:235
LeetCode Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in the array....
分类:其他好文   时间:2015-02-26 20:22:53    阅读次数:118
oracle解锁问题:Record is locked by another user
解锁方法:1、查看锁select t2.username,t2.sid,t2.serial#,t2.logon_time from v$locked_object t1,v$session t2 where t1.session_id=t2.sid order by t2.logon_time;查出...
分类:数据库   时间:2015-02-26 20:20:18    阅读次数:170
[LeetCode] Convert Sorted List to Binary Search Tree
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.解法:自底向上 时间复杂度O(n), 空间复杂度O(logN) 1 clas...
分类:其他好文   时间:2015-02-26 19:58:04    阅读次数:166
sql的基础语句-sql的查询语句select
SQL查询语句介绍--select语句1.简单的select查询语句1.1查行SQL>select*fromemp;1.2查列SQL>selectempno,enamefromemp;1.3关联查询oracle的语法:selecta.*,b.*fromempa,deptbwherea.deptno=b.deptno;通用的语法:selecta.*,b.*fromempajoindeptbon(a.deptno=b.deptno);1..
分类:数据库   时间:2015-02-25 23:59:38    阅读次数:389
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!