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 |
|
jeff06
Posting Yak Master
166 Posts |
Posted - 2007-02-22 : 14:35:02
|
| select * from dbo.RPT_ContractDetailswhere businessname like '%carl's%'carl's should be a string.Thanks |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
jezemine
Master Smack Fu Yak Hacker
2886 Posts |
Posted - 2007-02-23 : 01:00:25
|
that query will be slow if the table is large, as the wildcard on the front of the string prevents ay index on businessname from being used. www.elsasoft.org |
 |
|
|
|
|
|