Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
godspeedba
Yak Posting Veteran
90 Posts |
Posted - 2009-05-04 : 07:51:26
|
| Hello friends.I have the below stored procedure that I want to add a check to not get the record if http is displayed in the message. I have tried where not contains("http") but this didnt workSELECTTop 5 [id], [name], [message]FROM tbl_messageboardORDER BY id |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-05-04 : 07:55:04
|
CONTAINS need FULLTEXT to be installed.SELECTTop 5 [id],[name],[message]FROM tbl_messageboardwhere message not like 'http://%'ORDER BY id E 12°55'05.63"N 56°04'39.26" |
 |
|
|
godspeedba
Yak Posting Veteran
90 Posts |
Posted - 2009-05-04 : 08:13:15
|
| thank you ;) |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-05-04 : 08:38:36
|
You're welcome. E 12°55'05.63"N 56°04'39.26" |
 |
|
|
|
|
|