cancel
Showing results for 
Search instead for 
Did you mean: 

Disable HanaException for General Warning

0 Kudos

Hi,

I'm develop a software in SAP HANA and .NET Framework, and this aplication generate procedures, when my application try tpo create a procedure throw this exception:

Sap.Data.Hana.HanaException (0x80004005): general warning: general warning: Type mismatch for table variable RET:Declared type "NVARCHAR(3)" of attribute "/BIC/NCOMPTRA" not same as assigned type "VARCHAR(50)" :line 2 col 2 (at pos 181)

But when I create the same procedure on SAP HANA Studio, this problem not happen.

So, my question is: How can I disable this Exception for general Warning

Accepted Solutions (1)

Accepted Solutions (1)

lbreddemann
Active Contributor
0 Kudos
0 Kudos

Thank you,

But I don't understood How can I put this information on sqlscript, If is possible, could you give me a sample using silent Typecheck_Procedure_Output_Var?

Answers (1)

Answers (1)

lbreddemann
Active Contributor
0 Kudos

The setting described in the linked documentation is a server side parameter setting. Set the parameter and the warnings are not thrown any longer.