Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QUERY TO LOCATE SPACES

Status
Not open for further replies.

100dtl

Programmer
Aug 18, 2003
313
GB
Hi all,

I want to get data back dependant on a row have two words

ie: 'Under Research' so i want the get the column data back if there is a space again this could change to
'X21 X25 X703'
 
If you want any record that has a space in it then
Code:
select *
from tablename
where columnname like '% %'
See select in BOL.

Denny

--Anything is possible. All it takes is a little research. (Me)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top