Use a prepared function and get a result
This commit is contained in:
parent
eac240af51
commit
b488730177
2 changed files with 17 additions and 10 deletions
|
|
@ -1,3 +1,3 @@
|
|||
PREPARE test_function AS
|
||||
SELECT version();
|
||||
PREPARE test_function(int) AS
|
||||
SELECT 2*$1 AS result;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue