1.7.17 replace...................................................................................................................24
1.7.18 percent...................................................................................................................24
1.7.19 datename...............................................................................................................24
1.7.20 getdate...................................................................................................................24
1.7.21 +.............................................................................................................................24
1.7.22 %、/......................................................................................................................24
1.7.23 acos().....................................................................................................................25
1.7.24 abs..........................................................................................................................25
1.7.25 log10......................................................................................................................25
1.7.26 pi............................................................................................................................25
1.7.27 asin()......................................................................................................................25
1.7.28 power()..................................................................................................................26
1.7.29 atan()......................................................................................................................26
1.7.30 tan().......................................................................................................................26
1.7.31 atn2........................................................................................................................27
1.7.32 rand........................................................................................................................28
1.7.33 Ceiling...................................................................................................................28
1.7.34 round......................................................................................................................28
1.7.35 cast ,convert...........................................................................................................28
1.7.36 nullif......................................................................................................................29
1.7.37 String Functions....................................................................................................29
1.7.38 compute by............................................................................................................31
1.7.39 truncate..................................................................................................................31
1.7.40 tran.........................................................................................................................31
2 数据库管理...................................................................................................................................32
2.1 系统函数及语法................................................................................................................32
2.1.1 系统错误消息 sysmessages....................................................................................32
2.1.2 快速查询数据库中表的信息 sp_tables.................................................................32
2.1.3 查看系统或指定进程对资源的锁定情况 sp_lock...............................................32
2.2 数据库基础说明................................................................................................................33
2.2.1 系统数据库和系统表.............................................................................................33
2.2.2 跨数据库操作.........................................................................................................34
2.2.3 跨服务器操作:.....................................................................................................34
2.2.4 更改数据库名.........................................................................................................35
2.2.5 数据库管理.............................................................................................................35
2.2.6 验证 SQLServer......................................................................................................36
2.2.7 连接数据库时发生“超时已过期”..........................................................................36
2.3 数据导入导出到 TXT 文本..............................................................................................37
2.3.1 /** 导出到 excel */.................................................................................................37
2.3.2 /** 拷贝文件*/.......................................................................................................37
2.3.3 /*导出到 TXT 文本, */........................................................................................37
2.3.4 /** 导入文本文件 */..............................................................................................37
2.3.5 /*导入到 TXT 文本, */........................................................................................37
2.3.6 /**导出到 Access****/..........................................................................................38