cancel
Showing results for 
Search instead for 
Did you mean: 

Boolean in SAP HANA Stored Proceedure / SQL Script

Former Member
0 Kudos

How to assign a boolean variable?

I can declare a variable as boolean. But neither can I assign 0 nor false to the variable 😮

I can active the procedure but the get error:

SAP DBTech JDBC: [7]: feature not supported: not supported constant type

Example:

Proceedure ....
  out isNumeric boolean)
...

isNumeric := false;

Accepted Solutions (1)

Accepted Solutions (1)

lbreddemann
Active Contributor
0 Kudos

SQLScript logic blocks do not support BOOLEAN and IN/OUTPUT parameter types (check the documentation).

Former Member
0 Kudos

OK thx for pointing this out. It's confusing that the function get's activated though

lbreddemann
Active Contributor
0 Kudos

Hmm... interestingly I got a more explicit error message indicating that boolean is not supported. What revision are you using here?

Answers (1)

Answers (1)

SergioG_TX
Active Contributor
0 Kudos

instead, please use int and assign 1/0