Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
SQL Server Transact Basic to Expert - Search using Contains
WhatsApp
Karthikeyan Anbarasan
13y
2.5
k
0
0
25
Blog
This blog shows how to use CONTAINS in select query to search
Syntax:
SELECT TableColumns
From TableName
Where Contains (Columnname, "Search")
Example:
SELECT empid, empname
FROM dbo.emptable
WHERE CONTAINS (empname, '"Kar*"')
SQL Server Transact Basic to Expert - Search using Contains
Up Next
SQL Server Transact Basic to Expert - Decreasing a date value to 4 months using SQL query
Ebook Download
View all
Basics of SQL Server
Read by 1.5k people
Download Now!
Learn
View all
Membership not found