• One way to do it is to install the following stored proc written by a GURU

    http://www.techrepublic.com/blog/datacenter/script-table-definitions-using-tsql/431