Display the Date weekending

Hello

I have a requirement based on the year and month of the appeal, it must a list me of all the dates weekending as you please suggest me how to get this information

For example: If we adopt 2015 March

It should display 7-mar-2015

14 -mar-2015

21 -mar-2015

28 -mar-2015

Thank you

Sudhir

Advertisement

Hello

It depends on what is a "weekending Date."

If you want a list of all Saturday during a given month, then

WITH got_month_wanted AS

(

SELECT TO_DATE ('MARCH 2015', "YYYY MONTH") AS month_wanted

OF the double

)

got_saturday AS

(

SELECT ADD_MONTHS (month_wanted, 1) AS next_month

, NEXT_DAY (month_wanted - 1).

, 'SAT '.

) + (7 * (LEVEL - 1)) AS Saturday

OF got_month_wanted

CONNECT BY LEVEL<= 5 ="" --="" no="" month="" has="" more="" than="" 5="">

)

SELECT the Saturday

OF got_saturday

WHERE the Saturday<>

;

This assumes that NLS_DATE_LANGUAGE = ENGLISH.

If you can not be sure of NLS_DATE_LANGUAGE, then the request should be changed a little, but only a little.

If you need to do this (or things like that) more than once, it must create a calendar table, which contains a line for each day where you might be interested.  See Re: function from PL/SQL to calculate non-working days

Tags: Database

