on 10-05-2012 8:21 AM
Hi All,
I am connecting to HANA and accesing HANA Tables which is having a column with BLOB data type .
I need to create a universe and need to access the universe in webi, but webi cannot handle BLOB data types , do we any alternative solution to handle BLOB data type objects in IDT.
Regards,
Nagaraj
Hi Nagaraj,
Even in relational databases you cant use the BLOB & CLOB datasources. The alternative is to typecast the datatype to Longtext (SQLSERVER) or VARCHAR(4000) as in Oracle. You can try to create a object at universe level which refer the typecasted values from your BLOB datatype.
But you need to anticipate some data truncation when your BLOB data exceeds the maxumum limit of the converted type.
Regards,
Mani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the HANA's typecasting functions such as TO_VARCHAR and TO_NVARCHAR and the maximum length would be 5000.
The syntax would be
SELECT TO_VARCHAR (Your BLOB column) "New Varchar" FROM your table;
SELECT TO_NVARCHAR (Your BLOB column) "New NVarchar" FROM your table;
For more reference kindly refer
http://help.sap.com/hana/html/sql_function_to_nchar.html
http://help.sap.com/hana/html/_csql_data_types.html
Regards,
Mani
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.