学习遇到的问题

1、如何创建组合索引,并按序排列

create clustered index index_name

on table(column desc|asc,column desc|asc)

2、加密,条件限制视图

create view view_name

with encryption

as

select.....

with check option

3、SSIS与excel 数据交互时:unicode与非unicode不匹配

原因:数据库字符类和excel字符类型不合,excel字符类是nvarchar 故将数据库类型字符改变成nvarchar类型

4、VIM在windows打开linux文件出现乱码

首先是打开vim安装目录下的vimrc_example.vim,在里面添加

let &termencoding=&encoding
set fileencodings=utf-8,gbk

5、shell中$REPLY 记录当前所有的输入参数

 

posted on 2014-10-14 09:04  我性随风  阅读(149)  评论(0编辑  收藏  举报