HI Harish,
As mentioned in error log....the error is due to different datatype in joining condition....
Here EID_Dept is of integer type & other EDEPT is Nvarchar. So can you please check it again....
As per my understanding it is due to that....BLOB datatype is not supported for your view ,this might be due to following restrictions:-
- LOB columns cannot appear in ORDER BY or GROUP BY clauses.
- LOB columns cannot appear in FROM clauses as a join predicate.
- LOB columns cannot appear in WHERE clauses as a predicate except LIKE, CONTAINS, =, or <>.
- LOB columns cannot appear in SELECT clauses as an aggregate function argument.
- LOB columns cannot appear in SELECT DISTINCT clauses.
- LOB columns cannot be used in set operations such as EXCEPT. UNION ALL is an exception.
- LOB columns cannot be used as a primary key.
- LOB columns cannot be used in CREATE INDEX statements.
- LOB columns cannot be used in statistics update statements
Please check wether in your case it comes under any of these restrictions:-
You can refer following link:
http://help.sap.com/hana/html/_csql_data_types.html
Thnkss
Kulwinder