string pro_sql = string.Format("select pr_bianma from tb_products where pr_bianma like '%120201%' and LEN(pr_bianma) = 10 order by pr_id desc",txtBianma.Text);查询产品编码字符长度等于10的SQL语句。使用LEN()函数 Read More
posted @ 2013-12-25 10:52 玉面麒麟 Views(1518) Comments(0) Diggs(0) Edit