拼sql字符串出错,请高手指导一下
strSQL=strSQL+strCD_path+ "\ "+cd_desc+ "\\ "+ "pack_name "+ "\\ "+ "file_name "+ ",getdate() from Table ";
其中cd_desc是变量
pack_name file_name均为字段
------解决方案-------------------- select
'\\172.168.1.172\upload\course\VIP\cd\yyyyyy\ ' + pack_name + '\ ' + file_name, getdate()
from T_VIP_Encrpt where course_ware_id in(9552,37112)
LZ要的是这样的结果吧