create procedure to convert pool to sales matrix columns
This commit is contained in:
parent
9db81ace17
commit
3b3b01bb90
@ -1,4 +1,7 @@
|
|||||||
BEGIN;
|
CREATE OR REPLACE PROCEDURE rlarp.convert_pool_all()
|
||||||
|
LANGUAGE plpgsql AS
|
||||||
|
$func$
|
||||||
|
BEGIN
|
||||||
|
|
||||||
DELETE FROM rlarp.osmfs_dev;
|
DELETE FROM rlarp.osmfs_dev;
|
||||||
|
|
||||||
@ -427,3 +430,7 @@ WHERE
|
|||||||
--INSERT INTO rlarp.osmf_dev SELECT * FROM rlarp.osmfs_dev;
|
--INSERT INTO rlarp.osmf_dev SELECT * FROM rlarp.osmfs_dev;
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
END
|
||||||
|
$func$;
|
||||||
|
|
||||||
|
GRANT ALL ON PROCEDURE rlarp.convert_pool_all() TO PUBLIC;
|
||||||
|
Loading…
Reference in New Issue
Block a user