I'm looking for a program that allows you to visually model (similar to Microsoft Visio) a database, setting up the tables, columns, keys, realationships, etc. and then exports the code to create that database (CREATE TABLE ... etc).
Does anyone know if there is a program out there now that does this?
Thanks.