I\'m using the RODBC package inside an ORACLE DATA BASE (DB). Everything is doing very well, but I need to obtain a table from this DB and some variables as cha
RODBC
Change the query to cast the id to the data type you want:
select distinct cast(t.fono_id_dis as varchar(255)) as id . . .
This should work with most databases.