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

Thread: varchar2 accepts values without quotes...why?

  1. #1
    Join Date
    May 2001
    Location
    Atlanta US
    Posts
    262
    Hi Gurus,
    I have a table with a column set as varchar2(100).
    If I insert into this a value as say 1000 and NOT '1000',
    it still inserts (8i) and I can also select from it without giving the argument in quotes.
    Why does this happen?
    Hemant

  2. #2
    Join Date
    Apr 2001
    Posts
    118
    It works because the values with which you are testing are numeric and Oracle is able to perform a type conversion for you.

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