I have a more thousand lines "with as" sql. When I try to run it I've got a message: "Expression must have same datatype as corresponding expression", but I cannot get any info where is it and which field is not the same type. In a normal sql I can get it, but in with as I cannot. Yes I know "with as" is not the best practice, but I have to port an old sql to a new environment.
Is there any trick to get where is it?
1.4m articles
1.4m replys
5 comments
57.0k users