XecutioneR
Active Member
- Joined
- Nov 4, 2008
- Messages
- 73
- Reaction score
- 0
Hi all
Im using MS SQL 2005, and trying to run a query from VB, using Visual Studio 2008.
What I need is to find all movie information where the title matches text from a textbox, therefore the need for a parameter @Title. From what I googled, I came up with the following:
Select *
From Movies
Where Mov_Title LIKE '%' + @Title + '%'
However, the application disregards the wildcards. Any help on solving this would be appreciated.
Thanks
XecutioneR
Im using MS SQL 2005, and trying to run a query from VB, using Visual Studio 2008.
What I need is to find all movie information where the title matches text from a textbox, therefore the need for a parameter @Title. From what I googled, I came up with the following:
Select *
From Movies
Where Mov_Title LIKE '%' + @Title + '%'
However, the application disregards the wildcards. Any help on solving this would be appreciated.
Thanks
XecutioneR