insert into table
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: insert into table

  1. #1
    Join Date
    Nov 2002
    Location
    Mooresville, NC
    Posts
    349

    Arrow insert into table

    Hi,

    i'm facing this problem. I want to insert "gfd&b" value into table, but while inserting it's asking for value of b as &b is there, but i need to insert that ampersand(&) . Any expert advice.

    Here is the insert statment and the message i'm getting during insertion.

    SQL> insert into malay_test values ('gfd&b');
    Enter value for b:
    http://www.perf-engg.com
    A performance engineering forum

  2. #2
    Join Date
    Nov 2000
    Location
    Pittsburgh, PA
    Posts
    4,015
    If it was me I would not support the ampersand. However, I think you can redefine its function. I'm not sure how to do that offhand. The tilde is always a good replacement.
    this space intentionally left blank

  3. #3
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,333
    set define off

    will stop it doing that in sqlplus - sqlplus thinks it is a substitution variable

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