Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
query to search related data in database
Devendra Kumar
Aug 4 2016 7:12 AM
266
Reply
i will use like this:
declare
@SearchString
varchar
(200)
select
@
from
tbl_Products
WHERE
ProductName Like '%'+@SearchString+'%' or ProductCode Like '%'+@SearchString+'%'
i will get result like :
products name: Blue New Product
and search time : input text like: new blue then it not find any result i want when input this keyword then i got this product name
so please solve it..
thanks..
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
How to add New column in Required position
SQL query execution timings