title: Delete using case statement in SQL Server 2008
body: <p>I want to delete rows on the basis of their id. For multiple tables I want to generate a single query that will accept the table name and id and perform the operation.</p>
  
  <p>Now the scenario is that, I don't want to use if - else statement. I want to use case statement to detect the table name perform the function.</p>
  
  <p>Please help me.</p>