ORA-01722: invalid number !!
Above ora code is a very common one but I am getting this in a very strange situation..!!
I am trying to create the below index
create index ADM.IDX$$_52590003 on ADM.TD_XPORT_R('VID',TO_NUMBER('SETID'))
here VID is a number data type & SETID is a varchar2(2) with data of only ( 0 , 1 & 2)
I checked by searching distinct data as well as checked the length. All seems to be ok.
Though while creating the index I am getting ORA-01722: invalid number. Can anybody help out.
Thanks in advance.
Roy