create procedure

    0

    1

    lucycodes42

    SQL public snippets

    This code creates a procedure called "&USER_INPUT:1:procedure_name" that takes two arguments: "&USER_INPUT:2:arg_name" and "&USER_INPUT:3:INT". The first argument is the name of the procedure, while the second and third arguments are the actual parameters.

    Shortcut: s_proc

    
    DROP PROCEDURE IF EXISTS `procedure_name`;
    CREATE PROCEDURE `${1}`(
    `arg_name` INT,
    ) BEGIN
      $
    END;
    
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.