码迷,mamicode.com
首页 >  
搜索关键字:values    ( 8569个结果
Oracle 中单引号和双引号的区别
问题产生原因:insert into t_Cluster_Showresult(Outhostname,Domainlist,Iplist,Classify) values ("2014512-7","www.renren.com\twww.baidu.com","192.168.2.1","2")...
分类:数据库   时间:2014-05-17 15:38:14    阅读次数:457
LeetCode之Unique Binary Search Trees
Unique Binary Search Trees, Given n, how many structurally unique BST's (binary search trees) that store values 1...n?...
分类:其他好文   时间:2014-05-15 02:32:11    阅读次数:245
Oracle PL/SQL 编程基础 实例
create table mytest(name varchar(20),password varchar(30)); create or replace procedure sp_pro2 is  begin  insert into mytest values('fc','123'); end; 查看错误信息 show error 如何调用...
分类:数据库   时间:2014-05-13 07:41:24    阅读次数:464
WPF DataGrid 之数据绑定
1. Auto generation of columns最简单的方法莫过于让DataGrid根据数据源中的字段自动生成列了:根据实体类的公共属性, 能够自动生成四种类型的数据列,对应关系如下:TextBox columns for string values;CheckBox columns fo...
分类:其他好文   时间:2014-05-12 19:49:17    阅读次数:519
容易出错的问题
JSPform中的name如果用了表达式记得加上“ ”符号;调用sql语句记得区分单引号跟双引号,写法先写完整的SQL语句,变量用单引号’ ,整型就不用。然后用“+变量+“ 形式变换;例如先是写成标准的SQL语句String insert = "insert into member values ....
分类:其他好文   时间:2014-05-10 06:42:05    阅读次数:315
sql返回行id
1、sql语句中insert into tableName() output inserted.id values()2 、存储过程中ALTER PROCEDURE dbo.getBuyMedicID( @id int output, @AllsumMoney money )ASbegin INSE...
分类:数据库   时间:2014-05-09 13:32:10    阅读次数:294
Leetcode | Path Sum I && II
Path Sum IGiven a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the gi...
分类:其他好文   时间:2014-05-09 13:21:59    阅读次数:320
LeetCode OJ - Gray Code
这道题就是找规律啊!!!想想啊,11和10是可以连续的,那么10和11也是可以连续的。下面是AC代码: 1 /** 2 * The gray code is a binary numeral system where two successive values differ in on...
分类:其他好文   时间:2014-05-09 07:38:17    阅读次数:325
SSIS 组件点滴
一 Sort组件Sort组件是用来排序,我们在做join时也必须进行排序,排序的键值作为数据源关联的key而在sort组件中有一个选项“Remove Rows with duplicate sort values”经过测试,这个选项的作用是只保留不重复的sort key值,而其他的列随机出现(有一个...
分类:其他好文   时间:2014-05-09 05:31:26    阅读次数:316
创建存储过程向表中循环添加数据
CREATE PROCEDURE dowhile() BEGIN  DECLARE n int; set n=1; WHILE n do INSERT into hasindex(num) VALUES (n); set n=n+1; END WHILE; END; CALL dowhile();...
分类:其他好文   时间:2014-05-09 01:04:44    阅读次数:293
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!