字符串筛选 和 select top

redlei 2011-05-03 10:54:09
我想做用 select top name from user order by name 来筛选出 用户的名字
但是,第一个出来的,可定是 数字大头的名字
我想 筛选掉这些名字里面以数字开头的选手,怎么做呢?
select top name from user where name != "%....该怎么写呢?
...全文
74 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
bihai 2011-05-03
  • 打赏
  • 举报
回复
select top name from user where name like '[^0-9]%'
--小F-- 2011-05-03
  • 打赏
  • 举报
回复
Select * From user where name like '[0-9]%'
haitao 2011-05-03
  • 打赏
  • 举报
回复
select top 1000 name from user where name > '9zzzzzzzzz'
mustudent 2011-05-03
  • 打赏
  • 举报
回复
Select * From user where name like '[1-9]%'
dawugui 2011-05-03
  • 打赏
  • 举报
回复
select top name from user where left(name,1) not between '0' and '9'
xuyuchends 2011-05-03
  • 打赏
  • 举报
回复
筛选掉
Select * From user where name not like '[0-9]%'
haosa 2011-05-03
  • 打赏
  • 举报
回复
Select * From user where name like '[0-9]%'
xuexiaodong2009 2011-05-03
  • 打赏
  • 举报
回复
select top name from user where left(name,1) not between '0' and '9'
yy1987316 2011-05-03
  • 打赏
  • 举报
回复

select top 100 name from user where name like '[0-9]%' order by name

34,576

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
  • 基础类社区
  • 二月十六
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