一、增:有4种方法 1.使用insert插入单行数据: 语法:insert [into] <表名> [列名] values <列值> 例:insert into Strdents (姓名,性别,出生日期) values (‘开心朋朋‘,‘男‘,‘1980/6/15‘) 注...
分类:
数据库 时间:
2014-12-08 12:36:40
阅读次数:
247
【题目】
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).
For example:
Given binary tree {3,9,20,#,#,15,7},
3
/ ...
分类:
其他好文 时间:
2014-12-08 10:44:51
阅读次数:
161
1. 使用函数goCREATE FUNCTION dbo.fn_Sumtype(@type varchar(50))RETURNS varchar(8000)ASBEGIN DECLARE @values varchar(8000) SET @values = '' SELECT ...
分类:
数据库 时间:
2014-12-08 10:40:15
阅读次数:
234
【题目】
Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [3,2,1].
Note: Recursi...
分类:
其他好文 时间:
2014-12-07 17:49:21
阅读次数:
135
先看下边的SQL 语句CREATE TABLE #DateTest( Id INT, SampleDate DATETIME)INSERT INTO #DateTest VALUES(1,'1 jan 2010 10:30')INSERT INTO #DateTest VALUES(2,'2 jan...
分类:
数据库 时间:
2014-12-07 12:29:33
阅读次数:
205
android之网格布局和线性布局实现注册页面(注意:1、再用weight的时候,各个组件要设置宽度为0dp,高度也要设置,2、即使没有设置weight,再用linear布局时,比如view和button都要设置宽度高度。3、如果出现运行错误,可以先检查哪个组件没设置高度):values/strings.xml<..
分类:
移动开发 时间:
2014-12-07 06:52:54
阅读次数:
357
今天在阅读kohana源码中的Arr类的时候发现了这样一个函数 /** * Fill an array with a range of numbers. * * // Fill an array with values 5, 10, 15, 20 * $values = Ar...
分类:
Web程序 时间:
2014-12-07 00:05:29
阅读次数:
304
Given a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For exam...
分类:
其他好文 时间:
2014-12-06 11:18:15
阅读次数:
163
1、 在Windows系统中输入文件结束符的方法为Ctrl+Z
2、 如何选择类型?
1) Use an unsigned type when youknow that the values cannot be negative
2) Use int for integer arithmetic.short is usually too small a...
分类:
编程语言 时间:
2014-12-05 21:24:37
阅读次数:
313
---恢复内容开始---res目录 src目录 AdroidManifest.xml是Android项目必须的 其他目录文件都是可选的----res 目录春发给android项目的各种资源文件,比如layout存放界面布局文件 values目录下存放各种xml格式的资源文件 ,例如字符串资源文件:S...
分类:
移动开发 时间:
2014-12-05 18:59:40
阅读次数:
239