Description Usage Arguments Examples
This function is used to parse comments from sql statments. It removes something like /* coments*/ or –. But it won't work if there is something like select * from tname where x = '–test'.
1 | parse_sql_comments(input_sql)
|
input_sql |
the statements of sql in string variable |
1 | parse_sql_comments("select * from t --select \n where t <2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.