摘要:
数据类型:列的类型变量定义:declare 变量名 类型名 变量名:以@开头赋值和取值: 赋值:set/select 变量=值 取值:变量名例:declare @a varchar(50) --定义变量set @a = 'hello world' --给变量赋值--select @a = 'hell... 阅读全文
posted @ 2015-06-02 22:18
木头园—OOIP
阅读(370)
评论(0)
推荐(0)
摘要:
SQL Server T-SQL高级查询高级查询在数据库中用得是最频繁的,也是应用最广泛的。 Ø 基本常用查询 --selectselect * from student; --all 查询所有select all sex from student; --distinct 过滤重复select di... 阅读全文
posted @ 2015-06-02 22:17
木头园—OOIP
阅读(375)
评论(0)
推荐(0)
摘要:
1 -- 来源于网络 2 3 -- 更详细的介结参考联机帮助文档 4 5 xp_cmdshell --*执行DOS各种命令,结果以文本行返回。 6 7 xp_fixeddrives --*查询各磁盘/分区可用空间 8 9 xp_loginconfi... 阅读全文
posted @ 2015-06-02 08:59
木头园—OOIP
阅读(464)
评论(0)
推荐(0)

浙公网安备 33010602011771号