Results 1 to 2 of 2

Thread: Overriding Oracle Special Characters

  1. #1
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    4

    Overriding Oracle Special Characters

    Is there a way to override the ampersand (&) in Oracle, so it is interpreted by the parser as an ampersand, and not a prompt character?

    I have the following script. When the parser reaches the ampersand (&) it prompts me for an entry (which I do not want to have happen):

    SELECT
    STDNTLISTA.FIRST_NAME1 ,
    STDNTLISTA.LAST_NAME ,
    SPECIAL_REQUEST.DESCRIPTION ,
    FROM
    M_STDNTLISTA,
    SRS.SPECIAL_REQUEST,

    WHERE
    ( SRS.SPECIAL_REQUEST.DESCRIPTION IN ('Alternate Exam', 'Alternate Exams-Media & New Technology'))


    Marcus
    *****

  2. #2
    Join Date
    Mar 2003
    Posts
    468
    Two options.
    1. you can turn off substitution variables completly by
    SET DEFINE OFF

    2. you can switch to a different substitution variable by
    SET DEFINE ^ (or whatever you wish)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •