@Override
    public String getCreate(String catalog, String schema, String entry) {
        String res = super.getSource(catalog, schema, entry);
        if (res != null  &&  res.length() > 0) {
            return res;
        }

        String query =
            "SELECT sequence_name, start_value, increment, maximum_value " +
            "  FROM information_schema.sequences " +
            " WHERE sequence_catalog = '" + catalog + "' " +
            "   AND sequence_schema = '" + schema + "' " +
            "   AND sequence_name = '" + entry + "'";

        List<String[]> rows = runQuery(query);
        StringBuffer scriptSB = new StringBuffer(44 * rows.size());
        scriptSB.append("CREATE SEQUENCE ").append(qualifiedName(schema, entry));
        if (rows.size() > 0) {
            String[] row = rows.get(0);
            scriptSB.append(" INCREMENT BY ").append(row[2]);
            scriptSB.append(" START WITH ").append(row[1]);
            if (row[3] == null  ||  row[3].length() > 12) {
                scriptSB.append(" NO MAXVALUE");
            } else {
                scriptSB.append(" MAXVALUE ").append(row[3]);
            }
        }
        scriptSB.append(";\n");

        return scriptSB.toString();
    }