èªååã ã©ãã誰ãè¦ãªãã£ã¦ã show create table è¦ãã»ããæ©ããã mysqldump --no-data -uroot --database employees ããªãã¸ããªã«å ¥ãã¦ãã¼ã¸ã§ã³ç®¡çãã¨ãã°è¯ãã¨æããã©ã ä½ããã®ææ¸åãå¿ è¦ãªå ´åã¯æ¯åå·®åãä¿®æ£ããããå ¨é¨åºåããæ¹ãã©ã¯ã ã«ã©ã åæ¥æ¬èªããããã°é©å½ã« as ã§å¥åã¤ããã¨ããã mysqlã®å ´å #!/bin/bash MYSQL="mysql -B -uroot" DBNAME="employees" TBLSQL=`cat << EOD SELECT TABLE_NAME, TABLE_COMMENT FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = '$DBNAME' AND table_name LIKE '%s' EOD` CO
{{#tags}}- {{label}}
{{/tags}}