About
Pricing
Community
Teams
Start Free Trial
Log in
karthik80c
asked on
2/10/2016
How to change Search query that contain particular word n Sql
Hi Experts ,
We need to search in database with the record contains particular Data in it e.g. name column could search for all words that contains 'jon' in it. Is this correct query
my code
SELECT Name FROM Person WHERE Name LIKE '%Jon%'
Select all
Open in new window
ASP.NET
Microsoft SQL Server
Databases
6
3
Last Comment
karthik80c
8/22/2022 - Mon
Lokesh B R
2/10/2016
Hi,
yes it is correct.
It will look for the word where it contains "Jon" in the Name column.
karthik80c
2/11/2016
ASKER
Hi Lokesh ,
What if i need to go for exact match
SOLUTION
Lokesh B R
2/11/2016
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Deepak Chauhan
2/11/2016
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
MohitPandit
2/11/2016
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
karthik80c
2/11/2016
ASKER
Thank You Experts For Your Great Effort
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
yes it is correct.
It will look for the word where it contains "Jon" in the Name column.