用like语句如何查询表中的分表数 想要单独查询08年的分表数。。模糊查询即可 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 数据结构?select * from tb where col like '%08%' ?? where datediff(yy,col,'2008-1-1')=0或where convert(varchar(8),col,112) like '2008%' where yy between '20080101' and '20081231' select * from tb where col like '%08%' select count(id) as 表数 from num_Checking where year like '%08' select all_tables from where table_name like '%' and owner=最后用的这个 select * from all_tables where table_name like '%' and owner= 最后用的这个 根据某几个字段过滤或删除一些记录 求一sql问题,谁帮帮忙 急救!如何在MSSQLserver中设置一个自动增值的字段? SQL里能筛选出一部分没用的表吗?~ 求问登录,服务器角色,数据库用户,数据库角色这四者之间的关系,立即结贴 还是一个合计问题? SQL过虑掉单引号还有办法注入吗? SQLServer中如何修改服务器排序规则 这里有没有人熟悉 informix ? 不好意思,还是这个问题,只是还没有解决:(再加分 装不上server Database Servers 存储过程
select * from tb where col like '%08%' ??
where convert(varchar(8),col,112) like '2008%'
最后用的这个
最后用的这个