专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
比如查找用户名包含有"c"所有用户, 可以用   use mydatabase   select * from table1 where username like'%c%"   下面是完成上面功能另种写法:   use mydatabase   select * from table1 where charindex('c',username)gt;0   这种思路方法理论上比上种思路方法多了个判断语句,即gt;0, 但这个判断过程 [阅读全文] [PDF]
1 共1条 分1页