[SD-90704 ] Database SQl Error

[SD-90704 ] Database SQl Error

Hi .Had a question
I get this "Internal Error"  when I write a script  more than 240 line in custom function when  the Database is Sql Server .
But this error has not  seen in the postgres database.
I have been tested this issue in versions 11302 and 11207 of service desk