Documentation Home
MySQL 9.4 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 41.2Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.9Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


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

15.1.7 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 '').