Merge branch 'master' of http://git.roojs.com:8081/Pman.Core
[Pman.Core] / mysql / person_get_action_type.sql
diff --git a/mysql/person_get_action_type.sql b/mysql/person_get_action_type.sql
deleted file mode 100644 (file)
index dcd3680..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-
-DROP FUNCTION IF EXISTS person_get_action_type;
-
-DELIMITER $$
-CREATE FUNCTION person_get_action_type(in_id INT(11))  RETURNS VARCHAR(32) DETERMINISTIC
-    BEGIN
-        
-        DECLARE v_ret VARCHAR(32);
-        SET v_ret= '';
-        SELECT action_type INTO v_ret  FROM Person WHERE id = in_id  LIMIT 1;
-        RETURN v_ret;
-    END $$
-DELIMITER ;