Check if there ENTER on a string

Dúvidas, dicas e truques de PL/SQL. Aqui também vão assuntos relacionados a pacotes, triggers, funções, Java-Stored Procedures, etc
Post Reply
flebrao
Rank: Analista Pleno
Rank: Analista Pleno
Posts: 116
Joined: Mon, 10 Apr 2006 4:46 pm
Location: Santa Bárbara D'Oeste
Sua vida É o que você É!!!!

Good morning masters ...
I have a question ...: Roll: I'm trying to locate an enter in a text field, but I tried in many ways and it did not work, someone would tell me how I can be doing this, please?


Thanks,
Fábio leak
User avatar
dr_gori
Moderador
Moderador
Posts: 5024
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

You can search for CHR (10) or CHR (13)
Try there !!! :-O
ruevers
Rank: DBA Sênior
Rank: DBA Sênior
Posts: 324
Joined: Fri, 02 Jun 2006 1:48 pm
Location: sp
Contact:

Uses the dump () function that shows all the text chr.
gokden
Rank: DBA Pleno
Rank: DBA Pleno
Posts: 264
Joined: Sun, 19 Aug 2007 8:18 pm
Location: Ribeirão Preto - SP
Lucas de Souza

OCA Developer
Analista de sistemas

I have this Comandim here chi takes the line breaks and travernform in space ...

Select all

vv_string := translate(vv_string,chr(10)|||chr(13),' ');
I do not know if this is what you need, more for me This helped a lot = D
flebrao
Rank: Analista Pleno
Rank: Analista Pleno
Posts: 116
Joined: Mon, 10 Apr 2006 4:46 pm
Location: Santa Bárbara D'Oeste
Sua vida É o que você É!!!!

Guys thank you very much for the tips. Mr. Tomas I was doing the Select searching for the CHR (10) but in the wrong way ... But with this doubt there were these other tips that are already being used here in the sector ... this forum is a spectacle ... brigaduuuuuuuuuuu hugs
oteles
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Posts: 4
Joined: Tue, 06 May 2008 3:41 pm
Location: Vitoria-ES

Dear Lucas,

I ended up putting a new topic unduly "generate text-free text file (UTL_File)", and I know that maybe this topic could help. Anyway I tried to use your solution without success. Could you check where I'm wrong?

Thanks

Abçs

Omar Teles
User avatar
aarao.primo
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 8
Joined: Mon, 08 Aug 2011 9:37 am
Location: Rio de Janeiro

Select all

SELECT COLUNA FROM TABELA WHERE COLUNA LIKE '%'||CHR(13)
: -O
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest