%与字符串参数连接的小问题
vb.net吧
全部回复
仅看楼主
level 3
Euroman_Luman
楼主
字符串参数为a代表邮政编码后三位,sql语句select....where 邮政编码 = ‘%’+a。对吗?
我不确定%用引号吗?
2012年12月24日 12点12分
1
level 10
ztw1122
"select....where 邮政编码 = ‘%"+a +"%'"
2012年12月24日 22点12分
2
1