Skip to main content

Recently we've upgraded to SF2023.1 (with all hotfixes including 202300116 - Subrouting option copying from base models’ applied). Everything went well and we done some model generations with this version of the SF.

However, after merging a branch recently, we’re facing an error during the execution of the functions. The creation of the function ‘tsf_original_login’ fails because the script contains duplicate lines for ‘returns varchar(128)’ and ‘with schemabinding
 


How to solve this? Any help would be appreciated.

Here someone had the same problem.

The comment of @Erwin Ekkel might help you, but probably we also need to look into it, so other people don't run into this problem.


@Dick van den Brink Thanks for your quick reply. I will test the proposed solution by @Erwin Ekkel and let you know if it solved the problem.


The proposed solution worked for me. Thanks again @Dick van den Brink 


I would like to point out that I also ran into this problem since after upgrading SF to 2023.1. However not in every model (project).