Export a procedure to generate DDL.