Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 How to use value from subquery in outer query

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-01-24 : 08:50:44
Hervey writes "GentlePeople!

I am cleaning up a table (i.e removing some words)
What I'd like to do

update tblNewTable
set fieldRule = Fname,
fieldWord = "I'd like to get gere the BadWord in inner query"
where exists
(select BadWord
from BadWordTable
where patindex (BadWord, Fname) > 0)

BadWord already has my wildcard chars

Can someone advise...?

Thanks in advance"
   

- Advertisement -