SELECT
CODE
,Type
,AD.DESCRIPTION
,QUANTITY
,AD.[COSTS]
,A.UOM
FROM
Table1 AS AD INNER JOIN TableA AS A
ON
CODE = CASE
WHEN Type = 'M'
THEN A.CODE
END
INNER JOIN TableB AS B
ON
Code = CASE
WHEN Type = 'A'
THEN B.CODE
END
我收到以下错误: _csv.Error:迭代器应该返回字符串,而不是字节(你是否在文本模式下打开文件?)
有什么建议吗?