query problem

The following query not working. any guidance pleasethanks select unique emonth,e_id from event_timewhere emonth >= (select to_char(sysdate,'Month') from dual)
[218 byte] By [farakha] at [2007-11-27 1:10:49]
# 1
hi :-)i no longer got an oracle, but can you post the error message?thanks :-)regards,
jie2eea at 2007-7-11 23:46:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
And the database/JDBC vendor/type/version used.
BalusCa at 2007-7-11 23:46:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

> The following query not working. any guidance please

> thanks

> select unique emonth,e_id from event_time

> where emonth >= (select to_char(sysdate,'Month') from

> dual)

yup! BalusC is right, please also post the database/JDBC vendor/type/version used :-)

i just assumed your using oracle because of "unique" "dual" and "sysdate" you used on your query :-) thank you.

regards,

jie2eea at 2007-7-11 23:46:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

> > The following query not working. any guidance

> please

> > thanks

> > select unique emonth,e_id from event_time

> > where emonth >= (select to_char(sysdate,'Month')

> from

> > dual)

>

> yup! BalusC is right, please also post the

> database/JDBC vendor/type/version used :-)

> i just assumed your using oracle because of "unique"

> "dual" and "sysdate" you used on your query :-) thank

> you.

>

> regards,

Its throwing logical errors i.e. working but not right

thanks again

farakha at 2007-7-11 23:46:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...