Search for text in Database
Is there away to search for text in Database in Sql server
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Chetan Kumar31 reputationPosted Oct 22, 2012, 4:49 AM EDT
U want to search content in column or text data type for tables.
u can use like condition if want search particular word or anythin
select * from tb1 where ename like '%shil%'
Sudhakar ChaudharyRank #1,379 · 1.2K reputationPosted Oct 22, 2012, 5:49 AM EDT
http://www.c-sharpcorner.com/UploadFile/raj1979/how-to-use-full-text-search-in-sql-server-2008/
tejal bhesaniya52 reputationPosted Oct 23, 2012, 1:40 AM EDT
Rakesh Singh197 reputationPosted Apr 26, 2013, 11:26 PM EDT
if u have to search particular column name(string,number) or else
write query
select * from table where column name like '%Rakesh'
Sreekanth ReddyRank #726 · 3.2K reputationPosted Jan 20, 2019, 9:16 PM EST
Jenith ThakkarRank #789 · 2.9K reputationPosted Jan 20, 2019, 10:19 PM EST
DECLARE @SearchStr nvarchar(100)
Code AloneRank #488 · 5.1K reputationPosted Jan 20, 2019, 11:00 PM EST
Sourav MukherjeeRank #850 · 2.6K reputationPosted Jan 21, 2019, 3:49 PM EST
Mageshwaran RRank #411 · 6.1K reputationPosted Nov 12, 2019, 12:54 AM EST
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Nov 12, 2019, 1:06 AM EST
Sonu GuptaRank #1,261 · 1.4K reputationPosted Nov 12, 2019, 2:15 AM EST