想要单独查询08年的分表数。。
模糊查询即可

解决方案 »

  1.   

    数据结构?
    select * from tb where col like '%08%' ??
      

  2.   

    where datediff(yy,col,'2008-1-1')=0或
    where convert(varchar(8),col,112) like '2008%'
      

  3.   

    where yy between '20080101' and '20081231'
      

  4.   

    select * from tb where col like '%08%'
      

  5.   

    select count(id) as 表数 from num_Checking where year like '%08'
      

  6.   

    select all_tables from where table_name like '%' and owner=
    最后用的这个
      

  7.   

    select * from all_tables where table_name like '%' and owner= 
    最后用的这个