Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> SQL Statement

SQL Statement

From: Tay, Virginia <htay_at_geocities.com>
Date: Tue, 20 Jul 1999 16:59:17 -0400
Message-ID: <97712538@NEWS.SAIC.COM>


Hi,

Can someone explain the following SQL statement for me...Especially.....the DECODE functon....Why do I need to put a 'O' right after MOD...???

select title, doc_category, decode(mod(rownum,5),0,rownum,null) from fieldd0200

Thanks in advance!!!

Ben Received on Tue Jul 20 1999 - 15:59:17 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US