今天看到这个Sql语句,之前听说过,但是并未弄懂,因此在此特意做下笔记:
userName varchar(20) collate chinese_prc_ci_as null
1.首先,collate是一个子句,可应用于数据库定义或列定义以定义排序规则,或应用于字符串表达式以应用排序规则投影
::={windows_collation_name}|{sql_collatio...
分类:
数据库 时间:
2014-08-05 19:30:40
阅读次数:
304
转载请注明出处,部分内容类源于网络。
终端属性详解及设置
属性
为了控制终端正常工作,终端的属性包括输入属性、输出属性、控制属性、本地属性、线路规程属性以及控制字符。
其在系统源代码的termios.h中定义(具体的说明文档http://pubs.opengroup.org/onlinepubs/7908799/xsh/termios.h.html),其结构体成员主要是
Th...
分类:
系统相关 时间:
2014-08-05 19:29:40
阅读次数:
587
Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within th....
分类:
其他好文 时间:
2014-08-05 13:38:49
阅读次数:
218
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.Th...
分类:
其他好文 时间:
2014-08-05 09:43:39
阅读次数:
191
属性页对话框
分类
标签式和向导式
相关类
CPropertyPage-父类是CDialog类,称为属性页或页面对话框。
CPropertySheet-父类是CWnd,称为属性表单。
一个完整的属性页对话框由一个属性表单+多个属性页组成。属性页嵌套在属性表单内。
标签式属性页的创建步骤:
1 插入属性页对话框资源,选中对话框资源ID修改语言为Chinese(P...
分类:
其他好文 时间:
2014-08-05 09:38:19
阅读次数:
260
Description
ACM has bought a new crane (crane -- je?áb) . The crane consists of n segments of various lengths, connected by flexible joints. The end of the i-th segment is joined to the beginning o...
分类:
其他好文 时间:
2014-08-04 17:55:37
阅读次数:
240
Problem DescriptionThere is an old country and the king fell in love with a devil. The devil always asks the king to do some crazy things. Although th...
分类:
其他好文 时间:
2014-08-04 17:32:07
阅读次数:
290
Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a string is a new string which is formed from th...
分类:
其他好文 时间:
2014-08-04 13:50:57
阅读次数:
208
需要注意的是,将Okular设置为打开PDF的默认程序后,为了能够双击打开具有中文文件名的PDF文档,需要将Windows系统的locale设置为Simplified Chinese。否则,照自己之前“病态”的心理将Windows的locale设置为English,则中文文件名无法被识别——不过,从...
HDU 2842 Chinese Rings (带常数矩阵+矩阵快速幂)
ACM
题目地址:HDU 2842 Chinese Rings
题意:
一种中国环,解开第k个环需要先解开前(k-2)个环,并留有第(k-1)环。问解开n环最少需要几步。
分析:
设f(n)表示解开n环。
1. 由于游戏规则,解开n环不能一下子把n-1全解开了,否则第n个就没法拿掉了。
...
分类:
其他好文 时间:
2014-08-04 02:04:36
阅读次数:
302