Documentation Home
MySQL 9.3 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.7Mb
PDF (A4) - 40.8Mb
Man Pages (TGZ) - 261.1Kb
Man Pages (Zip) - 368.3Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


MySQL 9.3 Reference Manual  /  ...  /  ALTER LIBRARY Statement

15.1.6 ALTER LIBRARY Statement

ALTER LIBRARY library_name
    COMMENT "comment_text"

This statement adds a comment to the named JavaScript library, or replaces the existing comment if there is one. Following execution of this statement, the updated comment can be viewed in the output of SHOW CREATE LIBRARY and in the ROUTINE_COMMENT column of the Information Schema LIBRARIES table. The comment text must be quoted.

To remove a comment from a library without replacing it, specify an empty comment string (COMMENT "" or COMMENT '').

ALTER LIBRARY was added in MySQL 9.3.0.