Files
doris/docs/en/sql-reference/sql-statements/Data Manipulation/SHOW CREATE FUNCTION.md
caiconghui ca10205137 [Function] Support show create function statement (#5197)
* [Function]Support show create function stmt

Co-authored-by: caiconghui [蔡聪辉] <caiconghui@xiaomi.com>
2021-01-28 10:52:37 +08:00

1.4 KiB

title, language
title language
SHOW CREATE FUNCTION en

SHOW CREATE FUNCTION

description

The statement is used to show the creation statement of user-defined function
grammar:
    SHOW CREATE FUNTION function_name(arg_type [, ...]) [FROM db_name]];
    
Description:
   `function_name`: the name of the function to be displayed
   `arg_type`: the parameter list of the function to be displayed
   If you do not specify db_name, use the current default db

example

1. Show the creation statement of the specified function under the default db
    SHOW CREATE FUNCTION my_add(INT, INT)

keyword

SHOW,CREATE,FUNCTION