Copied from http://www.mssqltips.com/sqlservertip/1771/splitting-delimited-strings-using-xml-in-sql-server/DECLARE @t TABLE ( ID INT IDENTITY ,...
分类:
其他好文 时间:
2015-01-22 17:45:02
阅读次数:
179
【题目】
Given a roman numeral, convert it to an integer.
Input is guaranteed to be within the range from 1 to 3999.
【分析】
这是一种首先会想到的思路:一个一个字母解析,先解析是不是双字母罗马数字,如果不是就按单字母罗马数字解析。
【代码】
/***********...
分类:
其他好文 时间:
2015-01-22 15:26:52
阅读次数:
134
CONVERT(expr USING transcoding_name)CONVERT(expr,type) 类型必须用下列的类型:可用的类型 二进制,同带binary前缀的效果 : BINARY 字符型,可带参数 : CHAR() 日期 : DATE 时间: TIME 日期时间型 : ...
分类:
数据库 时间:
2015-01-22 12:58:45
阅读次数:
303
http://ffmpeg.org/官网A complete, cross-platform solution to record, convert and stream audio and video.http://ffmpeg.zeranoe.com/builds/ (win)
分类:
其他好文 时间:
2015-01-22 10:48:59
阅读次数:
217
【题目】
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
【分析】
I = 1;
V = 5;
X = 10;
L = 50;
C = 100;
D = 500;
M = 1000;
还有一些特...
分类:
其他好文 时间:
2015-01-21 18:12:13
阅读次数:
154
一些实用的SQL的写法可以减少自己的程序繁琐程度,有些事情的确可以通过sql让所需要的数据在rs里面就能获取:
1. 将数据库中的几个字段合为一个字段输出:
-- 主要使用convert将其它非varchar类型的转为统一类型再进行加的操作
select column1+','+convert(varchar(1),column2) as column from mytable...
分类:
数据库 时间:
2015-01-21 15:13:51
阅读次数:
194
此文主要讲述 Java 运行 Selenium 脚本时,因 Friefox 浏览器版本与selenium-server-standalone-x.xx.x.jar 不兼容引起的org.openqa.selenium.WebDriverException: Failed to connect to b...
分类:
Web程序 时间:
2015-01-20 23:44:28
阅读次数:
716
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.思路:递归的思路。思路与重建二叉树类似。时间复杂度O(n), 空间复杂度O(logN) 1 /** 2 ....
分类:
其他好文 时间:
2015-01-20 22:00:43
阅读次数:
170
下文将介绍Eclipse+SeleniumEclipse 之前随笔中有介绍就不多说了Selenium官网下载selenium的jar包,官网:http://seleniumhq.org/, selenium-server-standalone-2.44.0.jarEclipse中新建一个项目,在项目...
分类:
系统相关 时间:
2015-01-20 17:32:32
阅读次数:
132
http://ebook.online-convert.com/
分类:
其他好文 时间:
2015-01-20 17:32:18
阅读次数:
120