title: Why I can't delete the records from this table?
body: <p>I am pretty new in Microsoft <strong>SQL Server</strong> and I am not so into DB and I have the following problem.</p>
  
  <p>I have to delete all the records that are inside a table named <strong>VulnerabilityReference</strong></p>
  
  <p>So I executed this statment:</p>
  
  <pre><code>delete from VulnerabilityReference;
  </code></pre>
  
  <p>But I obtain this error message and no rows are deleted form my table:</p>
  
  <pre><code>Msg 547, Level 16, State 0, Line 1
  The DELETE statement conflicted with the REFERENCE constraint "FK_AlertDocument_Reference_Reference". The conflict occurred in database "DB NAME", table "dbo.VulnerabilityAlertDocument_VulnerabilityReference", column 'VulnerabilityReferenceId'.
  The statement has been terminated.
  </code></pre>
  
  <p>What it exactly means? Have I to delete all the records from the <strong>VulnerabilityAlertDocument_VulnerabilityReference</strong> table before delete the records into my <strong>VulnerabilityReference</strong>?</p>
  
  <p>Tnx</p>
  
  <p>Andrea </p>