[DB-SIG] DCOracle 2 question - Ints vs. Floats

jno jno at glasnet.ru
Fri Apr 18 13:38:42 EDT 2003


how about the common trick

select * from The_Table where 1=0

??

Paul D. Lusk wrote:
> 'select 1.1 as thing from dual'
> 
> gives me a description of
> ('THING','NUMBER',3,3,0,0,1)
> 
> while 
> 
> 'select 11 as thing from dual'
> 
> gives me a description of 
> ('THING','NUMBER',2,2,0,0,1)
> 
> Is there any way of telling one is a float and the other is an int
> without retrieving a row?
> 
> Paul
> 
> 
> _______________________________________________
> DB-SIG maillist  -  DB-SIG at python.org
> http://mail.python.org/mailman/listinfo/db-sig

-- 
--
jno, a ROL techie (PRIVATE PERSON)
http://www.aviation.ru/
http://www.glasnet.ru/~jno




More information about the DB-SIG mailing list