Similar Questions

  • How display the date of my last update of OSX in my Mac?

    How display the date of my last update of OSX in my Mac?

    If it was in the last 30 days, the updates will often (not always) show the Mac App store on your page of updates, under the heading "updates installed in the last 30 days.

  • is it possible to display the Date and time in the address bar or a clock window constantly

    I need to take screenshots with date stamps and time using the script of iMacros. Everything by taking screenshots iMacro don't add taskbar windows for the date and time. It takes screenshots of browser. Is it possible to display the Date and time in the address bar or a clock within the tab browser constantly to capture the screenshot with time stamp through iMacros
    I added the big clock background Add-ons, but it is visible to new tabs.

    Badly looking for help and it will be really appreciated...

    Try this extension:

  • A model of TV Sony KDL-32BX330 has somehow display the date or time? MENU button does not

    A model of TV Sony KDL-32BX330 has somehow display the date or time? The button MENU has no option to select or adjust the time or date... maybe a new firmware?

    Hello, manual,.

    There is no option to display the time and date of the TV Sony KDL 32BX330.

    We cannot comment on future firmware updates, nor can respond us if a product will not in the future it does not currently feature.

    If my post answered your question, please mark it as an "accepted Solution".

  • Camileo S20 - How to display the date and time

    Hi, all. I got as Christmas present the Camileo S20, and I am not able to view the date and time in the video. In the manual is no reference on this subject, only how to set the date and time. But what is the intention to set the date and time in the camera, if it is not possible to display video?

    Hello

    Have you checked the user manual of your TV cam?

    If it of possible to display the data and the time you can find in your user manual how to do this. It always interesting to read ;) s

  • clock in the notifications box no longer displays the date beneith the time

    Series HP Pavilion HPE h8 - 1360t running Win 7

    When I ran Setup and decided that I needed to install the software, I notice that the date is now displayed in the tray under the era.  I was happy that I is no longer my clock application to display the date.

    Now that I've installed all the updates and my usual software, the clock in the notification area displays only the time.  The date seems to have disappeared.

    I don't know what I've done or installed to make it disappear.  I can't find a way to recover.

    Is there a software switch somewhere that turns on the display of the date of the clock?

    Normally, the 'taskbar' are a height of 'one'... the time is displayed. If you unlocked the "taskbar" and stretch up to a height of 'two'... the time, day and date will be displayed. Thereafter, be sure to lock the taskbar to prevent change.

    Please send Bravo

  • Search a directory of data and display the data that is within the range of dates

    Hello

    I have a full idrectory of data from overtime, and I think of search in the directory and display the data files for specific dates. I only started this encoding yet but I figure I'll take the brain of some SMEs here labview and start in the right direction. My goal is to go through a comprehensive directory of data taken for a month or MORE csv files and select the data to process and display office files the date of its registration. If I take the data of last week, last month or last minute, it should just treat as an exact or more.

    Please help me get started on the right foot

    End date will be probably greater than the start date, right? So, end date must connect at the entrance to the upper limit. Then wire in the range? to the conditional terminal of a tunnel of conditional indexation.

    Lynn

  • A drop-down list in Axapta 4.0 box takes longer to display the data.

    Hi all

    I have a drop-down list box in Axapta 4.0, which takes about 10 seconds to display the data. The area of cobo contain the minimum data to be displayed. However, it takes more time than necessary. How to fix... Help me!

    Hello

    1. what operating system do you use?

    2 did you change on your computer?

    I suggest you follow the link and check.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    I also suggest that you send your request from the link and check.

    http://community.dynamics.com/product/AX/f/33.aspx

  • Want to access a SOAP service and display the data in the external list

    Hello

    I could see a WCF Service via the type of external content successfully. Now I want to access a SOAP Service and display the data in an external list in Sharepoint 2010. I am able to create a data source with success with the SOAP service, but how to display the data in the external list as external list uses only as data sources for external content types.

    Also with WCF as external content type, it is only on WCF services or any kind of web services can be added as an external content type.

    Any help would be appreciated.

    Thanks in advance

    Hello sunny198218,

    The question you have posted is related to Windows Communication Foundation Service and would be better suited in the MSDN forum for category Windows Communication Foundation. I've included a link to the forum where you can ask your question.
    http://social.msdn.Microsoft.com/forums/en-us/WCF/threads

    Sincerely,

    Marilyn

  • How to display the date in the taskbar on Windows XP?

    What should I do to display the date next to the clock on my taskbar in windows XP?

    Where can I get (read) the answer?, by e-mail?, trying to find this Forum?

    What should I do to display the date next to the clock on my taskbar in windows XP?

    Where can I get (read) the answer?, by e-mail?, trying to find this Forum?

    Permanently display the Date in the area of Notification in Windows XP
    http://www.XP-tips.com/display-date.html

    Just click on my Threads under your name and avatar and you can quickly find your messages.

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • When I maximize a window I can't display the date in the lower right. Why?

    When I maximize a window I can't display the date in the lower right. Why?

    With what application window, you are facing this problem?

  • Why the mouse is hovered over the taskbar only display the date sometimes?

    As right now while I am on this site when I move my mouse over the taskbar, the date does not appear. But most of the time this feature works exactly as it should.

    So why it still does not work?

    And does anyone get off these darn malware or reinstall Windows roads! I sure Ain 'goin' t' we. Just read my about me.

    Thanks John. I'm going a few more mindful of that and try to give some useful information. At the moment it displays the date very well when hovered, but I realized that this problem seems to come and go.

  • How can I print my photos displaying the date and time stamp

    I have pictures in a legal context but do not understand how to print them displaying the date and time stamp.  The timbre of the date and time are necessary for me to present my case exactly.  Can someone tell me how to print with these marks.

    Thank you

    The following instructions will prepare photos
    with the EXIF Date/time stamp then you can print
    them.

    FastStone Image Viewer freeware can add
    EXIF Date/time in the face of your photos in a batch.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    FastStone Image Viewer
    http://www.FastStone.org/FSViewerDetail.htm
    (Windows XP / Vista / 7)

    I suggest that you create a new folder and add
    copies of your photos for experimental purposes.
    If you are unhappy with the result your originals
    will be intact.

    After FastStone is downloaded and installed...
    Open the program and go...

    Tools / open the Batch Conversion / tab Batch convert...

    Check the box... Use of advanced options...

    Advanced Options button / tab text.
    Check the box... Add text...

    (You will need to experiment with the position and the police
    size and color to get the desired result.)
    (the text size will need to be adjusted according to the)
    the size of the photos)

    Open the window drop... "Insert a Variable."
    choose... EXIF Date Time / Date and time...
    (in the white field you should see ($H1)
    Left click... Ok

    On the Batch tab convert... in the left field...
    Left click the square button "select the Source folder.
    Find and select the photos you want to
    Add.

    Left, click on the Add button to move the files to
    the right field.

    Choose an output Format...

    Choose an output folder...

    Click on the button convert...

    It's much easier to do than to explain then
    give it a try before say you "Good Grief... it's too
    a lot of work.

  • How to display the date on the taskbar (toolbar)

    Please tell me how to display the date at the bottom of the screen.  Currently, everything is displayed is the time.

    Hello

    You said in addition to the clock so I initially think not that you need it however, others said it would be a good idea to show this method of date display. Also if you move the taskbar vertically the date is also displayed.

    Always see the day, date and time in the taskbar
    http://freewindowsvistatutorials.com/meetWindowsVista/taskbarAndSystemTray/showDayDateAndTimeInTheClock.php

    You can lift the taskbar is higher - make a right click on it - uncheck box lock the taskbar then take the upper part of it and lift it higher and the date will be under the clock.

    --------------------------------------------------------------------

    I found a utility that does on one level of the bar tasks if it does not have to be raised-
    T - clock - free - 3 references to it:

    Windows7 like clock on the system in Vista & XP tray
    http://www.tothepc.com/archives/Windows7-like-clock-on-system-tray-in-Vista-XP/

    TClock: See the Date Look like Windows 7 & time in the system tray in Windows XP and Vista
    http://www.askvg.com/tclock-show-Windows-7-look-like-date-time-in-system-tray-in-Windows-XP-and-Vista/

    T - Clock of the Stoic Joker
    http://www.greggdeselms.com/tclock.html

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

  • I have great meda database on excel and want to display the data comparitable on media player

    I LIKE TO "UPSIDE DOWN SCREEN" BETWEEN MEDIA PLAYER AND EXCEL DATABASE

    I have great meda database on excel and want to display the data comparitable on media player

    See: http://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/split-screen-option-windows-7/369d5ef8-379a-4701-891f-04af477f5cc5

Maybe you are looking for

  • double-sided printing HPDeskjet 2542

    All ads before you buy, I saw said that the 2542 Deskjet not duplex and this option appears in the menu printing, but he always does it manually - that is asking you to remove the paper and the re - load between the sheets. Advice please? I turn the

  • Missing triggers on 5122

    Hi all I have a system composed of 2 5122 PCI cards that I try to sync.  What I want to do is to use a trigger to edge for the acquisition on a single card and then use this acquisition to trigger to trigger the same Member of the Council.  I export

  • Microsoft Update service does not

    Acer Aspire 7739, Win7 64-bit. Microsoft Update returns an error the update service is not running. I have check the services and see that it runs. I downloaded the SATA drivers (rapid storage technology, I think). Setup returns an error that is not

  • Clip + folder Shuffle function

    Hello. Someone can advise me please as to whether the Clip + has a shuffle folder feature. My girlfriend has used a creative stone more for years, but he died on it. She used the folder on this regualrly shuffle feature, so I would be grateful if som

  • How to password protect a WDB file in Windows Vista

    I have some files I don't want not unprotected. Protect them from anyone accessing them?