Solved

Search table for words from another table

Posted on 2014-10-30
2
143 Views
Last Modified: 2014-11-15
I have a table called Words.
I want to search another table called Spells.
I want to read each record in Words and see if Flda is contained in any of the Spells records.
If I do find a match, I want to update Spells record with a code from Words.  

Words:

Flda     Code

Hello   1234
Sam     4568
Joe       2345

Spells:  (before)  Fld called Big  .  Below are 3 records from Spells.
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaHellobbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
hhhhhhhhhhhhhhhhhhhhSamkkkkkkkkkkkkkkkmmmmmmJoemmmmmmmmmmmmmmmmmmmmmmmmm    
gggggggggggggggggggggJoemmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmSamlllllllllllllllllllllllllllllllll


Spells:  (after )
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1234bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
hhhhhhhhhhhhhhhhhhhh4568kkkkkkkkkkkkkkkmmmmmm2345mmmmmmmmmmmmmmmmmmmmmmmmm    
ggggggggggggggggggggg2345mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm4568lllllllllllllllllllllllllllllllll
0
Comment
Question by:thayduck
2 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40414286
0
 

Author Closing Comment

by:thayduck
ID: 40444420
This helped me resolve my issue.

Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now