title: SQL Server 2008 - create database script (schema + data) with command-line
body: <p>In SSMS when I click on the database "Tasks -> Generate Scripts", I get an output script. </p>
  
  <p>How do I do the same with a non-graphical tool?</p>