show only five dates Monday from the current date.

All,

I have the column date in dd/mm/yyyy format, I need to show the rear 5 date of Monday, from the current date.

in the warehouse we t have the column NAME OF THE DAY.

Help me.


Thank you


CASE WHEN DAYOFWEEK (DATE_FIELD) = 2

AND

DATE_FIELD > TIMESTAMPADD (SQL_TSI_DAY-35, CURRENT_DATE)

AND DATE_FIELD<>

THEN

DATE_FIELD

END

Please check and change-35, according to the needs.

Please check if it is correct.

Tags: Business Intelligence

Similar Questions

  • currently still have PP CS5.5 &amp; want to install on another office, understand that I can only use one at a time. don't have a CD, can I get information from the current installation and a link to download PP CS5.5?

    currently still have PP CS5.5 & want to install on another office, understand that I can only use one at a time. don't have a CD, can I get information from the current installation and a link to download PP CS5.5?

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a link to access a page to download the Adobe programs if you do not have a disk or drive

    Find your http://helpx.adobe.com/x-productkb/global/find-serial-number.html serial No.

  • my phone does not work after last update itunes on my phone connection with my pc, it shows only i tunes icon and the application of itune on my pc does not work

    my phone does not work after last update itunes on my phone connection with my pc, it shows only i tunes icon and the application of itune on my pc does not work

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    More information area has direct links with the current and recent buildings if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit-for old video cards) as a workaround for problems with installation or operation, or compatibility with QuickTime software or a third party.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    Once iTunes to work properly, you should be able to fix your device.

    TT2

  • I tried to connect wifi with my laptop, including wireless I use for a month now, but shows only 2 blue screens without the world down on the right, and he said "unidentified network".

    "Unidentified network".

    Hello, today I tried to connect to my friends wifi with my laptop, including wireless I use it for a month now and its impossible! Down right it shows only 2 blue screens without the World Cup, and he said "unidentified network"! I tried several solutions, I found online as 'install the protocols Internet 4 and 6', make sure that I have the ip auto get same restore point system and safe mode with network! Nothing works... my friend connects with his laptop and I can connect with my smartphone, except my laptop! I have windows vista... Please help me thanks

    Go to: Control Panel, Manager of Devic, adapters to extend your network, click with the right button on your wireless network and click on uninstall.

    Do not put a check in the box: remove the software driver for this device.

    Restart your computer and Windows will install your wireless network.

    If the problem persists, see if your computer manufacturer has an updated driver.

    These articles may help:

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

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

  • Get the data from the current quarter

    Hello

    I was wondering how I would go about getting data from a table that is in the current fiscal quarter?

    It's the simple query to get all the data:

    $q_calls_sql = "SELECT * FROM renewal_contact WHERE userid ='". "." ' $user_id. "'";

    $q_calls_query = $con-> query ($q_calls_sql);

    $q_calls_numrow = $q_calls_query-> num_rows;

    Here's what I currently show the quarterly data, but only shows do not all data:

    $q_calls_sql = "SELECT."

    OF renewal_contact

    WHERE the timestamp > = GETDATE(), DATEADD (qq, 1, getdate ()) & & timestamp < GETDATE(), DATEADD (qq, 2, getdate ()) ';

    $q_calls_query = $con-> query ($q_calls_sql);

    $q_calls_numrow = $q_calls_query-> num_rows;

    All I have to do is show the num_rows of the above query.

    MySQL QUARTER() function deals with calendar quarters rather than the fiscal quarters. In the United States, first by the federal Government's fiscal quarter begins October 1, dealing with MySQL as in the fourth quarter. The first fiscal quarter in California begins on 1 July, that MySQL considers (rightly) as of the third quarter.

    A way to get the quarter is to use a custom like this function:

    function getFiscalQuarter() {
      $month = date('n');
      $year = date('Y');
      switch ($month) {
          case 1:
          case 2:
          case 3:
              return ["$year-01-01", "$year-03-31"];
          case 4:
          case 5:
          case 6:
              return ["$year-04-01", "$year-06-30"];
          case 7:
          case 8:
          case 9:
              return ["$year-07-01", "$year-09-30"];
          default:
              return ["$year-10-01", "$year-12-31"];
      }
    }
    
    $quarter = getFiscalQuarter();
    
    $sql = 'SELECT * FROM renewal_contact
            WHERE `timestamp` BETWEEN "' . $quarter[0] . '" AND "' . $quarter[1] . '"';
    
  • Sidebar calendar shows only orange... not the data either

    My calendar loads in the bar but shows only an orange page.  There is nothing else... no data at all. I tried the tools without result; It only allows me to remove the calendar.

    If it's just the calendar gadget that gives you trouble, you should be able to simply re - record a single. DLL to rectify a calendar gadget that looks like this,


    First remove the existing calendar gadget, and then click Start or press on the key and type cmd but don't hit. Search for CMD in the list above and right-click and select run as administrator. Confirm the warning of the DSU and provide credentials if requested.

    The open command window, type.

    Regsvr32.exe vbscript.dll
    ... and click on . You will receive a popup confirmation as follows,

    Restart the computer and add the calendar on the desktop gadget. It should now work as follows,

    If the gadget still does not work, you can try a much more aggressive approach to my solution on this page.
  • How to create an automatic text field - has a date of three years from the current date?

    I'm trying to create a PDF form that is automatically entered a three-year expiration date in the future of the current date in a created text field.

    Text field name: ExpDate

    Text field format: mm/dd/yy

    So far, I entered in the following in the Page Properties-> Actions-> Add Action (trigger = Open Page, Action = run a JavaScript script):

    var ExpDate = new Date();

    ExpDate.setYear (ExpDate.getYear () + 3);

    var f = this.getField ("ExpDate");

    f.Value = util.printd ("mm/dd/yy", ExpDate);

    We will attend the correct expiration date the day where I do the certificate (i.e. There will be 07/06/16, June 7, 2016), but when I open it the next day will be always ready 07/06/16 instead of 06/08/16. I'm sure it is something simple that I need to change. Any ideas?

    If she says ' 07/06/16"on 7 June 2016, which means that it does not work properly, either, as it does not add 3 years to the date of the day... It should show ' 07/06/19.

    You see error messages in the console (Ctrl + J) JS when you open the file?

  • How to get the old data 6 months from the current date?

    Hi friends,

    I have a table which includes historical data, which are having more than 1 years old data. The historical table gets updated once a week. My requirement is that I should get the latest data from the week of each month for 6 months according to the current data. I use oracle 10g.

    Can you please someone help in this.

    Thanks in advance

    SELECT last_day (ADD_MONTHS (TRUNC (SYSDATE, 'mm'),-LEVEL))-7 start_dt.
    LAST_DAY (ADD_MONTHS (TRUNC (SYSDATE, 'mm'),-LEVEL)) end_dt
    OF THE DOUBLE
    CONNECT BY LEVEL<=>

    change as a result, I have provided you the start and end dates for your logic...

  • make a text box show only after a branch of the page

    Hello

    I have a form on apex 3.0 page. This form has a 2 textarea element and configuration of width for 110 and the maximum width is 500. After a user to enter data on all points, when he clicks on support I branch to another page that has been copied from the page of the form, but this time I want to make the textarea elements and other elements appearing on this page read-only, I have no success with making the textarea a readonly. I changed the readonly condition point to say always, it worked bu it shows the data on a long line it does'nt keep the same width as the text box has.

    I hope that I can get an answer soon. Thank you.

    Kind regards
    Sofia.

    In the attributes of your text box HTML form elements put disabled = "yes" or readonly = "readonly".

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Cannot drag the files from the current folder to bin

    I have the trial version; 8.1 - Mac OS x 10.9.5

    I'm on the second video of the tutorial. I can't all files - jpg or mp4 - drag to the folder of images or images.

    This is very simple and minimum prevents me from going forward in the tutorial - disappointing.

    Thank you all for help.

    Mystery solved, at least in part. On line dotted pointing to the folder, the magnifying glass icon indicates that it is a 'research bin'. This type of location has been added in version 20141 (October 2014). Search locations show only the project items corresponding to your search criteria - things like a string of letters in the name, the type of assets or metadata as cadence. Since these special bins are filled in by the program based on the search criteria, so you can manually add anything whatsoever to such a location. To learn more about the search locations, please visit this page for help: Help for Adobe Premiere Pro | Find assets

    The remaining part of the mystery is where these ferries two search has come. But for your immediate needs than theoretical. It seems that what you need right now is a new tray of Stills, that you can create by clicking on the button new bin in the lower right corner of the project Panel.

  • E-mail of transition from the current president to the new president

    Two questions: first, what is the most effective way to send many emails in the box email of the current president to the new president? Secondly, in addition to adding an auto response message to send e-mail messages to the new President, what is the best way to ask that all future emails will be sent to the new president?

    Hey Steve, just as an FYI
    Outlook has that ability (configuration just a rule of automatic transfer)... but... Using Exchange if there are better ways to do it on the server. You can configure for automatic transfer to a different e-mail address (either by leaving a copy in the box the letters original or not) and easiest for the new exec see the old emails is to give the new rights exec on the box to the letters and simply add the additional data file to the new account execs.

    See you soon,.
    Cameron

  • Delete only a few files from the recent open those

    I would like to delete some files in the recently opened files only leaving the most used in the list, that is, I don't want to delete all the files in the list, the only option I have in the menu. I managed to do that but can't remember how I did. I use PS CC 2015.1.2.

    Do not delete the files; Move them to another location. Then, click on the files in the list of recent files. Photoshop will not find files and removes them from the list.

    You can then return the files to their original location.

    There is no other way to selectively remove the files in the list.

  • Shade of color shows ONLY shades of gray on the gradient layer...?

    My color chart seems to be defaulting to only shades of gray on a gradient layer, and I can just find a way to let him replace the color I chose.  After that I created a new layer of gradient fill, when I have the layer selected in the layer list on the right side of the screen, color samples show ONLY gray.  If I click on the sample, it brings up the color selector, but no matter what color I select, the swatch shows shades of gray.  If I select the background layer, it goes back to show my color.

    There's probably a simple explanation to this problem, but I was searching Google for literally hours without finding an answer.  I found some similar questions have the response "go to Image, Mode, and make sure that RGB is selected."  Mine is already set to RGB, so it's not the question.

    How can I change the colors in a gradient fill layer, and why my color chart displays grayscale only when I selected gradient fill layer, even if by clicking on the color chart reveals the color picker?

    To change/edit the gradient colors, double click on the thumbnail of the gradient in the layers panel fill

    Then in the gradient fill box, click just to the right of the gradient word to change the colors

    In the gradient editor, click one of the stages of the color at the bottom of the gradient bar and click color to change the color of this judgment

    There is much more to the gradient to the room Editor to explain on the forum, so you can view the following for more information

    Photoshop elements help | Gradients

    Using Photoshop | Gradients

    The reason for which continues to show your color in levels of gray, is the layer mask is still active with adjustment layers in photoshop elements and layer masks are grayscale

    Photoshop elements help | Layer masks

  • LOV from the current value selected

    Hello.

    I created a combobox with a list of values.

    the problem is:
    When a value has been chosen from the LOV, it should be the starting value if the LOV is never reopened.

    don't know if that was a good description of the problem, then I will give you a small example.

    display 3 lines with a scroll bar. The LOV with 1,2,3,4,5,6,7,8,9 will show the first time, that it is growing when no value has been selected 1,2,3. So let's say 6 is chosen as the value of the LOV, then developed the LOV even once, it should show 6,7,8 and not 1,2,3.

    Surely, this must be a common use case, but I can't seem to find the right way to do it?

    TIA

    The component has a value property. Set the value property to the index that you want to be selected and it shoulw see the place you want.

    Timo

  • HP Officejet Pro 6830: NEW HP PRINTER only IS NOT supported with the current El captain on Apple Mac software

    Hi have just purchsed the HP officejet Pro 6830 and the course of development in place, is that the current operating system (Mac El Captain) does not support this printer. FRUSTRATING! Suggestions that I can download other software that will support the printer or do I have to return it and get another printer?

    Hello!

    Try the printer driver called HP v3.1 for Apple's OS X printer drivers.

    You can download it here: https://support.apple.com/kb/DL907?locale=en_US

    Let me know if this helped.

Maybe you are looking for