Search Postgresql Archives

Re: backslash separated values for a field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 10 February 2006 12:54, surabhi.ahuja wrote:

>is ther any opeartor like contain, so i can form a query of the form:
>
>select * from table_name where x contains 'abc';

SELECT * FROM table_name WHERE x LIKE '%abc%';

You should probably avoid using backslash as a separator because of its 
special meaning as an escape character. That may bite you in several 
ways.
-- 
Leif Biberg Kristensen | Registered Linux User #338009
http://solumslekt.org/ | Cruising with Gentoo/KDE


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux