[22018] [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting the varchar value 'No' to data type bit. (245)
sqlserver的sql语句中union all两段sql语句后,一段是字符串类型'no',一段是数字型0或1因此报错,在union all两段sql语句都加上case when c.IS_NULLABLE=0 then 'No' else 'Yes' end as IS_NULLABLE后不报错了。