title: How to create ALTER scripts instead of CREATE scripts using SMO (Server Management Object)
body: <p>I am using the <a href="http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.aspx" rel="nofollow noreferrer">Microsoft.SqlServer.Management.Smo</a> classes to script out SQL scripts for stored procedures, tables, views etc. I am doing this for putting them in source control. </p>
  
  <p>Instead of the CREATE scripts for stored procedures, how can I get ALTER scripts for them? Is there an setting / option in the <a href="http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.scriptingoptions.aspx" rel="nofollow noreferrer">ScriptingOptions</a>' properties?</p>