title: Detect SQL database changes
body: <p>Consider this example:</p>
  
  <pre><code>INSERT INTO [Table] (column1)
  SELECT value1
  </code></pre>
  
  <p>If I were to execute this command in SSMS, in regards to a c# forms application, what would I need to do in order to recognize this event? Something as simple as the application displaying a <code>MessageBox</code> when this event occurs. I just can't seem to work this one out or find any helpful data on it. I have attempted to use <code>SqlDependency</code> but am not having any luck. If that is the path I need to go down, can anyone help me out with understanding the concept a little better?</p>