MYSQL TO VO
SELECT CONCAT( '/* ', CASE WHEN LENGTH(COLUMN_COMMENT) > 0 THEN COLUMN_COMMENT ELSE COLUMN_NAME END, ' */', CHAR(13), 'private', CASE WHEN LOWER(DATA_TYPE) = 'varchar' THEN ' String ' WHEN INSTR(LOWER(DATA_TYPE), 'int') > 0 THEN ' Integer ' WHEN LOWER(DATA_TYPE) = 'text' THEN ' String ' WHEN LOWER(DATA_TYPE) = 'datetime' THEN ' String ' ELSE ' Object ' END, CONCAT( TRIM(CN1), TRIM(CONCAT(UPPER(S..