摘要:
今天遇到一个很奇怪的SQL问题,SQL语句如下:select top 1 *,(select top 1 Name_CN from BaseInfo_Setup where PlantNo=@PlantNo and Type='3') as PlantName_CN from Payment_Apply where PlantNo=@PlantNo KS01and StartMonth=convert(varchar(6),@StartDate,112) and VendorCode=@VendorCode问题是,实际在BaseInfo_Setup表中是没有PlantNo这个字 阅读全文
posted @ 2011-08-30 17:05
老飞飞
阅读(174)
评论(0)
推荐(0)
浙公网安备 33010602011771号