Oreikill experts Chalanachithram.com | Topics | Search
Hide Clipart | Log Out | Register | Edit Profile

Last 30 mins | 1 | 2 | 4 hours     Last 1 | 7 Days

Chalanachithram.com DB » TF Industry related » Archive through March 27, 2013 » Oreikill experts « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Gharshana
Side Hero
Username: Gharshana

Post Number: 2128
Registered: 07-2010
Posted From: 1.23.211.162

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 03:22 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Twitter:




Hey twitter babu.. you can use case statement in the where condition to get the dates of the present quater..
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Megastar
Username: Twitter

Post Number: 26133
Registered: 10-2009
Posted From: 192.193.216.147

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 02:34 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Gharshana:



useful ..thx
Top of pagePrevious messageNext messageBottom of page Link to this message

Gharshana
Side Hero
Username: Gharshana

Post Number: 2126
Registered: 07-2010
Posted From: 1.23.211.162

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 02:34 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

Oh quarter lo anni dates kavala...
sorry na query work avadu..
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Megastar
Username: Twitter

Post Number: 26132
Registered: 10-2009
Posted From: 199.67.138.42

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 02:32 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Jambalahaart_raja:

isit sesindh nuvvu kaadh, nenh!!! red endukochhinayo idea ledh!!!




ehe already visited nenu ani septhunna.
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Megastar
Username: Twitter

Post Number: 26131
Registered: 10-2009
Posted From: 199.67.138.42

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 02:32 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Buduguuu:

select to_date('01-jan-2013','dd-mon-yyyy') + rownum -1
from all_objects
where rownum <=
to_date('31-mar-2013','dd-mon-yyyy')-to_date('01-jan-2013',' dd-mon-yyyy')+1




yep this can be softcoded with addmonths func.
this is what i did in conjunction with my original qry..thx
Top of pagePrevious messageNext messageBottom of page Link to this message

Gharshana
Side Hero
Username: Gharshana

Post Number: 2125
Registered: 07-2010
Posted From: 1.23.211.162

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 02:19 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

This would help:

select aa as MONTH_NUMBER, (case when aa < 4 then 'FIRST QUARTER'
when aa < 7 then 'SECOND QUARTER'
when aa < 10 then 'THIRD QUARTER'
else 'FOURTH QUARTER'
END) as QUARTER
from ( select to_char(sysdate, 'MM') aa from dual);

To test it for other quaters:

select aa as MONTH_NUMBER, (case when aa < 4 then 'FIRST QUARTER'
when aa < 7 then 'SECOND QUARTER'
when aa < 10 then 'THIRD QUARTER'
else 'FOURTH QUARTER'
END) as QUARTER
from ( select to_char(to_date('16-DEC-2013','DD-MON-YYYY'), 'MM') aa from dual);


The easiest way is to use Q format if you are just looking for the number:

select to_char(sysdate, 'Q') aa from dual;
Top of pagePrevious messageNext messageBottom of page Link to this message

Jambalahaart_raja
Side Hero
Username: Jambalahaart_raja

Post Number: 2181
Registered: 07-2008
Posted From: 199.43.48.130

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 01:53 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Twitter:

rendu linkulu red ga unnai ante already visited :D ..thx anywya




isit sesindh nuvvu kaadh, nenh!!! red endukochhinayo idea ledh!!!
Top of pagePrevious messageNext messageBottom of page Link to this message

Buduguuu
Hero
Username: Buduguuu

Post Number: 12368
Registered: 01-2012
Posted From: 199.249.176.251

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 01:50 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Twitter:




select to_date('01-jan-2013','dd-mon-yyyy') + rownum -1
from all_objects
where rownum <=
to_date('31-mar-2013','dd-mon-yyyy')-to_date('01-jan-2013',' dd-mon-yyyy')+1

this is exact query :-)
Coolmac : nanu comment sesey staayi ledhu neeku

Biryani about Mahesh Babu
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Megastar
Username: Twitter

Post Number: 26127
Registered: 10-2009
Posted From: 192.193.216.147

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 01:45 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Maverick:

general ga calendar table untundi kada mee environment lo..daniki join katti lagu




yeah undhi adhe chesthunna kani q's info ledhu ..sql lo emanna builtin fn's unnayemo ani oka stone esa..
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Megastar
Username: Twitter

Post Number: 26126
Registered: 10-2009
Posted From: 192.193.216.147

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 01:43 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Buduguuu:


http://www.chalanachithram.com/discus/icons/quote3.gif

vaddhule bedar i figured it out. anni dates oka chota petti querying sethunna..thx for the help
Top of pagePrevious messageNext messageBottom of page Link to this message

Maverick
Legend
Username: Maverick

Post Number: 44051
Registered: 01-2008
Posted From: 70.39.231.164

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 01:43 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

general ga calendar table untundi kada mee environment lo..daniki join katti lagu
Who is this DB member?
Top of pagePrevious messageNext messageBottom of page Link to this message

Buduguuu
Hero
Username: Buduguuu

Post Number: 12367
Registered: 01-2012
Posted From: 199.249.176.251

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 01:42 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Twitter:




direct sql lo teleed kaani pl/sql lo aite seyyach.. etiki septan :-)
Coolmac : nanu comment sesey staayi ledhu neeku

Biryani about Mahesh Babu
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Megastar
Username: Twitter

Post Number: 26125
Registered: 10-2009
Posted From: 192.193.171.152

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 01:21 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Jambalahaart_raja:

vopaali idi soodudi




rendu linkulu red ga unnai ante already visited :D ..thx anywya
Top of pagePrevious messageNext messageBottom of page Link to this message

Jambalahaart_raja
Side Hero
Username: Jambalahaart_raja

Post Number: 2179
Registered: 07-2008
Posted From: 199.43.32.85

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 01:06 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

vopaali idi soodudi

http://stackoverflow.com/questions/6489923/calculate-fiscal- year-and-quarter

http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUES TION_ID:250288900346075009

Hope this will help you figure out your own query
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Megastar
Username: Twitter

Post Number: 26122
Registered: 10-2009
Posted From: 199.67.131.151

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 01:01 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Buduguuu:



oka year lo 4 qtrs untai kadha .. suppose ivvala date input isthe naku ee qtr lo gadichina dates jan1 to tilldate anni kaavali.
alage suppose April 15th date isthe appudu second qtr first nundi ante apr1st to 15 anni dates ivvali
Top of pagePrevious messageNext messageBottom of page Link to this message

Buduguuu
Hero
Username: Buduguuu

Post Number: 12349
Registered: 01-2012
Posted From: 199.249.176.251

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 12:57 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

waaat?? kochen clarity led.. malli adagandi
Coolmac : nanu comment sesey staayi ledhu neeku

Biryani about Mahesh Babu
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Megastar
Username: Twitter

Post Number: 26120
Registered: 10-2009
Posted From: 199.67.131.151

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 26, 2013 - 12:55 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

sysdate theeskoni ee qtr lo dates anni icche qry edhanna unte ivvandi babailu..

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image HASH(0x864a228){Movie Clipart}
Show / hide regular icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Show / Hide Filmy icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: