thanks Kurt ! what do you mean by log ? I'm working with many tables in teradata using proc sql everytime ; so I don't use "data" syntax . When i tried : CASE WHEN A.SOUR in ('BIO') then input(G.FACT,best12.) else F.FACT end as FACT , i get this error : ERROR: Teradata execute: Syntax error: expected something between the 'then' keyword and the 'input' keyword. G.FACT is a varchar 50 in teradata and F.FACT is an integer and I want G.FACT as an integer in my proc sql in SAS I expect that it's more clear
... View more