this should use the DDL instead of the raw sql.