CodePudding user response:
About custom functions, please refer to the following posts:https://blog.csdn.net/qq_16055765/article/details/88836520
Because this is someone else's post, so don't post code, I hope you to post the author thumb up!
CodePudding user response:
The function is not a standard SQL function, if consider portability procedure should be used, but does not function on stored procedures using convenient, although more powerful