sql server2000中使用convert来取得datetime数据类型样式(全)日期数据格式的处理,两个示例:CONVERT(varchar(16), 时间一, 20) 结果:2007-02-01 08:02/*时间一般为getdate()函数或数据表里的字段*/CONVERT(varcha...
分类:
数据库 时间:
2015-03-19 18:13:24
阅读次数:
178
报错原因:
使用UltraISO等软件刻录镜像时默认使用FAT32文件系统,该系统不支持大于4G的文件,
而Server 2012 R2的安装文件install.wim为5.12G,固安装失败。
解决方法:
按照以前的方法刻录镜像到U盘;
更改U盘文件系统:
进入命令行模式,输入 convert f: /fs:NTFS (F盘为我的U盘所在盘符)
然后打开镜像文件,找...
分类:
Windows程序 时间:
2015-03-19 13:16:19
阅读次数:
5494
转自http://www.cnblogs.com/Coda/p/4331432.html相信大家已经了解到Java具有跨平台的特性,可以“一次编译,到处运行”,在Windows下编写的程序,无需任何修改就可以在Linux下运行,这是C和C++很难做到的。那么,跨平台是怎样实现的呢?这就要谈及Java...
分类:
编程语言 时间:
2015-03-19 10:04:20
阅读次数:
145
Similar to the sorted array. But we have to remember, the position of node not depends on the index. So we need do two more things:1. Ensure the point...
分类:
其他好文 时间:
2015-03-19 06:20:30
阅读次数:
132
It is kind of binary search. Since this is a sorted array, we can treat it as inorder traversal. And we can define the root node for the Tree.So find ...
分类:
其他好文 时间:
2015-03-19 06:19:48
阅读次数:
105
problem:
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
将1-3999的整数转换为罗马数字
thinking:
(1)
对照举例
个位数举例
Ⅰ,1 】Ⅱ,2】 Ⅲ,3】 Ⅳ,4 】Ⅴ,5 】Ⅵ...
分类:
其他好文 时间:
2015-03-18 18:11:35
阅读次数:
92
problem:
Given a roman numeral, convert it to an integer.
Input is guaranteed to be within the range from 1 to 3999.
将罗马数字转为整数
thinking:
(1)罗马数字规则:
罗马数字共有7个,即I(1)、V(5)、X(10)、L(50)、C(100)...
分类:
其他好文 时间:
2015-03-18 18:09:37
阅读次数:
130
1 运行模式:单机模式(standalone): 单机模式是Hadoop的默认模式。当首次解压Hadoop的源码包时,Hadoop无法了解硬件安装环境,便保守地选择了最小配置。在这种默认模式下所有3个XML文件均为空。当配置文件为空时,Hadoop会完全运行在本地。因为不需要与其他节点交互,单机模式...
分类:
其他好文 时间:
2015-03-18 17:55:24
阅读次数:
124
一、Hadoop的运行模式单机模式(standalone)
单机模式是Hadoop的默认模式。当首次解压Hadoop的源码包时,Hadoop无法了解硬件安装环境,便保守地选择了最小配置。在这种默认模式下所有3个XML文件均为空。当配置文件为空时,Hadoop会完全运行在本地。因为不需要与其他节点交互,单机模式就不使用HDFS,也不加载任何Hadoop的守护进程。该模式主要用于开发调试MapRedu...
分类:
系统相关 时间:
2015-03-18 14:04:49
阅读次数:
213
CAST 和 CONVERTconvert(目标类型,要转换的数字);cast(要转换的数字 as 目标类型);如:declare @score float;set @score=1.6;select convert(varchar(5),@score);declare @score float;s...
分类:
数据库 时间:
2015-03-17 12:06:09
阅读次数:
139