mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
13 lines
229 B
PL/PgSQL
Executable File
13 lines
229 B
PL/PgSQL
Executable File
DROP FUNCTION GH_DUMMY(CHAR);
|
|
|
|
|
|
CREATE FUNCTION GH_DUMMY(CHAR) RETURNS refcursor AS $$
|
|
DECLARE
|
|
rct1 refcursor;
|
|
|
|
BEGIN
|
|
OPEN rct1 FOR
|
|
SELECT * FROM Customers where CustomerID = $1;
|
|
RETURN rct1;
|
|
END;
|
|
$$ LANGUAGE 'plpgsql'; |