First Name field containing the word "and" - need to identify using a query
I need to identify all of our constituents that have added two first names in the first name field with “and”, such as “Cindy and Kevin”. What I'm finding that when I add “and” as part of my criteria in the query, I'm also getting first names that contain “and”, like “Alexandra” or “Brandon”. I just really want the first name fields where constituents have added two names together when completing a form for a gift. There has to be a tip or wildcard out there that will help me set up this query so that I get “and” as a separate word in the First Name field rather than within a name. Can someone point me to where I might find that?
NOTE: I have checked out the “How to use wild cards” article in Knowledgebase, and it didn't cover this exactly.
Comments
-
You could try First Name like % and %
(a wildcard followed by a space, then “and”, then another space, then another wildcard)
Edit: * should also work, instead of %, if you prefer using that wildcard instead.
8 -
Ugh! Trying to write out the criteria I use but auto-formatting keeps taking over. I query this a lot in every database audit I do, and use contains as my operator. I then use asterisk followed by a space followed by the word “and”, followed by another space and another asterisk. Similarly, you could swap the “and” for an ampersand.
The spaces immediately before and after the word - or symbol - help you to isolate the single word. So it won't find “Andrew” but it would find “Andrew and Mary”.
Karen
7 -
THANK YOU! This is what I needed!
0 -
Thank you Karen! I used Alan's suggestion and further defined my query with yours as well. I think this is exactly what I needed!!
1 -
Hello,
Apologies for not answering your question. I did this clean up procedure after migration just as you are doing and still periodically repeat it. However, did want to let you know to run the same queries for "/" between names, the ampersand, "&", and "or". Many errors were found using these as well.2
Categories
- All Categories
- 6 Blackbaud Community Help
- 210 bbcon®
- 1.4K Blackbaud Altru®
- 395 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 649 Blackbaud Grantmaking™
- 567 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 937 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.5K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 247 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 239 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 31 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 784 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


