SELECT in VCHAR column for strings with TAB - Mailing list pgsql-general

From Matthias Apitz
Subject SELECT in VCHAR column for strings with TAB
Date
Msg-id YMIUCkfNzewWG8Qn@c720-r368166
Whole thread Raw
Responses Re: SELECT in VCHAR column for strings with TAB  (Ray O'Donnell <ray@rodonnell.ie>)
Re: SELECT in VCHAR column for strings with TAB  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hello,

I want to search in a VCHAR column for a string with two TAB at the end.
I tried some things w/o any luck, like:

select * from acq_vardata where name=concat('Test202112', 9, 9);
select * from acq_vardata where name=concat('Test202112', '\t\t');

Any ideas? Thx

    matthias
-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
¡Con Cuba no te metas!  «»  Don't mess with Cuba!  «»  Leg Dich nicht mit Kuba an!
http://www.cubadebate.cu/noticias/2020/12/25/en-video-con-cuba-no-te-metas/



pgsql-general by date:

Previous
From: Marc Millas
Date:
Subject: Re: index unique
Next
From: Tom Lane
Date:
Subject: Re: order by