SHOW FUNCTION STATUS WHERE Db = 'genmodel_back';
SHOW PROCEDURE STATUS WHERE Db = 'genmodel_back';

SELECT
    CONCAT('DROP ',ROUTINE_TYPE,' `',ROUTINE_SCHEMA,'`.`',ROUTINE_NAME,'`;') as stmt
FROM information_schema.ROUTINES Where ROUTINE_SCHEMA = 'ssohost_db'

SELECT
    CONCAT('DROP ',ROUTINE_TYPE,' ','`',ROUTINE_NAME,'`;') as stmt
FROM information_schema.ROUTINES Where ROUTINE_SCHEMA = 'genmodel_back'

SELECT group_concat(COLUMN_NAME) FROM INFORMATION_SCHEMA.COLUMNS 
WHERE TABLE_SCHEMA = 'weberp_db' AND TABLE_NAME = 'dbr_setup';

SELECT concat('###', table_name,"$$$;", CHAR(10 using utf8)) FROM information_schema.tables
WHERE table_schema = 'weberp_db';

describe dbr_user_perm;

delete from dbr_company where email = 'wngur6065@naver.com';
delete from pro_member where email = 'wngur6065@naver.com';
