How to interpret this SQL Server error message
<p>I am executing a stored proc from SSMS and I get this error message:</p>

<pre><code>Msg 295, Level 16, State 3, Procedure spEdiCreateOrders, Line 80 [Batch Start Line 2]
Conversion failed when converting character string to smalldatetime data type.
</code></pre>

<p>Of course I could try and err, but I'd like to be able to take advantage of the message, and I am a bit perplexed by the message.<br>
'<code>line 80</code>': starting from where ? From the <code>BEGIN</code> clause of the <code>Alter procedure</code> ? Or does it really refer to the line 80 I see when I click <code>Modify</code> ?<br>
Also, what does <code>Batch Start Line 2</code> mean ?<br>
Thx !</p>

<hr>

<p><strong>edit</strong>: note that I am NOT interested in help solving the issue (it is already solved). I just want a clear guidelines about how to interpret 'line 80' and 'Batch Start Line 2', so that next time I immediately know where to look at.</p>

<p><a href="https://i.stack.imgur.com/JfHhQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JfHhQ.png" alt="enter image description here"></a></p>