declare variable

    0

    0

    lucycodes42

    SQL public snippets

    This code declares a variable called "&[USER_INPUT:1:var_name]" to hold an input value of 255 characters. The variable "&[USER_INPUT:2:255]" is then set to the input value.

    Shortcut: s_dec_s

    
    DECLARE `var_name` VARCHAR(255) DEFAULT 'value';
    
    
    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.