DrunkenEngineer
IS-IT--Management
I'm trying to do a concurrent search through a database, and I'm running into a roadblock...
I'm building a search page using Intergraph's Digital Print Room software, and we're trying to import data from an old Dbase dataset.. because this old dbase set could only handle 27 characters per data field, we had to split the title blocks of all the CAD drawings into 3 parts (title1, title2, title3). What I'm trying to do with the search is to search ALL these fields at once, similar to:
SELECT * FROM TABLE WHERE TITLE1 OR TITLE2 OR TITLE3 LIKE <whatever>
But the database goes crazy whenever I submit that string.. sometimes returning garbage, sometimes returning nothing at all...
Anyone have any ideas as to how I can do this with SQL Server 7, or another approach? The whole system is based around ASP..
THanks!
I'm building a search page using Intergraph's Digital Print Room software, and we're trying to import data from an old Dbase dataset.. because this old dbase set could only handle 27 characters per data field, we had to split the title blocks of all the CAD drawings into 3 parts (title1, title2, title3). What I'm trying to do with the search is to search ALL these fields at once, similar to:
SELECT * FROM TABLE WHERE TITLE1 OR TITLE2 OR TITLE3 LIKE <whatever>
But the database goes crazy whenever I submit that string.. sometimes returning garbage, sometimes returning nothing at all...
Anyone have any ideas as to how I can do this with SQL Server 7, or another approach? The whole system is based around ASP..
THanks!