Reply to post: Re: Horrible, but maybe unavoidable

This is why copy'n'paste should be banned from developers' IDEs

Anonymous Coward
Anonymous Coward

Re: Horrible, but maybe unavoidable

This doesn't look a Pascal-based procedural language like Oracle PL/SQL, this looks like Pascal (probably Delphi) code. PL/SQL IF blocks are terminated by END IF and don't require the begin..end blocks.

This looks a symptom of bad copy&paste, lack of knowledge of proper containers (arrays, lists, etc.), sloppy variable naming, and probably lack of security - that code may be easily vulnerable to SQL injection.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon


Biting the hand that feeds IT © 1998–2020