Extract source DB definitions in SQL for use elsewhere

What is the easiest way of extracting complete SQL definitions of a DB?

I would like to use the saved definitions on a completely different system and have not managed (yet) to work out how to do this using backup (copy). Also, I would like to save the definitions in a code library for future reference and modification.


Please sign in to leave a comment.