Possible Duplicate:
How can I automate the "generate scripts" task in SQL Server Management Studio 2008?
I need to export structure of my SQL Server database into a .sql script(s) without management studio.
UPDATED
Possible Duplicate:
How can I automate the "generate scripts" task in SQL Server Management Studio 2008?
I need to export structure of my SQL Server database into a .sql script(s) without management studio.
UPDATED
In SQL Management Studio
:
Task -> Generate Scripts