This content has been marked as final. Show 3 replies
The Database export function does it, but I've never really used it in anger. One quirk I remember is it seems to want to create PK constraints twice.
Have you tried the new Cart?
You drag your objects into the Cart and then use the Deploy button. It will generate a series of scripts. They are designed to account for creation order and to preserve your data if you want to include it.
Here's a quick overview of it
If you want the entire Schema, try the Tools > Database Export.
Thanks Jeff, that looks really useful, I'll give it a go.