Jump to content

Oracle Sql Helf..!


Recommended Posts

Posted

[quote name='Little Star' timestamp='1363098953' post='1303408784']
nee guddi G..kanipisthane undi kada
[/quote]
:P

  • Replies 31
  • Created
  • Last Reply

Top Posters In This Topic

  • chinni005

    14

  • mettastar

    10

  • CheGuevara

    2

  • bmwx3

    1

Popular Days

Top Posters In This Topic

Posted

aa ipudu inko error osthundhi..!
date not valid for specified month anta :o

idhedhi FEB daggara thanthundhi ani na feeling.. pls help..!


ORA-01839: date not valid for month specified
01839. 00000 - "date not valid for month specified"
*Cause:
*Action:

Posted

[quote name='RockStarr' timestamp='1363099361' post='1303408809']
aa ipudu inko error osthundhi..!
date not valid for specified month anta :o

idhedhi FEB daggara thanthundhi ani na feeling.. pls help..!


ORA-01839: date not valid for month specified
01839. 00000 - "date not valid for month specified"
*Cause:
*Action:
[/quote]

I never saw using Between in select... epudu where Clause lo ne vadatharu anukunna to select between some range...

Posted

[quote name='mettastar' timestamp='1363099606' post='1303408824']
I never saw using Between in select... epudu where Clause lo ne vadatharu anukunna to select between some range...
[/quote]
abbha adhi query lo oka line mayya parts parts ga copy chesi ala vesanu u can ignore query after between :)

Posted

SELECT (((NVL(TO_date(BIRTH_DATE,'DD-MON-YYYY'),'19-JAN-1000')
+ to_yminterval('18-00') ))) FROM person
WHERE (((NVL(TO_date(BIRTH_DATE,'DD-MON-YYYY'),'19-JAN-1000')
+ to_yminterval('18-00') )))
BETWEEN (TRUNC(SYSDATE) + 30) AND (TRUNC(SYSDATE + 31))


idhi naaku run aindhi... i replaced BIRTH_DATE with sysdate for testing

Posted

[quote name='mettastar' timestamp='1363099979' post='1303408860']
SELECT (((NVL(TO_date(BIRTH_DATE,'DD-MON-YYYY'),'19-JAN-1000')
+ to_yminterval('18-00') ))) FROM person
WHERE (((NVL(TO_date(BIRTH_DATE,'DD-MON-YYYY'),'19-JAN-1000')
+ to_yminterval('18-00') )))
BETWEEN (TRUNC(SYSDATE) + 30) AND (TRUNC(SYSDATE + 31))


idhi naaku run aindhi... i replaced BIRTH_DATE with sysdate for testing
[/quote]
nenu ice birth_date lo null values unnayi mama andhuke NVL use chesthunna :)

Posted

[quote name='RockStarr' timestamp='1363100152' post='1303408875']
nenu ice birth_date lo null values unnayi mama andhuke NVL use chesthunna :)
[/quote]
ya ardhamaindhi..
naku atlanti data ledhu kada to test..
nee updated SQL and error motham ikkda post cheyi

Posted

oka person unnadu..!

vaadi DOB enter chesa..! MM/DD/YYYY

enter chesina DOB ki 18 years oche 1 month mundhu..! person table lo values em ayina unnyemo kavali..!

idi requirement ..!

Posted

[quote name='mettastar' timestamp='1363100587' post='1303408930']
ya ardhamaindhi..
naku atlanti data ledhu kada to test..
nee updated SQL and error motham ikkda post cheyi
[/quote]
mama metta* rock * payina requirement post chesadu chudu..!

Posted

SELECT TO_date(BIRTH_DATE,'DD-MON-YYYY') DOB, NVL(TO_date(BIRTH_DATE,'DD-MON-YYYY'),'19-JAN-1000') + to_yminterval('18-00') DOB_18
FROM person
WHERE EX_DATE BETWEEN TO_date(BIRTH_DATE,'DD-MON-YYYY') AND
NVL(TO_date(BIRTH_DATE,'DD-MON-YYYY'),'19-JAN-1000') + to_yminterval('18-00') -30

idi chudu

EX_DATE anedi table lo record insert chesina date... adi nee table lo edaithe adi pettu..
naaku ardhamaina daani prakaaram...
if DOB=12-MAR-2013 and DOB18=12-MAR-31 then neeku between DOB and DOB18-30days lopu unna records anni kaavali ??

Posted

[quote name='mettastar' timestamp='1363100654' post='1303408941']
dude nee paatha ID enti?? do i know u?
[/quote]
what is ur old doddd

Posted

toad vaadu bayya.. nuvvu format click chesthe.. it will show you where the error is.. its easier to do ..

Posted

[quote name='Silence..Please' timestamp='1363098954' post='1303408785']
try shutdown abort; command at the end of your sql .. everything will resolve
[/quote] CITI_c$y
house teesi dba privs unte

×
×
  • Create New...