Oracle JDBC and Oracle CHAR data type

后端 未结 5 1985
别跟我提以往
别跟我提以往 2020-11-29 12:03

I have a tricky issue with the Oracle JDBC driver\'s handling of CHAR data types. Let\'s take this simple table:



        
5条回答
  •  感情败类
    2020-11-29 12:48

    the other way is modify your sql as

    select * from x where NVL(TRIM(c),' ') = NVL(TRIM('a'),' ')
    

提交回复
热议问题