Is there any performance benefit to using one of these queries over the other? Or does SQL treat them exactly the same?
1.
select top 1 * from MyTable where MyColumn like '%mytextvalue'
2.
select top 1 * from MyTable where right(MyColumn, 11) = 'mytextvalue'