Vitiositas
Registered User.
- Local time
- Today, 14:12
- Joined
- Oct 10, 2012
- Messages
- 20
Hi guys having a problem with our current database, we are using the query:
SELECT [Client Name] FROM [basic details] WHERE [Client Name] like '*william*' UNION ALL SELECT [Partners Name] FROM [basic details] WHERE [Partners Name] like '*william*';
We use this to search for clients in our database when we are unsure of the client number we assign, when this is searched it can take over 30 seconds to fill the box due to access seizing up, does anyone have any suggestions, is the code doing something it shouldnt or could the problem lie elsewhere, if there is any other information that is needed just let me know.
Thanks alot!
SELECT [Client Name] FROM [basic details] WHERE [Client Name] like '*william*' UNION ALL SELECT [Partners Name] FROM [basic details] WHERE [Partners Name] like '*william*';
We use this to search for clients in our database when we are unsure of the client number we assign, when this is searched it can take over 30 seconds to fill the box due to access seizing up, does anyone have any suggestions, is the code doing something it shouldnt or could the problem lie elsewhere, if there is any other information that is needed just let me know.
Thanks alot!