Useless

Este forum é dedicado a códigos errados que se encontram por aí, ou seja, coisas que não se deve fazer de jeito nenhum! Não coloque neste forum dúvidas! (apenas situações bizarras do nosso dia a dia :-)
Post Reply
rodcapella
Rank: Programador Júnior
Rank: Programador Júnior
Posts: 19
Joined: Tue, 07 Jul 2009 10:26 am
Location: Rio de Janeiro - RJ
_________________
Rodrigo Póvoa
Analista de Sistemas Júnior
Oracle Developer

I was altering a form from the place where I work and found the following code:

Select all

IF :PARAMETER.NoteId IS NULL THEN 
   
  IF :SYSTEM.RECORD_STATUS = 'INSERT' THEN          
      CLEAR_RECORD;                                 
  END IF; 
   
ELSE 
  NULL; 
END IF;
RodrigoValentim
Moderador
Moderador
Posts: 367
Joined: Tue, 25 Mar 2008 3:41 pm
Location: Salvador - BA
Rodrigo Valentim
Analista de Sistemas
Oracle Developer

Campanha: Faça uma pesquisa antes de perguntar!!!

Really ... come to compromise the code!
vampiro555
Rank: Estagiário Júnior
Rank: Estagiário Júnior
Posts: 1
Joined: Mon, 28 Jan 2008 12:30 pm
Location: SP

I already did this rsrs
but it was at the time that I was beginning to program
victorhugomuniz
Moderador
Moderador
Posts: 1396
Joined: Fri, 01 Feb 2008 2:06 pm
Location: Rio de Janeiro - RJ
Contact:
:D

and because it has times the code does not compile ..
JOPA
Rank: Programador Sênior
Rank: Programador Sênior
Posts: 58
Joined: Fri, 30 Oct 2009 9:52 am
Location: Salvador - BA
Contact:
Atenciosamente,

João Paulo A. C. do Bomfim

"Deu certo? Deixa! Funcionou? Não mexa!"

It is likely that there was an operation case : parameter.noteid is not null. When this operation was withdrawn gave compilation error and who was implementing ended up doing this.

A pity that the person does not know that this has generated a post or is known to comment here the reason for this.

.. rs
Post Reply
  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 15 guests