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.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 contains

Author  Topic 

arkiboys
Master Smack Fu Yak Hacker

1433 Posts

Posted - 2009-03-24 : 07:14:32
Hi,
I am using an existing stored procedure (SP) which uses contains on some of the fields.
On the UI, I can enter a value for the field such as ["Hello you" not "you"]
but can not enter the word not at the beginning i.e.
not "hello you".
The SP uses contains.
How is it possible to use the word not at the beginning please?
Thanks

arkiboys
Master Smack Fu Yak Hacker

1433 Posts

Posted - 2009-03-24 : 10:43:40
It seems Contains does not allow for placing the word "NOT" at the beginning as follows:
' NOT "Hello you" AND NOT "office"'

Do you agree please?
Thanks
Go to Top of Page
   

- Advertisement -