函数LEN()使用方法

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()函数

原文地址:https://www.cnblogs.com/huanhuan86/p/3490204.html