title: SQL Server: How to write and execute a prepared statement?
body: <p>In MySQL, we can generate the prepared statement using <code>PreparedStatement</code>.</p>
  
  <p>I want to achieve the same functionality in SQL script. How to create the prepared statement and how to execute it? Please provide an example for that.</p>