create database

    0

    1

    lucycodes42

    SQL public snippets

    This code creates a database called "&[USER_INPUT:1:db_name]" and sets its character set to UTF-8.

    Shortcut: s_db

    
    CREATE DATABASE `db_name` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
    
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.