Solved

Search table for words from another table

Posted on 2014-10-30
2
140 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
Comment Utility
0
 

Author Closing Comment

by:thayduck
Comment Utility
This helped me resolve my issue.

Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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