Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql contains vs like

SELECT * FROM table WHERE Column LIKE '%test%';		-- can't use index
SELECT * FROM table WHERE CONTAINS(Column, 'test'); -- faster with full text index
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql
ADD COMMENT
Topic
Name
1+4 =