Saltar al contenido principal

HANA sql condition conversion

Respondida

Comentarios

1 comentario

  • Comentario oficial
    Yaremi Miranda Lopez

    Hello Lorenzo,

    I'm no HANA expert but I seem to me that the problem is the variable. I created a query in my system and here is the result in SQL and after converting it using the SQL HANA conversion tool by Boyum IT. It should work.

     

     

     

     

    SELECT CASE
    WHEN ((SELECT T0."ActType" FROM "OACT" T0 WHERE T0."AcctCode" = $[$76.1.0]) = 'E')
    THEN
    (
    SELECT 'BOYUM' FROM DUMMY
    )
    END FROM Dummy

Iniciar sesión para dejar un comentario.