> CaseDetail.StatusID not like '%6%'???
>
> First one is probably what you want, as "like" is more for wild card text
> criteria....

OK, this will work as long as your StatusID list doesn't ever go over 15

If you've got hundreds of entries (and it's a denormalised list), then the
better way to handle list is;
where ','+StatusID+',' not like '%,6,%'

The + works in SQL server, but in Access you would use &

LIKE can be fairly slow, so it maybe easier to use functions like CharIndex
(for SQL Server) or InStr (for Access) - these run a lot quicker.

HTH

Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to