How to know the date is first,second,third weeks...

W

weetat

Hi all,

I have column in the database , release_date . The release_date
column is to capture when the data are first released to our client.

Our client want us to check if for example the release_date is 9
August 2007 is on the first week of the month. However it did not the
referred to month but to release_date.

for example :

Prod reelase_date

A 02 Aug 2007
B 23 Aug 2007
C 09 Aug 2007
D 02 Aug 2007
E 06 Aug 2007

Prod A and Prod B are in the first week product of the month.

Anyone have any suggestions or ideas ?

Thanks

wee tat
 
J

Jacky

Hi all,

I have column in the database , release_date . The release_date
column is to capture when the data are first released to our client.

Our client want us to check if for example the release_date is 9
August 2007 is on the first week of the month. However it did not the
referred to month but to release_date.

for example :

Prod reelase_date

A 02 Aug 2007
B 23 Aug 2007
C 09 Aug 2007
D 02 Aug 2007
E 06 Aug 2007

Prod A and Prod B are in the first week product of the month.

Anyone have any suggestions or ideas ?

Thanks

wee tat

I don't think the database system supply such date function to us.
You can get the query condition by java at first.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top