2
Answers

Difference between Equal and LIKE in T-SQL

Martin James

Martin James

3y
923
1
I have the following query : 
 
  1. SELECT * FROM Employee  
  2. WHERE FullName LIKE '%James Martin%'   
and :
 
  1. SELECT * FROM Employe  
  2. WHERE FullName = 'James Martin'  
 
I want to know the difference between LIKE and = 
Answers (2)