Feb 20, 2004 #1 Sajuks Programmer Jun 3, 2000 23 IN Hi there, Select 10/11 from dual returns 0.909 What i would like to get using a single select is the value "909" . TIA Regards
Hi there, Select 10/11 from dual returns 0.909 What i would like to get using a single select is the value "909" . TIA Regards
Feb 20, 2004 #2 lewisp Programmer Aug 5, 2001 1,238 GB [tt]SELECT Substr(To_Char(10/11), Instr(To_Char(10/11),'.') + 1,3) FROM SYS.DUAL;[/tt] Upvote 0 Downvote
Feb 20, 2004 #3 ddrillich Technical User Jun 11, 2003 546 US select trunc(10/11*1000) from dual; Upvote 0 Downvote