title: How to generate table's data script file in SQL Server using stored procedure?
body: <p>How can I generate a table's data script using a stored procedure?</p>
  
  <p>I found the <code>bcp</code> utility, but it runs on the command prompt...</p>
  
  <p>I need to generate table data scripts from SQL Server 2008 R2</p>