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

Home -> Community -> Usenet -> c.d.o.misc -> simple query not so simple

simple query not so simple

From: Bob <Go1369_at_Yahoo.Com>
Date: 9 Oct 2005 22:42:51 -0700
Message-ID: <1128922971.771520.226820@g43g2000cwa.googlegroups.com>


SQL= select count(*),sum(atp_amount) from fdsmastrep where trans_month = 10/1/2004

the trans_month field is a date field and I need to get the records for the year beginning 10/1/2004 and ending 9/30/2005

I get an "inconsistent data types" error.

can somebody help me out? Received on Mon Oct 10 2005 - 00:42:51 CDT

Original text of this message

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