DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: what is that &&?

  1. #1
    Join Date
    Jul 2000
    Posts
    68
    Hi,
    Now i have a table emp (name varchar2(200)).
    I inserted data as below:

    insert into emp values ( 'tony & stone');

    i was prompted:
    enter value for stone:

    I know that because of the "&" in the statement. I really want it in the table. So how could i disable the meaning of "&"?
    I used \& to try. It failed.

    Any ideas?



  2. #2
    Join Date
    Jun 2000
    Posts
    295
    Under sql*plus, type:
    set scan off, then insert stmt with only one '&'

  3. #3
    Join Date
    Sep 2000
    Location
    Singapore
    Posts
    32

    Using &&

    Hi,

    use set escape charater before the &
    more easy.

    Ok.
    Felix
    DBA

  4. #4
    Join Date
    Apr 2000
    Location
    Bangalore
    Posts
    16
    Try this one.

    set define ?
    insert into emp values ( 'tony & stone');

    Thanks,
    Bhaskar

  5. #5
    Join Date
    Oct 2000
    Posts
    34
    Perhaps
    set define off

Posting Permissions

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


Click Here to Expand Forum to Full Width