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.
| Author |
Topic |
|
carioca
Starting Member
6 Posts |
Posted - 2005-01-17 : 08:17:40
|
| Hi, How can I make a query that gets the ID from a table'contacts' where the name of a contact in that record is part of myevaluation? So a query that returns a record id fromthe table contacts where the name in the db is 'peter'and my search key is 'peterson'. so in fact this wouldbe a reversed LIKE. I can't find a InStr function like inVB.Thanx! |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-01-17 : 09:37:17
|
look up charindex or patindex in BOL.Go with the flow & have fun! Else fight the flow |
 |
|
|
|
|
|