Rank Question

Hello,
Why does this SQL not work in a PL/SQL function in my report?
rank() over (ORDER BY column_name DESC) AS column_name
I am wanting a report that looks something like this...
Name     01/2002     Rank     02/2002     Rank     03/2002     Rank     Total
     Sales          Sales     Sales          Rank
Jack     $2.00     4     $18.00     1     $4.00     4     9
Tim     $10.00     2     $4.00     3     $7.00     3     8
Chris     $16.00     1     $3.00     4     $9.00     2     7
Bob      $5.00     3     $8.00     2     $10.00     1     6
The second part of the report needs to look like this:
Name     Jan-02     Rank     Name     Feb-02     Rank     Name     Mar-02     Rank
     Sales               Sales               Sales     
Chris     $16.00      1     Jack     $18.00      1     Bob     $10.00      1
Tim     $10.00      2     Bob     $8.00      2     Chris     $9.00      2
Bob      $5.00      3     Tim     $4.00      3     Tim     $7.00      3
Jack     $2.00      4     Chris     $3.00      4     Jack     $4.00      4
Is there anyway I can do this in PL/SQL? It won't even compile with the rank() over...
Thanks in advance

Hi Laura,
Ranking functions are not currently supported in client side PL/SQL. However, you can use RANK operatives in the queries in the data model in the report. That combined with group level formulas should give you what you need for the data.
regards,
Stewart

