Chris,
Sorry not to have gotten back to you sooner.
Hmm. Interesting problem. Is this something that happens a lot or is this an exceptional situation?
If it's an exceptional situation, then I can imagine creating a series of SQL statements to check all of your tables. Create the statements by examining all the columns (using the
syscolumns table) that are character-type columns. Something like this:
select "select * from " + object_name (id)
+ " where " + name " like '%/* your string here */%'"
from syscolumns
where type in (39 /* varchar */, 47 /* char */, 35 /* text */)
This would give you a series of select statements which would mostly return no rows when executed.
If this isn't an exceptional circumstance, then it sounds like you should look into some type of indexing scheme involving either the full-text searching speciality data store or index tables, or a combination of both.
BOL,
John J M Craig
Alpha-G Consulting, LLC
nsjmcraig@netscape.net