Group by using partition getting error

select
code,
code_value_text
ext_contact_organization,
regulatory_group_name,
sum(spd.case_id) over (partition by code,code_value_text,regulatory_group_name)
from AERSP.code_list_dtls cdl,
AERSP.ec_contact_log cntct,
AERSP.de_suspect_drugs spd
where cntct.ext_contact_organization=cdl.code
and code_list_name= 'SP_ORGANIZATION'
and spd.case_id=cntct.case_id
I used above SQL to group based on the columns I wanted but when I run that SQL getting error INVALID NUMBER,
Why Im getting error, Please help.
Thanks in advance
Murthy

select
code,
code_value_text
ext_contact_organization,
regulatory_group_name,
sum(spd.case_id) over (partition by
code,code_value_text,regulatory_group_name)
rom AERSP.code_list_dtls cdl,
AERSP.ec_contact_log cntct,
AERSP.de_suspect_drugs spd
where cntct.ext_contact_organization=cdl.code
code_list_name= 'SP_ORGANIZATION'
and spd.case_id=cntct.case_id
I used above SQL to group based on the columns I
wanted but when I run that SQL getting error INVALID
NUMBER,
Why Im getting error, Please help.
Thanks in advance
MurthyIt's difficult to say 100%, because we know nothing about your data.
But i can suppose, that problem is in sum(spd.case_id).
Probably you have any not-numeric data in the column case_id
Regards
Dmytro

Similar Messages

  • Material Master Upload using Bapi getting error "****** not a valid unit of

    Hi Gurus,
    i am uploading material master using BAPI Material_master_save_data , where the volume and Unit of Volume is Blank, Still i am getting error as "****** not a valid unit of volume ".kindly help me to resolve the issue.Many Thanks In advance.

    Jurgen,
    I could able to solve the issue for invalid unit Error ....Now i am getting **** unit of measure is not defined , pls check your entry or else i am getting alternate unit of mesure is same as base unit of measure .
    I have used below logic for Purchase Order Unit and Base Unit of measure .
          if wa_upload-unmsr EQ wa_upload-ord_uom .
            bapi_mara1-base_uom = wa_upload-unmsr.
            bapi_mara1-po_unit = wa_upload-ord_uom .
          elseif wa_upload-unmsr NE wa_upload-ord_uom.
            wa_upload-ord_uom = wa_upload-alt_uom.
            bapi_mara1-po_unit = wa_upload-ord_uom.
          endif.
    Many Thanks for your help.

  • Trying to register 10.2.0.3 db in Rec Catalog using OEM, getting errors

    Hi all,
    I didn't know whether to post this here in the RMAN forum or in the OEM Grid Control forum, but the issue is more related to RMAN, so I'll post it here, and hope someone can help me out!
    I have a new 10.2.0.3 database that I am getting configured to manage using OEM Grid Control. Through the OEM interface, I am trying to register this database with my recovery catalog - the recovery catalog is version 10.02.00.02. When I try to register this new db with the recovery catalog, I am getting this lengthy collection of errors:
    Recovery Manager: Release 10.2.0.3.0 - Production on Wed Jan 30 14:58:36 2008 Copyright (c) 1982, 2005, Oracle. All rights reserved. RMAN> connected to target database: INSIGHT (DBID=4016731035) RMAN> connected to recovery catalog database PL/SQL package RMAN.DBMS_RCVCAT version 10.02.00.02 in RCVCAT database is not current PL/SQL package RMAN.DBMS_RCVMAN version 10.02.00.02 in RCVCAT database is not current RMAN> echo set on RMAN> register database; RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of register command at 01/30/2008 14:58:40 RMAN-06004: ORACLE error from recovery catalog database: ORA-06550: line 1, column 2453: PLS-00302: component 'RESTORECMD_T' must be declared ORA-06550: line 1, column 2424: PL/SQL: Statement ignored RMAN> exit; Recovery Manager complete.
    It sounds like it has something to do with the fact that my recovery catalog database is not at a current version?? In the OEM tool, I went to the page that lists the Recovery Catalog, and tried hitting the Update button, and it succeeded, but the Recovery Catalog version did not change, it is still at 10.02.00.02.
    Can anyone give me some assistance on this one?
    Thanks!
    --Brad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    please check with
    select comp_name,status,version from dba_registry;
    COMP_NAME
    STATUS VERSION
    Oracle Database Catalog Views
    VALID 10.2.0.3.0
    Oracle Database Packages and Types
    UPGRADED 10.2.0.3.0
    The UPGRADED status is not good. Run utlrp.sql again and then again as rman user the "upgrade catalog". Now it should work fine.
    Bye
    Matthias

  • Cannot update my phone using zune getting error 80...

    Hi, have bin having problems with zune ever since i installed it.all i wont to do is update my phone  but everytime i connect my phone to zune it syncs ok but then says that my phone did not connect to the internet to get updates and if i click on updates on zune it comes up with "zune needs to be installed again..Error 80040154" have reinstalled zune at least 10 times now and have tried the Microsoft fix it to uninstall zune and reinstalled it with that BUT IT STILL DONT WORK am pulling my hair out with this as i only want to update my phone so i can get more battery life out of it........dont want zune and will never use its features so why do i have to use these bloody program when there are so many problems with it?...........BIG  thanks to anyone who can help me with this problem

    @sherpa1967
    To successfully install the Zune software, you need full administrative privileges.
    Right click on the Zune program and go to properties and then to compatibility at the bottom where there should be a check box "Run as Administrator", check it. Then click OK and you should be able to run the program.
    Happy to have helped forum with a Support Ratio = 42.5

  • Using yepnope, getting error in event handler.

    Recently discover yepnope and started to implement it into my project to keep common functions in one file. The first set of functions worked fine when I moved them over, but with the last one I'm unable to control a symbol.  It's calling the function fine, it's just wont play the symbol timeline.
    -------Here's the function in the external file
    //Function for audio button
    // Tests the paused attribute and set state.
    voButton = function (){
        if ($('#voiceOver')[0].paused) {
            console.log("play");
            $('#voiceOver')[0].play();
            sym.getComposition().getStage().getSymbol("btnSound").stop(1000);
        else {
            console.log("pause");
            $('#voiceOver')[0].pause();
            sym.getComposition().getStage().getSymbol("btnSound").stop(0);
    -------Here's the call to the function
    Symbol.bindElementAction(compId, symbolName, "${_btnSound}", "click", function(sym, e) {
             voButton();
    //Edge binding end
    Calling the function plays the audio but doesn't change the symbol. Getting the error message:
    functions.js (line 39)
    Javascript error in event handler! Event Type = element
    I've tried different combinations of getComposition() or getSymbol(), nothing.  I read a post somewhere that said I needed to prefix my function creation with sym. and call it the same way.  This didn't work either and caused the function to stop working, but with a new error: sym is not defined in the external file.
    Like I said the function works when I call it, but I can't access the symbol's timeline for some reason.

    I'm trying to include a custom js file to an Edge project, and I'm getting the same "sym is not defined" error. have you found a workaround for this problem?
    can't we just use "sym" or methods like "getSymbol()" in the js loaded by yepnope?
    I can't find any sources about this.
    And I can't find an easy way to substitute "sym"...
    Thanks in advance

  • Copied iTunes to ext. HD-now want NEW bootable HD to use, but get error msg

    OK, I first used HT1449-"iTunes for Mac-Moving your iTunes Media folder". That worked and iTunes is now also on an external drive, which eventually I plan to make the _permanent location for iTunes_. Apple Help via phone told me to name the new folder "ITunes" on the external drive, which I did.
    So now, after doing the above, I have installed a non-migrated new main internal HD with all my apps and OSX 10.6.4, etc. on this new boot drive.
    The new boot drive works fine and as expected, EXCEPT, that when holding down the option key and launching iTunes, then "Choose Library" in the window where it says "iTunes needs a library to continue. You may choose an existing iTune library or create a new one." I pick "Choose Library". I highlight the new external drive name and then highlight the created folder (from steps 6+7 in HT 1449), named "iTunes", I get this error message:
    "An iTunes library file could not be found in the folder "iTunes. Please choose a different file."
    There are about 4 or 5 sub-folders under that newly created folder "iTunes", but only about 2 are accessible to select. One of them has all the albums from my music collection (117GB) and from memory I think another sub-folder has about 4GB in it.
    Maybe I should be selecting one of those, but fear I might really mess things up even more if I pick an incorrect folder at this level.
    Any Genius, kindly help......What am I doing wrong here????

    megrove wrote:
    will doing as you suggest, also duplicate the music content on the copy over. I ask this since my music content is 117GB?
    since you consolidated your library to your external HD, all your media files will be on that. consequently, looking @ the screenshot above, the iTunes music folder inside the iTunes folder on the old internal HD should be empty - unless you didn't clear it out after the consolidation.
    best take a look before you start. if there are any media files inside, trash them. then copy the entire iTunes folder over to <MacintoshHD>/users/<yourname>/music on the new internal HD.
    there will be an iTunes folder in place, so OS X will tell you "a folder called iTunes exists in that location" and will ask you if you "want to replace it with the one you're moving". click yes (or okay).
    make sure your external HD is connected and mounted on your desktop, then launch iTunes. you should be taken to the exact same library you're used to.
    JGG

  • Using Forms_DDL getting error ORA-24374-Any Ideas?

    Hi all,
    I am getting the following error
    ORA-24374: define not done before fetch or execute and fetch
    I am using the forms_ddl built-in and believe that it has something to do with this. I have looked up the error and there is no docs on it. If anyone has information about this error or a possible route I can go about it would be greatly appricitated.
    Thanks
    Sean
    null

    ORA-24374 define not done before fetch or execute and fetch
    Cause: The application did not define output variables for data being fetched before issuing a fetch call or invoking a fetch by specifying a non-zero row count in an execute call.
    Action: Issue OCI define calls for the columns to be fetched.
    null

  • Using CFFTP, getting Error 553

    I want a user to be able to browse to a file on their local machine then FTP it to a remote server.I've been using CFFTP. I can make the connection to the server just fine. I have the path correct. I keep getting an Error 553, can't create the file. My web administrator says that he has the permissions set correctly. I don't know what else to do. I've been trying to make this work for over a month. Can someone give me a hand with this? I've tried 3 times to attach the cfm file which is 2k, but it says "content type of this attachement is not allowed." I'm pasting the code below. thanks.
    <fieldset><legend>Upload a form to the server</legend>   
    <!--- Create HTML form to upload a file --->
    <cfform action="test_cfftp.cfm" enctype="multipart/form-data"method="post">
    <!--- File field for user to select or specify a filename --->
    <label for="fileName"><a href="" onmouseover="Tip('Search for the file to upload. i.e. EFO00001_mm-dd-yyyy.pdf')", onmouseout="UnTip()">File to upload</a></label>
    <cfinput type="file" name="fileName" ><br>
    <!--- Submit button to submit the form (and upload the file) --->
    <cfinput type="submit" name="upload" class="mysubmit" value="Upload the File">
    </cfform></fieldset>
    <!--- Get the file name of this file. --->
    <cfset strFilePath = "/taxweb/pubs" />
    <!--- Set up the FTP configuration. --->
    <cfset objFTPProperties = {
        Server = "xxxxxxxx",
        Port = "xx",
        Username = "xxxxxx",
        Password = "xxxxxxx"   
        } />
    <!---upload the file--->
    <cfftp
        action="open"
        connection="objConnection"
        attributeCollection="#objFTPProperties#"
        />
       <cfset strFilePath = "/taxweb/pubs">
        <cfoutput>at line 48 fileName = #fileName#  and strFilePath = #strFilePath#</cfoutput><br />
      <cfoutput>at line 49 strFilePath/fileName = #strFilePath##fileName#    form.fileName = #form.fileName#</cfoutput><br />
    <cfftp
        action="putfile"
        connection="objConnection"
        localfile="#form.fileName#"
        remotefile="/pubs/#fileName#"
        transfermode="auto"
        timeout="300"
        />
    <CFDUMP VAR=#cfftp#>
    <!--- Close the connection. --->
    <cfftp
        action="close"
        connection="objConnection"
        />

    CFFTP is for FTPing files from the ColdFusion server to/from an FTP server.  It's got nothing to do with client operations.
    You need to upload the file to the CF server first (via a form and a <cffile action="uplaod">), then FTP it from the CF server to the FTP server.
    Adam

  • Trying to send an email to a group contact(Newspapers) and get error message telling me they are not properly framed?

    The address "<"Bay Times" [email protected]>" in the "To" field was not recognized. Please make sure that all addresses are properly formed

    Don't know if this will work for AOL, but here's how I solved the problem last night: I stopped using the 2nd SMTP info, and only used the first one (alphabetically). It would appear to this layman that the iPhone doesn't like logging into an SMTP server with two sets of credentials. So, when you try to do it with the second account, it just chokes.
    Here's step-by-step as to how I did it:
    1 - Settings
    2 - Mail, Contacts, Calendars
    3 - Under Accounts, select the second account that uses the same SMTP server
    4 - Outgoing Mail Server > SMTP
    5 - Change Primary Server to Off (assuming this is the SMTP with this account's login credentials)
    6 - Under Other SMTP Servers, change the duplicate SMTP server to ON
    I had no problems after this and was immediately able to send an email from that account.

  • Getting error Data record has grouping value "" in

    Trying to change Address data in HR using BAPI_ADDRESSEMPUS_CHANGE
    Getting error message : Data record has grouping value "" instead of ""
    Please advise.
    Thanks,
    Bhaskar

    Hi,
    I assume the following system situation exists:
    The new Infotypeframework NITF is inactive for PA30. Flag CCURE PC UI is activated in T77SO. You are using ESS based on Web Dynpro which uses the new Infotypeframework.
    Here we have to differentiate between infotypes which are participating in the data sharing functionality and all other infotypes. Such as:
    Infotypes without Data Sharing:
              - Infotype checks     => module pool
              - Infotype update     => SAPFP50P/SAPUP50R
    Infotypes with Data Sharing:
              - Infotype checks     => module pool
              - Infotype update     => NITF
    ATTENTION:
    BAdI HRPAD00INFTY is not processed in this case (importing parameter NEW_IMAGE is always space). Instead the BAdI HRPAD00INFTYDB of the NITF is been processed.
    The following notes (1 and 2) will solve the problem. Note 3) solves an involving problem caused during the deletion process of a personnel number.
    1) 783499 - Incorrect framework synchronization
    2) 845592 - Incorrect framework synchronization - Retroactive accounting
    3) 844998 - PU00: Termination when deleting a personnel number
    Hope this will help!
    Regards,
    Sibylle

  • Getting Error Messages in UNICODE environment...

    Hi,
    I am facing problem, while getting few error message when i tried to run query using OCCI in UNICODE environment.
    for eg.
    For error number ORA-32108
    i am getting error message as
    &#21071;&#11585;&#12851;&#12337;&#14904;&#27936;&#30817;&#25376;&#27759;&#28021;&#8302;&#29295;&#28704;&#29281;&#28001;&#29797;&#29285;&#29472;&#31337;&#8293;&#28526;&#8308;&#28787;&#25445;&#26217;&#25961;&#2660;:
    but in same environment for error number ORA-01017:
    i am getting error message as "invalid username/password; logon denied".
    Code i have used to get error message is as follows
    String type here used is unicoded string.
    String strErrorCode(ex.getErrorCode());
    String strErrorMsg(ex.getUStringMessage().c_str());
    Please let me know what i am doing wrong over here.
    or is it a known behavior?
    Thanks in Advance.

    you need to identify each cell in the formula.  this is because each has a different 'path'.  here is what you need:
    Sum(form1.#subform[0].Table1.Row2.TotalAllowable.form1.#subform[0].Table1.Row3.TotalAllowa bleform1.#subform[0].Table1.Row4.TotalAllowableform1.#subform[0].Table1.Row5.TotalAllowabl eform1.#subform[0].Table1.Row6.TotalAllowableform1.#subform[0].Table1.Row7.TotalAllowablef orm1.#subform[0].Table1.Row8.TotalAllowableform1.#subform[0].Table1.Row9TotalAllowableform 1.#subform[0].Table1.Row10.TotalAllowableform1.#subform[0].Table1.Row11TotalAllowableform1 .#subform[0].Table1.Row12TotalAllowableform1.#subform[0].Table1.Row13.TotalAllowableform1. #subform[0].Table1.Row14.TotalAllowableform1.#subform[0].Table1.Row15.TotalAllowable.form1 .#subform[0].Table1.Row16.TotalAllowable)
    I know it looks horrible, but notice that each one has a different row number.  That is why you keep getting the error message.  Also, rename your row 16[1] or note the last entry of your calculation script should be row16[0].
    have fun.
    rpeterson

  • I repeatedly get "error during rendering/encoding of menus/slideshow" message.  This process is the same on my iMac, MacBook and another iMac.  I have been burning dvd's int he same way for the past 12 months using the exact same steps successfully.

    I keep getting "error during rendering/encoding of menus/slideshows" message.  I have been burning DVD's in exactly the same way for the past 12 months and mostly on my MacBook which is 3 years old.  Obviously I'm using iDVD.  I purchased an iMac about a year ago and moved to use this for dvd burning without problem.  A few months ago (approximately) I started to experience problems with burning with the error message above.  I tried everything including starting the whole process from scratch right down to capturing the movie clips from my video recorder into iMovie, then using them in iDVD.  Still the same message came up.  I lost count of how many times I repeated the process with different clips and variations and the same thing happened.  This was also the case with my MacBook and my husband's iMac.
    After taking both of mymac's tothe service centre, having new optical thingys put it and even a new hard drive on my iMac along with a new DVD burner the same thing happened.  They told me it must be the process that I am using that is incorrect!
    I took my 27" iMac to an apple shop and asked them to assist me while I use the same technique as I always had.  The same message came up so they tried using my clips in one of their mac's.  The same message. They tried it with different clips and the same message.  The only way we could get theirs to work was with a magic DVD which did not produce what I needed and was limited with only one page. 
    I now cannot use any of my Mac's for the intended purpose that I bought them for - to produce good media for my work!  It was suggested that I purchase some non Mac software to burn DVDs which defeats the object of having a mac with iDVD in my opinion.  I have a book on iDVD which is very informative and have followed the process to the letter and checked all the trouble shooting and still no remedy.  It was mentioned that an up-date may have caused the problem on all my macs.
    I feel that this issue should be addressed by Apple as a matter of correctness.
    I now find that on the net there are many posts in forums and such like with exactly the same (almost word for word) problems.  Please Apple, keep/regain your good name and sort this out.
    Jayne Connelly

    Thanks Bengt W for your attention to this matter.  So much appreciated.  And thanks for putting me right on the aim of forums (new to this).  Although, you may regret asking for more information.  I've added everything I can below.
    The process I used is as follows:
    Import recorded clips of between 5 and 15minutes each from my video recorder into i
    Edit the clips (remove unwanted start and endng)
    Add title to front of clips
    ‘Share’ them to ‘movie’ (export using QuickTime)folder in .mov format individually
    Open iDVD and ‘create new project’
    Select ‘favourite’ theme that I have set up forall my work dvd’s (this has been used successfully many times and I’ve triedwithout using the favourite them).
    Add 2 submenus for each group of clips
    Select submenu  - drag and drop between 3 – 6 clips in each of the twosubmenus
    Change title colours on clips
    Dragand drop image into drop zones where required
    In‘map’ view I check for any yellow warnings before burning to disc
    In an attempt to remedy the problems I’ve tried the following:
    Try new DVD discs
    Try different themes (favourites and standardones)
    Change images in drop zones
    Start whole process again even from importingfrom camera again
    Two other completely different computers (iMacand MacBook) with iDVD
    Go to apple shop and use their computers to doin iDVD
    Try with one clip and no menu pages added
    Use a clip that I already have that did notoriginate from my camera
    Turn computer off and restart
    New hard drive
    New optical lense (thing)
    New DVD burner
    Saving to disc image rather than dvd disc
    Other points:
    I also have a ‘flip’ and ‘iPhone’ whereI’ve imported footage camera which, although limited, records and makes videoclips and burns them to DVD through iDVD without problem.
    For example, I have just gone through steps 5 - 11 using some clips that were already imported from my iphone to iPhoto and dragged across.  I used a theme that I've used before which has failed and added one sub menu page where the clip went.  It burned to disc image successfully.
    The startup disc, I believe will have no space issues asit’s a new hard drive with no use apart from this.  That could have been an issue before (I didn’t check it) butnot now.
    Other technical stuff that I don't understand but you may:
    I have…… Mac OS X Version 10.6.7 with all updates onit.  Processor 2.8 GHz Intel Corei7.  Memory 4GB 1067 MHz DDR3.
    iDVD version 7.1.1
    HardwareOverview:
      Model Name: iMac
      Model Identifier: iMac11,1
      Processor Name: Intel Core i7
      Processor Speed: 2.8 GHz
      Number Of Processors: 1
      Total Number Of Cores: 4
      L2 Cache (per core): 256 KB
      L3 Cache: 8 MB
      Memory: 4GB
      Processor Interconnect Speed: 4.8 GT/s
      Boot ROM Version: IM111.0034.B02
    SMC Version (system):            1.54f36
    OPTIARCDVD RW AD-5680H:
      Firmware Revision:     3AHB
      Interconnect:    ATAPI
      Burn Support:   Yes (AppleShipping Drive)
      Cache:    2048KB
      Reads DVD:    Yes
      CD-Write: -R, -RW
      DVD-Write:   -R, -R DL,-RW, +R, +R DL, +RW
      Write Strategies:  CD-TAO,CD-SAO, CD-Raw, DVD-DAO
      Media: Toshow the available burn speeds, insert a disc and choose View > Refresh
    If you can solve this you are better than the 'apple geeks' in the shop and the service technicians in the service centre (and of course me but that's no achievement). 
    Eagerly awaiting your reply.
    Jayne

  • How to use partition by instead of group by?

    Hi,
    I am having trouble using partition by clause in following case,
    column other_number with null values contains 10 records in 'some_table'
    5 records with date 11-01-2009, item_code = 1
    5 records with date 10-01-2009, item_code = 2
    This query returns all 10 records, (which suppose to return 2)
    SELECT count (a.anumber) over (partition by TO_char(a.some_date,'MM'), a.item_code) AS i_count, a.item_code,
    TO_char(a.some_date,'MM')
         FROM some_table
         WHERE to_char(a.some_date,'yyyy') = 2009
         AND a.other_number IS NULL
    Works fine if I wrote like this,
    SELECT count (a.anumber) AS i_count, a.item_code,
    TO_char(a.some_date,'MM')
         FROM some_table
         WHERE to_char(a.some_date,'yyyy') = 2009
         AND a.other_number IS NULL
    group by TO_char(a.some_date,'MM'), a.item_code
    How to use partition by in this case?

    Hi,
    Almost all of the aggregate functions (the ones you use in a GROUP BY query) have analytic counterparts.
    You seem to have already discovered that whatever values are returned by
    an aggregate funcition using "GROUP BY x, y, z" can also be found with
    an analytic function using "PARTITION BY x, y. z".
    Aggregate queries collapse the result set.
    The aggregate COUNT function:
    SELECT    deptno
    ,         COUNT (*)   AS cnt
    FROM       scott.emp
    GROUP BY  deptno
    ;tells how many of the 14 employees are in each of the 3 departments.
    So does the analytic COUNT function:
    SELECT    deptno
    ,         COUNT (*) OVER (PARTITION BY deptno)   AS cnt
    FROM       scott.emp
    ;but the first query produces 3 rows of output, the second query produces 14.
    You could get 3 rows of output using the analytic function and SELECT DISTINCT , but it's inefficient.
    Which should you use? Like so many other things, the answer depends on what data you have, and what results you want from that data.
    If you want collapsed results (one row per group), that's a striong indication that you'll want aggregate, not analytic functions.
    If you want one row of output for every row in the table, that's a strong indication that you'll want analytic functions.
    If you have a particular question, ask it. Post some sample data and the results you want from that data, as Rob said.
    There is another important difference between aggreate and analytic functions: analytic functions can easily be restricted to a window , or subset, of the data set. This is something like a WHERE clause, but a WHERE clause applies to the whole query: a wondowing condition applies only to an individual row.
    If you need to compute a SUM of rows with an earlier order_date than this row or an average of the last 5 rows, then you proabably want to use analytic function.

  • Getting Error in setting configuration of iPod using OS X Server Profile Manager

    We are getting error when we are trying to configure the iPods using Profile Manager. Please let me know what is causing for this kind of error. Please see in attachment.

    We have device groups, once the device have been enrolled we then move to a pre-configured profile which sets up items such as wifi, e-mail and passcpde etc all in one go, this has had mixed results, I've now setup profile groups for each item to give us more control over only given the user what they need instead on forcing everything, this resolved my item above but more testing is needed, the main issue has been trying to pass a pre-owned device to a new user as it seems to remember the pervious user in some cases, this is why I asked about if it was possible to delete device history.

  • Getting %Error in authentication when using enable password via ACS 5.5

    Hey, I've been on a LAN that's been using ACS 4.1 and its been working fine.  Ive recently installed ACS 5.5 on a VM and Im attempting to get it to work.  I've changed the Tacacs IP to the new server and the secret key on this particular switch and Ive configured it in the Network devices in ACS.  When I log into the switch via SSH, it lets me authenticate to my username/password BUT when I go to enable it asks for a password.  I enter the password I configured in ACS and I get %Error in authentication.   I've also tried the local enable, same thing.  What else is weird is that if I enter no password, it prompts me to change my password but if I try that I get the same error (%Error in authentication).  The ACS log just simply says entered wrong password, even though I checked it multiple times and even tried a new account.  I'm no master at AAA but from what I can tell it should work.  Attaching my configuration....
    Any ideas would be great

    Can you share "show run | in aaa" from the switch?
    You should have the below listed commands on the switch:
    aaa authentication login default group CLI local
    aaa authorization exec default group CLI local
    On the ACS you should push priv-lvl=15 
    You may go through the below listed document for better understanding:
    http://www.cisco.com/c/en/us/support/docs/security/secure-access-control-system/113590-acs5-tacacs-config.html
    Regards,
    Jatin Katyal
    *Do rate helpful posts*

Maybe you are looking for