Similar Messages

  • How can I set up a ranking question on a survey?

    How can I set up a ranking question on a survey?  It allows you to rate something but I need to rank something.

    You can't. "All contacts" means just what it says.

  • I have a filable form and I need to add ranking questions

    I have a filable form and I need to add ranking questions. How do I do this?

    Kernel panics are usually caused by a hardware problem – frequently RAM, a USB device or a Firewire device. What external devices do you have connected? When trying to troubleshoot problems, disconnect all external devices except your monitor, keyboard and mouse. Do you experience the same problems?
    To eliminate RAM being the problem, Look at this link: *Testing RAM* @ http://guides.macrumors.com/Testing_RAM Then download & use Memtest & Ramber.
    Do you have an Apple Hardware Test disc? Running the Apple Hardware Test in Loop Mode is an excellent troubleshooting step for finding intermittent hardware problems. It is especially useful when troubleshooting intermittent kernel panics. If Loop Mode is supported by the version of the Apple Hardware Test you are using, you run the Extended Test in Loop Mode by pressing Control-L before starting the test. Looping On should appear in the right window. Then click the Extended Test button.The test will run continuously until a problem is found. If a problem is found, the test will cease to loop, indicating the problem it found. If the test fails, be sure to write down the exact message associated with the failure.In some cases, RAM problems did not show up until nearly 40 loops, so give it a good run.
    May be a solution on one of these links.
    Mac OS X Kernel Panic FAQ
    Mac OS X Kernel Panic FAQ
    Resolving Kernel Panics
    Avoiding and eliminating Kernel panics
    12-Step Program to Isolate Freezes and/or Kernel Panics
    Cheers, Tom

  • Re: Lenovo P780 [forum rank question]

    What do u mean by what's dos?
    Moderator comment: Subject edited.
    Solved!
    Go to Solution.

    Good day.
    Please see: http://forums.lenovo.com/t5/Forum-Housekeeping/The-new-ranks-are-here-The-new-ranks-are-here/td-p/22...
    It's just a way to have a bit of fun with forum ranks. A change from what's often seen on other forums like: newbie, pro, etc.
    Regards.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • Another rank question

    Hi,
    let's say I have an employees table with Department Number/ Group Number/ Employee Number/Salary.
    I want to display the sum per employee but I want also to display the rank of the sum of salaries by Depart. and Group :
    create table tmp_employees (
    depno number,
    groupno number,
    empno number,
    sal number);
    insert into tmp_employees values (1000, 50, 1, 1500);
    insert into tmp_employees values (1000, 50, 2, 2000);
    insert into tmp_employees values (1000, 50, 3, 1350);
    insert into tmp_employees values (1000, 60, 4, 2000);
    insert into tmp_employees values (1000, 60, 5, 3400);
    insert into tmp_employees values (2000, 50, 6, 1230);
    insert into tmp_employees values (2000, 50, 7, 1000);
    insert into tmp_employees values (2000, 70, 8, 500);
    insert into tmp_employees values (2000, 70, 9, 890);
    select *
    from tmp_employees;
    DEPNO GROUPNO EMPNO SAL
    1000 50 1 1500
    1000 50 2 2000
    1000 50 3 1350
    1000 60 4 2000
    1000 60 5 3400
    2000 50 6 1230
    2000 50 7 1000
    2000 70 8 500
    2000 70 9 890
    I tried the following statement :
    select
    depno,
    groupno,
    empno,
    sum(sal) sum_sal_emp,
    sum(sum(sal)) over (partition by depno, groupno) sum_sal_dep,
    dense_rank() over (partition by depno, groupno order by sum(sal) desc) rank_sal_dep
    from tmp_employees
    group by depno, groupno, empno;
    DEPNO GROUPNO EMPNO SUM_SAL_EMP SUM_SAL_DEP RANK_SAL_DEP
    1000 50 2 2000 4850 1
    1000 50 1 1500 4850 2
    1000 50 3 1350 4850 3
    1000 60 5 3400 5400 1
    1000 60 4 2000 5400 2
    2000 50 6 1230 2230 1
    2000 50 7 1000 2230 2
    2000 70 9 890 1390 1
    2000 70 8 500 1390 2
    9 rows selected.
    It gives me the rank of SUM_SAL_EMP (I would like the rank of SUM_SAL_DEP).
    Desired result would be :
    DEPNO GROUPNO EMPNO SUM_SAL_EMP SUM_SAL_DEP RANK_SAL_DEP
    1000 50 2 2000 4850 2
    1000 50 1 1500 4850 2
    1000 50 3 1350 4850 2
    1000 60 5 3400 5400 1
    1000 60 4 2000 5400 1
    2000 50 6 1230 2230 3
    2000 50 7 1000 2230 3
    2000 70 9 890 1390 4
    2000 70 8 500 1390 4
    I think my partition by is not good but I can't figure out why.
    Thank you for your help.

    > In fact, I was wondering if it can be done without a subquery.
    Yes, it can be done:
    SQL> select depno
      2       , groupno
      3       , empno
      4       , sal
      5       , sum_sal_dep
      6       , rank_sal_dep
      7    from tmp_employees
      8   model
      9         dimension by (depno, groupno, empno)
    10         measures (sal, 0 sum_sal_dep, 0 rank_sal_dep)
    11         rules
    12         ( sum_sal_dep[any,any,any] = sum(sal)[cv(depno),cv(groupno),any]
    13         , rank_sal_dep[any,any,any] = dense_rank() over (order by sum_sal_dep desc)
    14         )
    15   order by depno
    16       , groupno
    17  /
         DEPNO    GROUPNO      EMPNO        SAL SUM_SAL_DEP RANK_SAL_DEP
          1000         50          1       1500        4850            2
          1000         50          2       2000        4850            2
          1000         50          3       1350        4850            2
          1000         60          4       2000        5400            1
          1000         60          5       3400        5400            1
          2000         50          6       1230        2230            3
          2000         50          7       1000        2230            3
          2000         70          8        500        1390            4
          2000         70          9        890        1390            4
    9 rijen zijn geselecteerd.But why?
    Regards,
    Rob.

  • Rank amateur with "where'd it go?" question

    Hi all,
    Trying to do move over to FCP from iM, and having issues with the basic set up. For some reason my timeline and my canvas disappeared. I understand I have to have an "open sequence" to see the timeline, but can't figure out how to open in. Command-2 and Command-3 are greyed out.
    WHat dumb thing have I done?
    Thanks

    You didn't do anything, which is the issue. If all you have is a project and no sequence, you are most likely looking at the the browser displaying only the contents of the Effects tab and a Viewer window. Select New Project from the File Menu and there should be a Sequence 1 icon in the browser. Double click on it to open the Timeline window and the Canvas window. If you are opening a previously started project, then just double click on any sequence and those windows will open. If you don't see a Sequence icon, press cmd-n to make a new one, then double click it.

  • Rank amateur question

    Just did some filming and did a combination of Still and Video photography with my camera.
    I accidentally filmed some of my video at a 90 degree angle. I did this to frame the shot previously for a still but for some reason I still held the camera at the same angle for the video portion.
    I believe I'm up a creek in this regard because I've tried rotating the clip 90 degrees to get a normal view, but now I get dropped frames out the wazzu when I play it back. I'm just trying to learn from my gaff here. Is this error in playback caused because the frame is now altered? I've tested this by moving the frame of the clip back to the orginal and the dropped frame business goes away. Yeah, I can reproduce this, so this is the problem. Just wondering what causes it? Or do I need a PHD?

    You could double-click your clip and open Motion in the Viewer.
    Then move the Scale slider towards the 150% mark.
    Your picture will be magnified thus filling up the black edges.
    Of course it all depends what you have on the video - it's no good if it chops somebody's head off, but it's worth a try.
    Ian.

  • Questions on DOT with 865PE Neo2

    I did the "Load High Performance Defaults" for the first time.
    Just wondering if everyone experiences the same results??
    I have read many thread here on problems, but want to post some
    positive results and in the same breath have some questions.
    I have burnt in the system and done some SiSoftware Sandra benchmarking
    with good results. Also used Performance Test 4.0 software that gave a
    PassMark of 344.5 and MegaFlops of 1243.3   This is running in the "Load Bios Defaults". So no DOT!!
    When I set the High Performance Defaults, I have to go back into Integrated Periphials/ On chip IDE config to set the ATA config again for my hard drive that is connected to channel one of the S-ATA.  Everyone, the Quick User Guide is just that, a guide.  Would someone kindly explain the settings??   1st, Does it make a difference with the S-ATA only or S-ATA and P-ATA in the ATA configuration??
    2nd question. Why is the S-ATA Keep Enabled and Combined Mode Operation a light blue/green color where the others are white??  I think I understand the difference in S-ATA and P-ATA. that is Serial- ATA and Parallel ATA.  I am using the Maxtor Serial- ATA drive connected to channel one and I have a MSI cd writer connected to the secondary parellel conntroller.  Future connection with a MSI DVD writer on the primary ATA controller.
    So far I have not experienced any crash in the High Performance Defaults mode and ran the SiSoftware Sandra last night for about 1 hour.
    In fact I just ran and compared the Performance Test 4.0 software again and compared with a test ran without the DOT.  Guess what??  The DOT is noticeable lower results this morning... Why is that??  I thought the DOT and Hperthreading would increase performance??  PassMark is now 303.2 and MegaFlops is 227.2
    I have noticed that the SiSoftware Sandra performance tips say the "mainboard temperature is too high" that is at 39 degress C.  Processor is at 45C  and case temp at 35C.. This sounds ok to me!!  Any comments?
    SiSoftware Sandra performance of Maxtor drive
    Buffered Read : 108 MB/s
    Sequential Read : 48 MB/s
    Random Read : 7 MB/s
    Buffered Write : 113 MB/s
    Sequential Write : 47 MB/s
    Random Write : 13 MB/s
    Average Access Time : 8 ms (estimated)
    Any comments would be appreciated!!
    So far I have not any problems with this MSI board and Intel processor.
    MSI 865PE NEO2 FIS2R Bios 1.3
    2 X's Crucial 256MB PC3200
    ATI All in Wonder Radeon 7500 64 MB
    Maxtor 120 GIG S-ATA 8MB cache
    Windows XP
    MSI CD-R/RW 52-M
    3 1/2 floppy drive
    Antec Sonata Silent case 380 PSU
    Hyperthreading is enabled
    Logitech Duo Keyboard/Mouse
    USR 56K MODEM

    For SATA Only, SATA & PATA, PATA Only Qn, the answer is, there are differences in all these mode. 1st, if you switch to SATA only and PATA Keep Enabled to "NO", then you can only run SATA drives and no PATA drives. If you've switch to PATA and SATA, this will enabled you to run both types of drives in your system, but if you've encountered problems, then you may have to switched to SATA only and set PATA Keep Enabled to Yes. Hence for PATA Only, will means that this will enabled your system to support only PATA drives.
    As for the coloring of the modes, I think that they are being purposely color coded for the ease of the user on the different options available.
    D.O.T is supposed for you to adjust settings in a ranking order starting from Private status to General. Each has a certain increment percentage of the FSB starting from 3% to 10% Max. In your case, I don't think that you're o/cing through D.O.T yet, but having to run at high performance stablely is a good start.
    HT- HyperThreading. This technology will virtually splits your current processor to run in Dual mode. As I've mentioned "Virtually", so it will only split your processor calculation and arthematics of your CPU into 2 so that each can process data transfer etc on its own and in turns giving more advantage to application and server like processing and not really in terms of gaming or other applications.
    Hope all this helps.
    All the Best... :D!!!

  • Splash page with animated gif only question

    Hello all:
    I have a splash page (index.html) that is designed using an animated gif created in photoshop. The rest of my site is Css/XHTML, but has some divs containing animated gifs. I have two questions;
    1: By using only the animated gif on the splash page, am I limiting or hindering my SEO (google, microsoft, yahoo) ranking opportunities as there is no "content" on the page that the spiders/bots can see? I went ahead and included some "content" but hid it by coloring the type the same as the background color hoping that might do something, but obviously I'm a SEO newbie so any suggestions are more than welcomed. I will include the code at the end of this post, and my site is: http://reynolds-marketing.com.
    2. Is there a way to pre-load the animated gifs on my pages so that they play more smoothly and efficiently?
    TIA for any of your help. Murman
    The code for the splash page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Reynolds Marketing - The Marketing Resource Source</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta name="description" content="Reynolds Marketing is a marketing services company offering a full spectrum of marketing services including: consultation, creative, production and logistical marketing services headquartered in Temecula, CA." />
    <meta name="keywords" content="Reynolds, Reynolds Marketing, marketing services company, marketing services agency, full spectrum of marketing services, full service marketing agency, marketing consultant, print creative, digital printing, offset printing, website design, website development, digital marketing, digital print on demand, DPOD,Video Production, Video Production, Direct Mail, Temecula, powerpoint presentations" />
    <link rel="shortcut icon" href="http://www.reynolds-marketing.com/favicon.ico"/>
    <!-- ImageReady Styles (index3.psd) -->
    <style type="text/css">
    <!--
    #index_ {
         position:relative;
         left:0px;
         top:0px;
         width:640px;
         height:480px;
         margin-left: auto;
         margin-right: auto;
    -->
    </style>
    <!-- End ImageReady Styles -->
    </head>
    <body bgcolor="#FFFFFF" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF" id="index_" style="background-color:#FFFFFF;">
    <p>
      <!-- ImageReady Slices (index3.psd) -->
    <img src="images/index.gif" alt="" width="640" height="480" border="0" usemap="#indexMap" id="index" /></p>
    <p>Reynolds Marketing offers a full spectrum of marketing communications services including: consultation, creative, production and logistical marketing services located in Temecula, California. Our services include marketing consultation, press relations, public relations, copy writing, print creative, direct mail creative, video creative, web creative, interactive creative. Print production, direct mail, video production, web page creation and production. Digital print on demand, fulfillment services, powerpoint presentations, marketing communications, marketing communications conformance. To find out more about our services, please go to <a href="http://www.reynolds-marketing.com/who_we are.html">http://www.reynolds-marketing.com/who_we are.html</a> . </p>
    <p>Site map:<br />
      <a href="http://www.reynolds-marketing.com/index.html">http://www.reynolds-marketing.com/index.html</a><br />
      <a href="http://www.reynolds-marketing.com/who_we_are.html">http://www.reynolds-marketing.com/who_we_are.html</a><br />
      <a href="http://www.reynolds-marketing.com/contact_us.html">http://www.reynolds-marketing.com/contact_us.html</a><br />
      <a href="http://www.reynolds-marketing.com/what_we_do.html">http://www.reynolds-marketing.com/what_we_do.html</a><br />
      <a href="http://www.reynolds-marketing.com/services.html">http://www.reynolds-marketing.com/services.html</a><br />
      <a href="http://www.reynolds-marketing.com/clients.html">http://www.reynolds-marketing.com/clients.html</a><br />
      <a href="http://www.reynolds-marketing.com/projects.html">http://www.reynolds-marketing.com/projects.html</a><br />
      <a href="http://www.reynolds-marketing.com/news.html">http://www.reynolds-marketing.com/news.html</a></p>
    <p>
      <map name="indexMap" id="indexMap">
        <area shape="rect" coords="296,434,342,444" href="who_we_are.html" />
        <area shape="rect" coords="228,451,286,461" href="who_we_are.html" />
        <area shape="rect" coords="296,451,353,461" href="what_we_do.html" />
        <area shape="rect" coords="364,451,416,461" href="contact_us.html" />
      </map>
      <!-- End ImageReady Slices -->
      <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
      </script>
    </p>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-8703884-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </body>
    </html>

    My guess is yes, but that is just my opinion.  I believe the text/background same color idea was really in vogue back in the late 90's and we all heard that it was the kiss of death for SEO that the SE's hated them so much you got de-listed, not sure if that is a fact or not.
    My bigger concern would be how many people you are losing by making them wait to get to where they want to go.  I have told many a client that in some sense, the interent is too big, you have too much competition and people have thin patience for things like splash pages.  The ooo and aaa effect of animated gifs is long dead...again, in my opinion.
    I dont know the answer to your load question...
    Gray

  • Fico questionns

    Subject: Interview Questions FICO
    Result: I need Answers for the following questions
    1.     What is meant by zero invoices?
    2.     How u create vendor and customer GL accounts in real time?
    3.     APP configuration steps?
    4.     Where u creating qadb in sap?
    5.     In fi-mm integration how u post cetral exise?
    6.     what is  meant settlement rule in controlling?
    7.     How u maintain cross company codes  settings for inter company payments?
    8.     How u maintain head office settings in sap?
    9.     What is meant by costing variant in product costing?
    10.     What is maximum possible exchanges deviation in u r project?
    11.     Print out for customers and vendors?
    12.     How can u change date settings?
    13.     What type of closing entries u have passed?
    14.     Hoe do u configure to vendor clearence?
    15.     In controlling how u can do budget control for statistical postings?
    16.     In asset accounting how u prepare capital budget?
    17.     What is difference between plan delivery and UN planed delivery costs?
    18.      IN ALE we can transfer data to cross company codes or it is useful only for business partner?
    19.     Valuation class is it assigned to material?
    20.     Functional areas where we assign functional areas?
    21.     Can u make down payments through app?
    22.     What is base line item?
    23.     Reason codes?
    24.     When mm integration takes place entry at goods delivery, goods issued billing?
    25.     What is the key that used in mm integration for foreign exchange dif?
    26.     Techniques used for data migration?
    27.     Difference between report painter and report writer?
    28.     Clearing procedure for GR/ IR ACCOUNT?
    29.     Asset master data uploading?
    30.     Difference between realized and UN realized exchange gain?
    31.      B.R.S CONFIGURATIONS?
    32.     Document entry for po?
    33.     WE have 3 banks and available balance is zero what would be error?
    34.     Can u create own document if yes how?
    35.     Foreign currency settings and revaluation?
    36.     What is ranking order in app?
    37.     Alternative payee concept?
    38.     Customer himself is vendor and vice versa concept?
    39.     Hoe the tax depreciation is excuted?
    40.     How the asset procurement takes place?
    41.     How do u upload asset through SCAT?
    42.     How do upload asset at beginning and middle?
    43.       Where do u control header data?
    44.     How do u know to which customer u need to dunning?
    45.     Special GL in balance sheet procedure?
    46.     Sales cycle in integration corresponding accounting entries and exactly which point gi will get effects?
    47.     IS it possible to give depreciation key to multiple depreciation areas?
    48.     Parallel currency set up?
    49.     WHY DO U REQUIRE Parallel currency?
    50.     Is it possible to give us currency for one company code and INR for another comp code?
    51.     Does MM SD HAVE DIFFERENT POSTING PERIODS IN DIFFERENT FROM FI?
    52.     OPENING AND CLOSING PERIODS DONE IN MM
    53.     How many currencies can be give to a GL Accounts?
    54.     Are they any SLA’S IN PRODUCTION?
    55.     How did u login into system and solved tickets?
    56.     Integration FI-MM AND SD full cycle and accounting entries?
    57.     From G/L accounts data is not getting update in special purpose ledger (data flow not happening for some company codes) what all be reason?? How to rectify it?
    58.     I wish to know the total procedure that we follow for support project i.e. how we get the tickets and how we will send back to client and tool we use? And whts mainly difference between 4.7eee and 6.0ecc what does ecc mean?
    59.     What is global company code? Have u worked on that?
    60.     What Sap standard organization structure?
    61.     What is T code for uploading bulk vendor master data?
    62.     What do u means by goods clearing? What are the journal entries for clearing of goods?
    63.     What do u means by cost carrier?
    64.     IN APP if we want to create cheques.one stanrd variant name available in SAP. What is name?
    65.     How many ways we can create GL accounts?
    66.     Where we assign functional area?
    67.     How many kinds of number ranges are there?
    68.     Reason codes meaning?
    69.     Organizational structure of FI?
    70.     Organizational elements in FI?
    71.     Payment method supplement?
    72.     MM integration entry for goods deleviry, goods issued and billing?
    73.     Difference between BAL interest calculation and item interest calculation?
    74.     Where u customizes particular payments?

    Subject: Interview Questions FICO
    Result: NO ONE WOULD HAVE THAT PATIENCE AND TIME TO ANSWER ALL YOUR QUESTIONS.TRY EXPLORING ON YOUR OWN.

  • Questions on using templates [CS3]

    Greetings,
    I'm trying to figure out the best way to approach an InDesign task, and my rank-novice-level experience isn't cutting it. Normally I'd read through a gazillion help pages and do a bunch of tutorials to try and teach myself enough to answer the questions on my own - but I'm a new parent (~2 months), so don't really have the time to take my usual approach; indeed, it took me several days just to write up this question and post it. So any help is *much* appreciated!
    What I'm trying to do: create ~80 cards for a board game. Each will have similar layout, so creating a template file seems like the way to go. I've never worked with templates before, but doing so seems straightforward enough for things like text, or for an illustration which would be different on every card. However:
    Difficulty #1: Some cards are of one type - call it type A - while others are of type B. Several graphical elements are always the same for a given type, but are different for A vs. B. I'm sure there must be a simple way to say "this file uses all items for type A, and not B", but I'm not sure if this would be best done using different templates, different master pages, setting which layers are visible on an imported photoshop file, or some other technique. (Did I mention I'm a total novice with InDesign?)
    Difficulty #2: There are half a dozen graphical elements (icons), each of which may or may not appear on a given card. Using templates or master pages for all permutations of their visibility seems like a bad idea. But if I simply delete the not-shown objects from each file (assuming one can do such a thing when using templates), that makes later changes (which might involve re-adding them) difficult. In Photoshop or Illustrator - both of which I'm more familiar with than InDesign - I'd simply make the layer/object non-visible; is there an equivalently simple way to "get rid of this object, but let it be easy to bring back" in InDesign? (I've found the "nonprinting" attribute, but that doesn't seem to hide it from view while editing, which makes verifying the layout as correct rather onerous.)
    Trying to look ahead #1: Eventually, I'd like to create an InDesign document which imports all of the single card files into an easily printable layout (9 cards to a page); I'm told this is possible. Is there anything I should know to avoid shooting myself in the foot / making this task unreasonably difficult? (eg: if InDesign throws tantrums when you try to import multiple documents based off the same template, I'd sure like to know that before making 80 cards based off the same template.)
    Many thanks to anyone who can help!
    --Eric

    I'd make the card file at the trim size, and add a bleed allowance if you need one. Export this to PDF withthe bleed, but NO MARKS.
    Ah, here's where I display my novice status:
    1. So you'd suggest just one card file, rather than one file per card all using the same template?
    (If relevant: it would also be useful to be able to distribute 9-up PDFs of, eg, the only the 16 cards which changed in a particular revision.)
    2. I'm familiar with bleed allowance, but am guessing at what you mean by "trim size", and don't know at all what you're referring to by Marks? My experience with actual pre-press production is pretty much nil.
    I should probably mention, since I didn't earlier, that there is a downside to overriding master objects. If you apply a new master, or reapply the old one for some reason, the overridden objects remain and new master objects will be replaced where missing. Also, if you make any chages to an overridden object, that attribute, such as size or position, for example, loses it's link to the master and will no longer update if the master object is edited.
    Mm, that is a difficulty; if I'm understanding this correctly, if I (eg) replaced or moved one of the icons on the master page, it would change on every card for which it was visible (printable), but not on those cards where it had been overridden to be non-printing - only a problem if I have to change which icons show on which cards, but that will certainly happen from time to time.
    Is there a way to tell an object "stop overriding and re-load all your information from the appropriate master object"?

  • Questions in Ad Hoc Query & How to Configure the EEO standard reports

    Hi all,
      I have a  question in Ad hoc query report in HR.
    <b>How to:</b> Get a list of the total number of employees included in a particular report at the end of the report. Ex: If i create and run a report for salaried employees, sorted out by company codes, how can i get a sub-total and total no. of employees listed in the report.
    I tried Ranked format, but when you print the report it doesn't retain the report name on the top.
    -->I have a question regarding the Standard reports for EEO and AAP
    <b> How do I</b>
    1. Start configuring these report
    2. What are the things i should have before configuring it in IMG
    If anyone can provide me with some documentation regarding the EEO and AAP report configuration that would be great.
    Thanks in advance.....
    Harish

    This can be done using the security for the Infoprovider,  provide the users access to create queries only for that Infoprovider.

  • Simple Report Question

    Post Author: scott123
    CA Forum: General
    I want to take the information in a simple excel table and recreate it 3 times, each time sorting/grouping on a different columnHere is the tableAnd here is the report that I'm trying to generate (first sorted by name, alphabetically, then grouped by rank, then grouped by size) I'm comfortable working with excel tables in Crystal, but I'm running into a problem repeating the information and then sorting each group separately. I also have no problem doing each group in a single report (without repeating any records), but I'd like to include all 3 groups in a single report.  My apologies for how remedial this question is- I thought for sure that Crystal could do this easily but I've spent a couple of days on this and am running into a brick wall.

    Post Author: pandabear
    CA Forum: General
    That's right Scott, and maybe make them "on demand"
    sub reports so the user only has to see the data they
    really want at the moment.  Gives the report a nice clean look too.
    PB

  • Need Help on using Forge Config Manager and CAS. Questions listed in the content below

    Hi All,
    I have an existing Endeca pipeline implementation where we read the data sets (Product Catalog Information) from Oracle database using JDBC adapters. The data set undergoes a series of manipulation until it gets indexed to the Endeca system. We make use of PCI for dimensions and dimension values. However, we now want to extend PCI to also include the Product catalog information. The current implementation also does not make use of CAS adapters to consume the dimensions data in PCI. The next consideration is to implement PCI as close to Out of the Box provisions and standardize it. Therefore we are also considering to implement CAS.
    The questions are as below:
    1. What are the ideal parameters that should support the use of PCI implementation (Dataset + dimension + precedence Rules + schema information) ? Note: We DO NOT have any product catalog system (like ATG) between database and Endeca.
    2. Considering that we do not have any product catalog system to organize and maintain data, how feasible is it to read directly from database through CAS Adapters and process the data ?
    3. We also plan to introduce partial update pipeline in future releases. Keeping that in mind should CAS based approach help us to read from a record store at the time of partial updates ?
    4.in case we are limiting to a business case of implementing partial updates in the above explained existing design, should a custom CAS approach be a better design ? Custom CAS approach = writing the baseline output data to record store and later referring it at the time of partial updates.
    5. Will CAS based approach help to reduce the baseline timings ?
    6. What is the best way to export data to record store instance in the above design ? (Record store API / Command line utility / CAS crawl)
    Thanks,
    Nitin

    Hi Neeraj,
    You cam use both PI SLD and Solman Local SLD for LMDB synchronization. Now here you make to make sure that correct ranks are assigned to PI and Solman SLD. With the help of multiple sld, you can remove the cause of concern. Local SLD should always be of solman.
    For CR content. that you can do for solution manager system in a click.
    Divyanshu

  • Is rank() really better than rownum for top-n-queries?

    Several sources say that for Oracle databases rank() should be used instead of 'rownum <= n' for top-n-queries. But here we have an application, where we a lot of top-n queries are executed on a big table with several million rows and rank() has a quite bad performance. I get much better results when I use a query with rownum <= n but the programmer of the application doesn't want to change it in the software because of those articles about rank() and rownum. I wonder, whether it is possible, to find a better form of the rank()-query or an additional index, that gives me the same performance.
    To explain my case I created the following example (if you try it, be aware that depending on the size of your dba_objects view you might need up to half a gig free space in your tablespace for this example).
    create table big_objects
    as
    select
    ascii(m.alpha)*100000+o.object_id object_id,
    o.owner owner,
    o.object_type,
    m.alpha||'_'||o.object_name object_name,
    sysdate-400+mod(100*object_id+99*ascii(m.alpha),365)+24/(o.object_id+ascii(m.alpha)) created,
    o.status
    from
    (select distinct
    upper(substr(object_name,1,1)) alpha
    from
    sys.dba_objects
    where
    upper(substr(object_name,1,1)) between 'A' and 'Z') m,
    sys.dba_objects o
    order by
    object_name;
    create index bigindex_1 on big_objects (owner, object_type, created);
    analyze table big_objects compute statistics;
    So my table looks a bit like dba_objects but with much more rows and I made a synthetic "created" date which is more similar to my real case, where top-n means a date selection of the newest records from a certain type.
    Here is the size of the segments on an nearly empty 11gR2 database:
    select segment_name, bytes, blocks from sys.dba_segments where segment_name like 'BIG%'
    SEGMENT_NAME BYTES BLOCKS
    BIGINDEX_1 75497472 9216
    BIG_OBJECTS 142606336 17408
    On my database the example table has approx. 1,9 Mio rows:
    select count(*) from big_objects;
    COUNT(*)
    1884246
    and some 1,4% of those rows have owner = 'SYS' and object_type = 'INDEX'
    select
    count(*)
    from big_objects
    where owner = 'SYS'
    and object_type = 'INDEX';
    COUNT(*)
    25896
    But I want to find only the 10 newest indexes for the owner SYS. I think the typical rank() approach would be:
    select
    owner,
    object_type,
    object_name,
    object_id,
    status,
    created
    from
    ( select
    owner,
    object_type,
    object_name,
    object_id,
    status,
    created,
    rank() over (order by created desc) rnk
    from
    big_objects
    where
    owner = 'SYS'
    and object_type = 'INDEX')
    where rnk <= 10
    order by created asc;
    OWNER OBJECT_TYPE OBJECT_NAME OBJECT_ID STATUS CREATED
    SYS INDEX B_COLLELEMIND 6600515 VALID 15.04.2010 19:05:55
    SYS INDEX V_I_WRI$_OPTSTAT_IND_OBJ#_ST 8600466 VALID 15.04.2010 19:09:03
    SYS INDEX G_I_RLS 7100375 VALID 15.04.2010 19:23:55
    SYS INDEX V_I_DIR$SERVICE_UI 8600320 VALID 15.04.2010 19:31:33
    SYS INDEX L_I_TSM_DST2$ 7600308 VALID 15.04.2010 19:36:26
    SYS INDEX L_I_IDL_UB11 7600235 VALID 15.04.2010 19:57:34
    SYS INDEX V_I_VIEWTRCOL1 8600174 VALID 15.04.2010 20:19:21
    SYS INDEX L_I_TRIGGER2 7600162 VALID 15.04.2010 20:31:39
    SYS INDEX L_I_NTAB1 7600089 VALID 15.04.2010 21:35:53
    SYS INDEX B_I_SYN1 6600077 VALID 15.04.2010 22:08:07
    10 rows selected.
    Elapsed: 00:00:00.22
    Execution Plan
    Plan hash value: 2911012437
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1427 | 188K| 1400 (1)| 00:00:17 |
    | 1 | SORT ORDER BY | | 1427 | 188K| 1400 (1)| 00:00:17 |
    |* 2 | VIEW | | 1427 | 188K| 1399 (1)| 00:00:17 |
    |* 3 | WINDOW SORT PUSHED RANK | | 1427 | 79912 | 1399 (1)| 00:00:17 |
    | 4 | TABLE ACCESS BY INDEX ROWID| BIG_OBJECTS | 1427 | 79912 | 1398 (0)| 00:00:17 |
    |* 5 | INDEX RANGE SCAN | BIGINDEX_1 | 1427 | | 9 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - filter("RNK"<=10)
    3 - filter(RANK() OVER ( ORDER BY INTERNAL_FUNCTION("CREATED") DESC )<=10)
    5 - access("OWNER"='SYS' AND "OBJECT_TYPE"='INDEX')
    Statistics
    1 recursive calls
    0 db block gets
    25870 consistent gets
    0 physical reads
    0 redo size
    1281 bytes sent via SQL*Net to client
    524 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    2 sorts (memory)
    0 sorts (disk)
    10 rows processed
    As from the index only the first two columns are used, all the 25896 records that I found above are read and sorted just to find the ten newest ones. Many unnecessary blocks are read and luckily all needed database blocks were in memory already. In our real case quite often a lot of physical reads are performed, which makes the performance of the application even worse.
    In my following example with a "rownum <= 10" all three columns of the index are used and the number of block gets is much, much smaller than in the rank() example.
    select
    owner,
    object_type,
    object_name,
    object_id,
    status,
    created
    from
    big_objects
    where
    (owner, object_type, created)
    in
    ( select
    owner,
    object_type,
    created
    from
    ( select /*+ first_rows(10) */
    owner,
    object_type,
    created
    from
    big_objects
    where
    owner = 'SYS'
    and object_type = 'INDEX'
    order by
    owner,
    object_type,
    created desc
    where rownum <= 10
    order by created asc;
    OWNER OBJECT_TYPE OBJECT_NAME OBJECT_ID STATUS CREATED
    SYS INDEX B_COLLELEMIND 6600515 VALID 15.04.2010 19:05:55
    SYS INDEX V_I_WRI$_OPTSTAT_IND_OBJ#_ST 8600466 VALID 15.04.2010 19:09:03
    SYS INDEX G_I_RLS 7100375 VALID 15.04.2010 19:23:55
    SYS INDEX V_I_DIR$SERVICE_UI 8600320 VALID 15.04.2010 19:31:33
    SYS INDEX L_I_TSM_DST2$ 7600308 VALID 15.04.2010 19:36:26
    SYS INDEX L_I_IDL_UB11 7600235 VALID 15.04.2010 19:57:34
    SYS INDEX V_I_VIEWTRCOL1 8600174 VALID 15.04.2010 20:19:21
    SYS INDEX L_I_TRIGGER2 7600162 VALID 15.04.2010 20:31:39
    SYS INDEX L_I_NTAB1 7600089 VALID 15.04.2010 21:35:53
    SYS INDEX B_I_SYN1 6600077 VALID 15.04.2010 22:08:07
    10 rows selected.
    Elapsed: 00:00:00.03
    Execution Plan
    Plan hash value: 3360237620
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 10 | 760 | 17 (0)| 00:00:01 |
    | 1 | SORT ORDER BY | | 10 | 760 | 17 (0)| 00:00:01 |
    | 2 | NESTED LOOPS | | | | | |
    | 3 | NESTED LOOPS | | 10 | 760 | 17 (0)| 00:00:01 |
    | 4 | VIEW | VW_NSO_1 | 10 | 200 | 2 (50)| 00:00:01 |
    | 5 | HASH UNIQUE | | 10 | 200 | 4 (25)| 00:00:01 |
    |* 6 | COUNT STOPKEY | | | | | |
    | 7 | VIEW | | 11 | 220 | 3 (0)| 00:00:01 |
    |* 8 | INDEX RANGE SCAN DESCENDING| BIGINDEX_1 | 1427 | 28540 | 3 (0)| 00:00:01 |
    |* 9 | INDEX RANGE SCAN | BIGINDEX_1 | 3 | | 2 (0)| 00:00:01 |
    | 10 | TABLE ACCESS BY INDEX ROWID | BIG_OBJECTS | 3 | 168 | 6 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    6 - filter(ROWNUM<=10)
    8 - access("OWNER"='SYS' AND "OBJECT_TYPE"='INDEX')
    9 - access("OWNER"="OWNER" AND "OBJECT_TYPE"="OBJECT_TYPE" AND "CREATED"="CREATED")
    Statistics
    1 recursive calls
    0 db block gets
    26 consistent gets
    0 physical reads
    0 redo size
    1281 bytes sent via SQL*Net to client
    524 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    10 rows processed
    I made this comparison with the Oracle versions 10.2 and 11.2 and the result was more or less the same. How can I change the rank() query in a way that only the small number of really needed blocks are read from the database?

    this was exactly the hint, I was looking for. Generally speaking hints are not the preferred way to go to tune queries. They can have nasty side-effects when data changes.
    Now the rank()-query is similar fast and much better to read than my fast one with three nested SELECTs.
    Your rownum query was needlessly complicated, and could be simplified to:
    select owner, object_type, object_name, object_id, status, created
    from (select owner, object_type, created
          from big_objects
          where owner = 'SYS' and
                object_type = 'INDEX'
          order by created desc)
    where rownum <= 10
    order by created ascand very likely get the same speed.
    One more question. How did you format those sql queries and results. When I copy/paste them into the editor of forums.oracle.com the format allways gets lost.To preserve formatting use {noformat}{noformat} before and after the section you want ot keep formatted.  In general, if you want to see how someone generated an effect, reply to the post and hit the quote original icon.  You will see all the formatting codes used in the original.
    John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Streaming Netflix from Macbook Pro to TV

    Hello, I would like to stream movies from Netflix on the Macbook Pro to my TV. I bought a Moshi Mini Displayport to HDMI Adapter and plugged into the laptop. I then removed the HDMI cable from my DVD player and plugged it into the adapter. I followed

  • Remote  Cube back ground processing

    Hi gurus, Is it possible to execute a Query which is on a remote cube in Back ground. In my situation: I am loaded the data into the regular cube and then reconciling this cube data with the remote cube data ( which picks the data from R/3 tables usi

  • Just accidentally downloaded an unwanted program. how to delete it?

    I am still adjusting from Windows to Mac. Let's say I just want to delete this program completely off my computer. But when I control click/right click on the icon and check the options, the only thing that is remotely close to delete is "eject." Wha

  • TS1702 I am charged twice for an in app purchase on my credit card

    Has this happened to anyone else and how did u fix it. It has happened several times now

  • SQL Tuning Advisor  Error

    I wanted to use the SQL Tuning Advisor feature of the SQL Worksheet. The DBA granted me ADVISOR system privilege. But when I tried to use the feature, I get the following errors: An error was encountered performing the requested operation: ORA-06550: