当前位置: 首页 > 专家说 > 太阳能 > 正文

在sql serve中下面关键字怎么用,请举个小例子'add','alter','all','any','as

关注热度:66
相关推荐 你可能关注 点击排行 我要评论

【专家解说】:create table #test(code varchar(36),num int) --all用法 insert into #test select newid(),1 union all select newid(),20 union all select newid(),28 union all select newid(),15 select * from #test --alter add用法 alter table #test add name varchar(30) ----any用法,类似 in关键字 select * from #test where num > any(select num from #test) --as asc用法 select code,num,name as colname from #test order by num asc drop table #test
 
关键词: 例子 关键字

[ 专家说搜索 ]  [ 加入收藏 ]  [ 告诉好友 ]  [ 打印本文 ]  [ 违规举报 ]  [ 关闭窗口 ]
 
相关专家说推荐
 
0条 [查看全部]  相关评论
 
相关资讯
热门推荐
 
 
网站首页 | 联系我们 | 排名推广 | 广告服务 | 积分换礼 | 网站留言