title: Migrate from Oracle to SQL Server
body: <p>I have the following query written with Oracle </p>
  
  <pre><code>delete from EQUI_HIERARCHY; 
  
  select max(level) into v_max_depth 
  from EQUIP_D
  
  connect by prior EQUIP_NO=PARENT_EQUIP_NO 
  start with PARENT_EQUIP_NO is null; 
  </code></pre>
  
  <p>How to transform it into SQL Server ?</p>