Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: How to select column with one or more spaces
Andy Ho wrote:
> If you used like ' %', it'll return rows starting with one space followed by
> any text (or none), including ' ABC', which is NOT what I want.
> >===== Original Message From "Daniel A. Morgan" <Daniel.Morgan_at_attws.com>
>
> ------------------------------------------------------------
> Get your FREE web-based e-mail and newsgroup access at:
> http://MailAndNews.com
>
And if you wrote it this way:
SELECT *
FROM mytable
WHERE columnvalue LIKE '%
AND columnvalue NOT LIKE ' %'
What would be the problem?
Daniel A. Morgan Received on Tue Jul 03 2001 - 16:44:51 CDT
![]() |
![]() |