Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: How we handle CLOB and BLOB Datatypes in HANA DB

$
0
0

Hi Thomas,

 

A quick follow up about lob datatypes. I looked though the documentation for the restrictions of lob datatypes. According to the documentation I should have no issues running a simple select statement that compared lob datatypes using '=', for example

 

select TO_CLOB('1') from dummy where TO_CLOB('1')=TO_CLOB('1');

 

However, I get an error

 

Could not execute 'select TO_CLOB('1') from dummy where TO_CLOB('1')=TO_CLOB('1')' in 3 ms 965 µs .

SAP DBTech JDBC: [266] (at 37): inconsistent datatype: lob type comparison: line 1 col 38 (at pos 37)

 

According to the documentation : LOB columns cannot appear in WHERE clauses as a predicate except LIKE, CONTAINS, =, or <>.

 

Am I missing something?

 

Thanks!


Viewing all articles
Browse latest Browse all 8968

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>