Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> An interest situation using "&" in PLSQL comment line

An interest situation using "&" in PLSQL comment line

From: C Chang <cschang_at_maxinter.net>
Date: Tue, 11 Jun 2002 00:45:11 -0400
Message-ID: <3D058057.2B35@maxinter.net>


When I added a new private function to the package body, I put a comment line at the top like :
-- This is a function to use ID to search D&B number FUNCTION.. However, when I compiled the package body, the compiler asked "the value for b:"
After I entered a number say 5, the compiler responded with old 13: -- This is a function to use ID to search D&B number new 13: -- This is a function to use ID to search D5 number then compile successfully.
Why the comment line with &B will replace the 5 that I entered? my ORacle PL/SQL book does not mention any about this. I thought using the "-- ..", compiler is supposed to ignore the line. Does any one know this?

C Chang Received on Mon Jun 10 2002 - 23:45:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US