/*by Jiangong SUN*/
Here i want to introduce how to generate sql sripts of database and there are several steps.
1) find out the publishing wizard path
It's here : "$windows$\Program Files\Microsoft SQL Server\90\Tools\Publishing\$version$\SqlPubWiz.exe"
2) launch executable and connect to the server
3) select database
4) export objects
5) select tables
Here it is.
Enjoy coding !