ALTER DATABASE `database` CHARACTER SET utf8 COLLATE utf8_unicode_ci;
      
      
      Sql language logo

      change charset

      SQL public snippets

      This code changes the character set of the table named &[USER_INPUT:1:table] to UTF-8 and the collating sequence to UTF-8_UNICODE_CI.

      Shortcut: s_alter_db_charset

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.