Which of these two is faster? Is there a difference or are they interchangeable?
Join using a WHERE clause:
delete PersonInfo from PersonInfo pi
join Person p on pi.PersonId = p.Id where p.Name = 'Smith'
Join using AND:
delete PersonInfo from PersonInfo pi
join Person p on pi.PersonId = p.Id and p.Name = 'Smith'
Using SQL Server 2012.