I have an Oracle table, and column ( col1) is of type varchar2(12 byte). It has one line and the value col1is1234
When I speak
select * from table where col1 = 1234
Oracle specifies an invalid number. Why is this? Why can't I pass a number when it is varchar2?
EDIT: All answers are great. Thank. But I cannot understand why it does not accept 1234when it 1234is a valid varchar2 data type.
source
share