Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> An interest situation using "&" in PLSQL comment line
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
![]() |
![]() |