Get all the back schedule start date except last and current month

Hi All;
Below gives me last month  schedule start
scheduledstart >= DATEADD(mm,DATEDIFF(mm,0,GETDATE())-1,0)
AND scheduledstart < DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)
Below gives me current month  schedule start
scheduledstart >= DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()), 0)
AND scheduledstart < DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE())+1, 0)
I need to find all the schedule start excluding current month and last month
Any help on this much appreciated
Thanks
Pradnya07

Hi,
You could use NOT BETWEEN with the start date of last month and the end date of the current month:
AND schedulestart NOT BETWEEN DATEADD(mm,DATEDIFF(mm,0,GETDATE())-1,0)
AND DATEADD(MONTH, DATEDIFF(MONTH,
0, GETDATE())+1,
0)
Hope this helps,

Similar Messages

  • Helloo,i buy a new pc and i want to syncronize my i phone and to get all  the things of i phone photos, musik and telephone numbers, to pc.how i can do it?

    helloo,i buy a new pc and i want to syncronize my i phone and to get all  the things of i phone photos, musik and telephone numbers, to pc.how i can do it?

    https://discussions.apple.com/docs/DOC-3141

  • HT201317 i have enabled photostream on my imac but only a small selection of old photos from my iphone have streamed through.  How do i get all the existing photos from both my iphone and ipad onto my iMac?

    I have enabled photostream on my imac but only a small selection of old photos from my iphone have streamed through.  How do i get all the existing photos from both my iphone and ipad onto my iMac?

    This usually happens because iCloud only keeps photo stream photos for 30 days (even though your last 1000 photos will remain on your phone until deleted).  When you enabled photo stream on your Mac you only received photo stream photos from the last 30 days.
    To get older photos to your Mac, create a shared photo stream containing them and invite yourself as a subscriber (see http://help.apple.com/icloud/#mmc0cd7e99).  The be sure you check Shared Photo Streams in iPhoto>Preferences>Photo Stream.  You can then import them to your iPhoto library by opening the shared photo stream album in iPhoto, then going to Edit>Select All, Control-clicking on any of the selected photos and selecting Import.

  • Getting all the CRM on Demand Data in Oracle 10g database

    Hello Everyone,
    The requirement is to get all the module data into Oracle 10g database.
    Currently i am using the background worker in .NET to span through all the modules, but recently experiencing performance issues due to data volume.
    I want to use .NET as the programming language.
    Kindly suggest any other methids / techniques.
    Thanks in advance.
    Regards.

    Thanks for your reply.
    We are using CRMOD webservices.
    We want the full OD data to be refreshed overnight and we havve used .NET to build the EXE, the same we have configured as a task.
    Could you please shed some more light as to what would be the best practices to do this.
    Regards.

  • I just bought a new ipod and I'm trying to download my itunes library and games but itunes is not recognizing my new ipod. I have followed all the instructions from apple asistant except deleting and reinstalling itunes.  What can I do.

    I bought a  new Ipod (5th generation).  I am trying to sync it to my itunes.  I tunes does not recognize my new ipod. It is registered.  I was only able to download purchases I made from my old ipod.  I cannot download my itunes library or any of the games I have purchased. I tried using the troubleshooting guide to no avail.  The only thing I did not do was to uninstall and reinstall itunes.  I did update it to the latest version. How can I get  itunes to recognize my new ipod?

    - You do have iTunes version 11 on the computer, right. Saying the latest is not sufficient.
    - Have you tried everthing here:
    iOS: Device not recognized in iTunes for Windows
    - You should
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Your library/media will not be affected.
    - Does the iPod charge?

  • PP DataSource 2LIS_04_P_ARBPL - Incorrect extraction of latest scheduled start dates (SSAVD)

    Hi experts,
    we use the SAP Business Content Standard DataSource 2LIS_04_P_ARBPL "Work Center View PP" and need the latest scheduled start date each production order operation.
    In the production order operation overview (t/code CO03) on the ERP-side we have the expected latest scheduled start (Source AFVGD-SSAVD)
    But in the DataSource 2LIS_04_P_ARBPL (PSA-Table) we become the incorrect latest scheduled start dates (DataSource field SSAVD)
    Any ideas or experiences why the latest scheduled start date not up-to-date?
    Many thanks and best regards,
    Michael

    Hi,
    I have tested the scenario again...
    At the header level of test production order 1000381 I have changed the basic dates (Start/End) from 22.04.2014 to 24.04.2014.
    As a result the start dates at operation level also changed...
    After the above changes I have extracted the Data. The Delta-Queue (RSA7) for the relevant DataSource 2LIS_04_P_ARBPL looks nearly good.
    For the both operations 20 and 30 the delta update for the field "Latest start date" (SSAV) works correct. But the delta update for the first operation "10" not processed.
    Is it possible that the delta update only works for specific system status? Or any other ideas?
    Many thanks and best regards,
    Michael

  • Program to get all the query elements with UIDs with EN texts of a BW query

    Hi All,
    Need a program to get all the query elements with UIDs with EN and Other language texts, of a BW query.
    We are doing a global implementation.
    We are implementing Translations in French.
    We need to see, the list of all UID's of a query, their EN texts and the FR texts.
    Tried a bit, we are having the problem in getting the UIDs of the structure elements.
    Thanks in advance,
    Best Regards,
    - Shashi

    Hi ,
    Below is the list of important tables related to query.
    RSZELTDIR Directory of the reporting component elements
    RSZELTTXT Texts of reporting component elements
    RSZELTXREF Directory of query element references
    RSRREPDIR Directory of all reports (Query GENUNIID)
    RSZCOMPDIR Directory of reporting components
    RSZRANGE Selection specification for an element
    RSZSELECT Selection properties of an element
    RSZELTDIR Directory of the reporting component elements
    RSZCOMPIC Assignment reuseable component <-> InfoCube
    RSZELTPRIO Priorities with element collisions
    RSZELTPROP Element properties (settings)
    RSZELTATTR Attribute selection per dimension element
    RSZCALC Definition of a formula element
    RSZCEL Query Designer: Directory of Cells
    RSZGLOBV Global Variables in Reporting
    RSZCHANGES Change history of reporting components
    Hope this will help you...
    Thanks,
    Jitendra

  • Query to get the data of all the columns in a table except any one column

    Can anyone please tell how to write a query to get the data of all the columns in a table except one particular column..
    For Example:
    Let us consider the EMP table.,
    From this table except the column comm all the remaining columns of the table should be listed
    For this we can write a query like this..
    Select empno, ename, job, mgr, sal, hiredate, deptno from emp;
    Just to avoid only one column, I mentioned all the remaining ( 7 ) columns of the table in the query..
    As the EMP table consists only 8 columns, it doesn't seem much difficult to mention all the columns in the query,
    but if a table have 100 columns in the table, then do we have to mention all the columns in the query..?
    Is there any other way of writing the query to get the required result..?
    Thanks..

    Your best best it to just list all the columns. Any other method will just cause more headaches and complicated code.
    If you really need to list all the columns for a table because you don't want to type them, just use something like...
    SQL> ed
    Wrote file afiedt.buf
      1  select trim(',' from sys_connect_by_path(column_name,',')) as columns
      2  from (select column_name, row_number() over (order by column_id) as column_id
      3        from user_tab_cols
      4        where column_name not in ('COMM')
      5        and   table_name = 'EMP'
      6       )
      7  where connect_by_isleaf = 1
      8  connect by column_id = prior column_id + 1
      9* start with column_id = 1
    SQL> /
    COLUMNS
    EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO
    SQL>

  • Hi I  newly started using Iphone 6, I am not getting all the applications list under Use Cellular date for to restrict my unwanted apps on cellular data

    Hi I  newly started using Iphone 6, I am not getting all the applications list under Use Cellular date for to restrict my unwanted apps on cellular data
    Please help me out

    Hi Rajesh778484,
    Welcome to the Apple Support Communities!
    I understand that some of your applications are not appearing under Settings > Cellular on your iPhone so that you can restrict or allow use of cellular data. If you have some installed applications on your iPhone that are not showing here, the first troubleshooting step I would suggest would be to reset your iPhone. Please refer to the attached article for information on how to perform a reset. 
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    Best regards,
    Joe

  • 2006 iMac running 10.4 OS. I copied files to ext. drive. Put in 10.6 disc and did a clean install (format) of 10.6. Copied data from ext. drive back to Mac. I didn't get all the files. CAN I REVERT BACK TO THE 10.4 OS SO I CAN COPY MY DATA PROPERLY?

    2006 iMac running 10.4 OS. I copied files to ext. drive. Put in 10.6 disc and did a clean install (format) of 10.6. Copied data from ext. drive back to Mac. I didn't get all the files. CAN I REVERT BACK TO THE 10.4 OS SO I CAN COPY MY DATA PROPERLY?

    How did you copy files to the external drive, and what files did you copy? Did you drag and drop in the Finder? Use a clone utility? What files did not successfully copy?
    If you reformatted the drive as part of your install, then you won't be able to recover any files from the drive. Reverting back to (reinstalling) 10.4 will not help you.
    Do you have a complete-drive backup of your old system?
    Matt

  • HT201210 I am unable to update my IPhone 4 to the IOS 6.  I managed to back up and transfer  and then when it asked to update I said yes and the sync process starte, left it overnight and it came up with an error if continue you will loose all your data. 

    I am unable to update my IPhone 4 to the IOS 6.  I managed to back up and transfer  and then when it asked to update I said yes and the sync process started, left it overnight and it came up with an error if continue you will loose all your data.  So stopped! Help!

    Are you currently on ios 4?  If so that's where the backup comes in.  You'll need to restore your backup once the software is updated.

  • Return the scheduled start date from one task to a custom field for all tasks

    Hi all
    I am trying populate an entire custom task date field with the scheduled start date of one of the tasks. I thought the easiest way would be to:
    1) identify the date I need with a custom task flag field set to 'yes'
    2) create a formula to look for the 'yes' flag in that field and populate the custom task date field with it.
    This worked only for the task where the flag was set to yes (task #36) and the rest of the 49 tasks returned an error message. I'm unsure of how to set this up so that the date with the 'yes' flag populates in this column on
    all 50 tasks.
    This would also need to scale for situations where there were more or less than 50 tasks.
    Thanks in advance...
    Using MSP 2010 Pro   

    ShelleyBrodie,
    That's because the syntax of your formula isn't quite what you intend. The correct syntax is:
    IIf( expression, truepart, falsepart )
    For your case that converts to:
    IIf([Flag1],[Scheduled Start],{not sure what you want for the false part but I assume is is not Scheduled Start})
    Note, the "Yes" for Flag1 is implied, so the first part (i.e. Scheduled Start) is the truepart, but you don't give a value for the falsepart (i.e in both cases your formula is looking for Flag1 to be "yes". Let's say you want the Date1
    field to have the Scheduled Start date if Flag1 is "yes" and to have today's date if Flag1 is "no". Then the formula will be:
    IIf([Flag1],[Scheduled Start],[Current Date])
    However, As I indicated in my previous response, you won't be able to do what you described in your initial post by using a formula. Are you now trying to do something different?
    John

  • I restored my phone but it restored to the only back up i had which was 2 months ago. Now none of the settings i have are up to date on what i had. How do i get all the text messages from that backup up to today?

    I tried to update my phone, but it died so i had to restore it. The only back up i had was from 2 months ago. How do i get all the settings back from that huge gap of me not syncing it?

    Please read before going through with this procedure.
    If you really want your contact back and you did not do another iCloud backap since you deleted some of your contacts, you can do a hard reboot on both devices with iClouded contacts by holding down the home and lock buttons on each of them for 10 seconds ignoring the slide to turn off thing. Make sure you have iCloud contact services off before doing so. You can then go through the whole set up process until you get up to the backup part. You then press to restore from an iCloud backup (make sure you choose the right backup for the right phone). If you didn't make an iCloud backup before the contact incident, you will have to use your two-month-old iTunes backups. Each phone should have their contacts the way they were from your last backup. You then go into Settings>iCloud>and turn off contacts. You then can choose if you want to keep your current contacts or not. Turn this off on both phones just incase you add another iCloud device to the mix later on. Now your contact lists are no longer linked (Caution: side effect may include lack of edit button). You may now add and delete contacts as you please without it happening on your other phone.
    Thank you for choosing Apple.

  • How to get all the data stored on a table?

    Hi.
    I'm tryng to get all the data stored on a database table but I'm losing in trouble. I've looked for a soloution to my problem in the forums but each post I follow related to this issue gives me a different way to solve the problem and no one works :(
    I suppose I have to call the getAllRowsInRange() method from my ViewObject class. But how can I get an instance of my ApplicationModule in order to get the corresponding ViewObject?
    I think I messed my head a lot.
    Could someone help me please?
    Thanks in advance.

    Thanks for your answer.
    However, there are some things that I don't understand. I will look the book but why is necessary to create another ApplicationModule? The fact is that my application just have one ApplicationModule.
    Apart from that, I have tried your suggestion and I've obtained the quite little friendly response that follows:
    javax.faces.FacesException: #{backing_pruebaFilas.commandButton1_action}: javax.faces.el.EvaluationException: oracle.jbo.ConfigException: JBO-33001: No se ha encontrado el archivo de configuración /DatosViewObj/common/bc4j.xcfg en classpath
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
         at javax.faces.component.UICommand.broadcast(UICommand.java:332)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.faces.el.EvaluationException: oracle.jbo.ConfigException: JBO-33001: No se ha encontrado el archivo de configuración /DatosViewObj/common/bc4j.xcfg en classpath
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
         ... 24 more
    Caused by: oracle.jbo.ConfigException: JBO-33001: No se ha encontrado el archivo de configuración /DatosViewObj/common/bc4j.xcfg en classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:367)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:284)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:539)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1498)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1476)
         at view.backing.PruebaFilas.commandButton1_action(PruebaFilas.java:100)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         ... 25 more
    At that point, I think a better explanation of my purpose could be helpful. What I'm trying to do is just create a simple page with a command button, and in its action method get all the data stored in the rows of the table. I've seen a possible solution that I understand:
    DCIteratorBinding iter = getIterator("DatosViewObj1Iterator");
    System.out.println("Iterator Binding: "+iter);
    int startRange = iter.getRangeSize();
    iter.setRangeSize(-1);
    Row[] rows = iter.getAllRowsInRange();
    iter.setRangeSize(startRange);
    but the problem is that I don't know what is the class the method getIterator belongs to.
    Could you help me with this last piece of code? If not, I accept, of course, any suggestion. I am absolutely stuck.
    Thanks and regards.

  • HT1766 hi i just got a brand new iphone 5s i tryed to set it up but it doesnt work. when i plug it in with itunes it does all the back up and restore and when its finished i still cant use the phone as i still ask me to start the set up from the beginning

    hi i just got a brand new iphone 5s i connected to itunes to restore all my data from the previous phone. when all the back up is finished i still cant use the phone as it ask me to restart again....  dont know what to do i tryed to restore 3/4 times but again when the restore is completed i still can't use the phone????

    Replacements via Apple tech support are usually refurbished units, not new stock, though none of us here can say with certainty what you will receive. But you will not be able to tell the difference between new stock and a refurbished unit, and refurbished units generally go through more extensive testing than do new units, so getting a refurb may well be better than getting new stock.
    Regards.

Maybe you are looking for