question about Oracle answers / Business Model

Hello

In a table of 'Projects', one of the attributes is work_time.
I need to create a report in similar responses with a bellows:

Working time | County
1 - 10 days | 10
11-20 days | 100
...................

Can it be fixed when creating the repository? Or in the answers?
I can solve it side DB, but maybe there is a way to do in BI...

Thank you!

Hello

You can use

cast(truncate(("Projects.work_time"-1)/10,0) * 10 as char) || ' - ' || cast(truncate(("Projects.work_time"+9)/10,0) * 10 as char) || ' days'

Concerning
Nicolae

Tags: Business Intelligence

Similar Questions

  • Question about Oracle schema E/R database dictionary

    Hello

    As we know, the dictionary in an Oracle database is a fairly large beast. I was wondering if there was an ERD of the tables/views most commonly used or available useful. That would make familiar you with the dictionary quite a little easier.

    I've been Googling for such a scheme, but without success.

    The question is: does anyone know where such a diagram might be available? If Yes, where?

    Thank you for your help,

    John.

    Are you talking about view DBA_xxx (DBA_TABLES, DBA_USERS, etc.) or V$? If you're talkink about DBA_xxx views, please google with "poster oracle dictionary '..."

    Edited by: P. Forstmann on Sept. 5. 2010 18:57

  • Question about oracle objects

    Hi people

    I came across the below example on the oracle documentation.

    I'm not quite sure why "emp is NULL #2' always get printed even if the Member attribute is assigned a value that should be non-NULL and" ""emp is NULL #3"isn't even after printing has been assigned to the object with a NULL value."

    Can one of you you please explain about it. or give the overview of the conditions of the NULLable object. Thank you!!

    DECLARE

    EMP employee_typ; -emp is atomically null

    BEGIN

    If emp IS NOTHING THEN DBMS_OUTPUT. Put_line ("emp is NULL #1"); END IF;

    IF emp.employee_id IS NULL THEN

    DBMS_OUTPUT. Put_line ("emp.employee_id is NULL #1");

    END IF;

    EMP.employee_id: = 330;

    If emp IS NOTHING THEN DBMS_OUTPUT. Put_line ("emp is NULL #2"); END IF;

    IF emp.employee_id IS NULL THEN

    DBMS_OUTPUT. Put_line ("emp.employee_id is NULL #2");

    END IF;

    EMP: = employee_typ (NULL, NULL, NULL, NULL,

    NULL, NULL, NULL, NULL, NULL, NULL, NULL,

    address_typ (NULL, NULL, NULL, NULL));

    -emp: = NULL; -It would have made the following statement of the TRUE IF

    If emp IS NOTHING THEN DBMS_OUTPUT. Put_line ("emp is NULL #3"); END IF;

    IF emp.employee_id IS NULL THEN

    DBMS_OUTPUT. Put_line ("emp.employee_id is NULL #3");

    END IF;

    EXCEPTION

    WHEN ACCESS_INTO_NULL THEN

    DBMS_OUTPUT. Put_line ('impossible to assign object NULL value');

    END;

    /

    The result is:


    EMP is NULL #1
    EMP.employee_id is NULL #1
    EMP is NULL #2
    EMP.employee_id is NULL #3

    I came across the below example on the oracle documentation.

    I'm not very sure why 'emp is NULL #2' always get printed even if the Member attribute is assigned a value that should be non-NULL and ' emp is NULL #3 "is not get printed even though the object is assigned to null."

    Can one of you you please explain about it. or give the overview of the conditions of the NULLable object.

    Have you actually tried this example? Why not?

    The best and often faster, learn is to DO - not just read.

    If you tried this example, you would see that you have been "bitten" by a documentation bug.

    EMP.employee_id: = 330;

    That the line of code won't work - it will trigger an exception is the output you get really

    PEM is NULL #1

    EMP.employee_id is NULL #1

    Can't assign value to the NULL object

    PL/SQL procedure successfully completed.

    SQL >

    The 'emp' instance has the value NULL as shows it the first message. If you cannot assign the 330 value him.

    For others, the example seems to be the Oracle documentation

    http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14261/objects.htm#CIHEJIBA

  • Question about Oracle identity analytics

    Hello

    Is it possible in Oracle identity analytics (version 11.1.1.3.0) to compare the datas in OIA and data in LDAP for example?

    The goal is to see the differences between this 2 databases for roles and strategies.

    If possible, can you tell me how to make that comparison?

    Thanks for your help...

    I think not - OIA with no agents / connectors. What you can be able to model the data in the LDAP protocol as a resource in OIA and run a report against that?

  • Question about Oracle sequences

    Please let me know if this question is not the subject of this forum and advise which forum I should post it. Thank you.

    We have a database 10g running on the AIX servers. A process of data loading was recently, and the development team is of the opinion that the question can be corrupted in the database sequence. This sequence is used to generate a unique primary key for writing in a table.

    Are there problems with 10g about the objects sequence database becomes corrupted? If so, is there a Metalink note published on a fix?

    Thank you all for a light on this topic.

    Hello

    Interview the max value of your column of tabale, in order to know the populeted of the maximum value of the sequence, compare it your currval in the sequence, and the maximum value for the column. If the values are not the same and the currval is lower than the max value, you will probably have the constraint violation, then increment the value of your sequence curr.

    Concerning

  • Satellite A100-003: Question about RAM and recording model number

    Dear Sir/Madam,

    1. the first problem is that I bought the notebook of Toshiba Satellite A100-003 model. But when I tried to save the European web site of Toshiba with my serial number it says Satellite A100-011. I do not understand what it means that. But I do not know my phone model A100-003-PSAARE-0470257Z. The serial number of my laptop is: 17739127G

    2. Another problem is the European website of Toshiba and Turkey Toshiba official site (http://www.toshibatr.com/notebook_filter.asp?ktg=A100) says Rams are 533 MHz "2 048 (1, 024 + 1, 024) MB of RAM DDR2 (533 MHz)"but mine is at 266 MHz. "

    http://img510.imageshack.us/my.php?image=satellitea100003xg4.jpg

    I was wondering in Toshiba laptops of the Turkey has problems or handed in state something? I sent e-mail to the web site of Toshiba Turkey but they don't send me emails or information.

    Thank you for helping me,
    Halin

    Hello

    First of all your registration number is not a 'problem '. Maybe it s just a small mistake in their database. When I registered my P200 registration reported me another type as mine was, but after a call to the hotline of toshiba told me, that my machine is listed correctly in the database.
    Don t worry, register just she.

    With regard to the RAM:

    Do you know why's called it 'DDR' ram? That means 'RAM memory' and the goal is to double the frontsidebus.

    In your case, that means: the REAL AND PHYSICAL frontsidebus is 266 Mhz, but because the flow is double you have a 533 MHz frontsidebus (532, 34.Mhz).
    CPU - Z and WCPUID are simply display the physical clock of the RAM, but the frontsidebus double the signal and then you pure and authentic to 533 MHZ.

    I hope I could explain something to you. ;)

    Have a nice weekend

  • Technical questions about Oracle Linux

    What is the ideal RAM should I assign to my virtual machine to run Oracle 12 c for personal use.

    Personal use - convenient, cloning, backup of the database. Recovery of database of .dbf file. Sqldeveloper execution. Thanks in advance.

    I did it with 2 GB of RAM dedicated to the virtual machine. If you host only has 4 GB of RAM, so you may not be able to run many other in the VM host upward.

    That being said, I have usually at least 8 GB of RAM on my laptop work/computers positions of our days, if not more. With 8GB, I can create a 4 GB VM and have a better experience.

    See you soon,.
    Brian

  • Questions about oracle advanced concepts

    All,

    Database version: 11.2.0.3

    How can we identify if my database using GG (Golden Gate), ADG (Active Data Guard), TDE (Transparent Data Encryption), advanced security option?

    Are there tables to display these details?

    Thank you

    A lot of information characteristic use is available in the http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_3181.htm#I1023396 views DBA_FEATURE_USAGE_STATISTICS
    Some features are available, but require to pay for a license if you use them, so check with your DBA before being the first to use one, or it could cost a lot of money.
    Same V$ OPTION lists the options that are installed, but they could not be approved.

    Oracle Enterprise Manager displays DBA_FEATURE_USAGE_STATISTICS information on the server 'Use of database feature see' page.

    For example
    Select Name, version, Detected_usages of DBA_FEATURE_USAGE_STATISTICS

    where upper(name) like '%GOLDEN%' or upper(name) like '%ACTIVE%'
    or upper(name) like '%TRANSPARENT DATA%' or upper(name) like '%SECURITY%'
    
    NAME                                                             VERSION           DETECTED_USAGES
    ---------------------------------------------------------------- ----------------- ---------------
    Active Data Guard - Real-Time Query on Physical Standby          11.2.0.3.0                      0
    GoldenGate                                                       11.2.0.3.0                      0
    Transparent Gateway                                              11.2.0.3.0                      0
    Transparent Data Encryption                                      11.2.0.3.0                      0
    Label Security                                                   11.2.0.3.0                      0
    
    select parameter, value from v$option
    where upper(parameter) like '%GOLDEN%' or upper(parameter) like '%ACTIVE%'
    or upper(parameter) like '%TRANSPARENT DATA%' or upper(parameter) like '%SECURITY%';
    
    PARAMETER                                                        VALUE
    ---------------------------------------------------------------- ----------------------------------------------------------------
    Enterprise User Security                                         TRUE
    Oracle Label Security                                            FALSE
    Transparent Data Encryption                                      TRUE
    Active Data Guard                                                TRUE
    

    Do not trust with value = TRUE in the parameter $ v as meaning that you can use a feature - you might not be allowed - but if it's WRONG you certainly cannot.

  • Question about oracle.jbo.Row

    Hi all!
    I have a ResultSet (for example ResultSet rs) with the result of a query. Now, I need fill out a line of ResultSet data line object (for example line rw).
    I've invoked rs.next () method, but how can I assign these values to the rw?
    Thank you for your time and your answers.
    JDeveloper version 11.1.2.2.0

    Best regards, Stanislav

    Stanislav,

    Why do you want to get the data into a line object, if you do not have a VO? That is to say, what you're going to do with the line object that you build from the updated result? Can you explain your usecase?

    Arun-

  • Question about Oracle Query Builder

    Hi all

    I'm under Query Builder Version 6.0.7.1.0 to execute a SQL statement. He returned 19200 lines. When I try to export data in the CSV file, it exports only 19000 lines and gives the following error:

    OBE-15502: can have only 19000 lines per document

    Anyone know the cause of the error above? This is a limitation of the export of the query designer or I have some problems of configuration?

    Thank you
    Zahid

    I know the 16000 (not 19000) limit and this limit is coded hard and cannot be changed.

    Werner

  • A question about the license of Oracle 1 g R2 Enterprise Edition

    Hi all


    I have a question about Oracle license and I would be grateful if you could help me thanks.

    I installed an Oracle (11g R2 Enterprise edition) server on a virtual linux machine. The pc being used for this purpose
    is my cell phone company (so a professional and not a personal computer). However, I use this Oracle Server
    only for the purpose, i.e. learning only to run the examples in my Oracle Press books (SQL, PL/SQL and some)
    administrative tasks) just to learn things.

    There is absolutely no data related to my business, stored or used on this server. Whenever I want to work with my
    data of the company, I use the Oracle server of the company that has the appropriate license of course. So, as I said, I
    Use this server of the company on the virtual machine only to run applications/programs in my Oracle Press books just for
    learning and I'm the only person who uses this server (no remote for other users).

    The reason why I needed to install this server on my PC, is that our DBA could not provide a training environment
    for me, with all the privileges and features.


    Should I buy a license for this Enterprise Server installed on my virtual machine?


    Thanks in advance,
    Dariyoosh

    The OTN license agreement:

    >
    LICENSE RIGHTS
    We grant an exclusive, non-transferable, limited license to use the programs only for the purpose of developing, testing, prototyping and demonstrating your application and not for other purposes. If you use the application you develop in this licence for any internal or for any commercial or purposes data processing production, or you want to use the programs for purposes other that those permitted under this agreement, you must get a production version of the program by contacting us or a reseller of Oracle to obtain the appropriate license. You acknowledge that we may not produce a production version of the programme and the development efforts undertaken by you at your own risk. We can check your use of the programs. Program documentation, if any, may be consulted online at http://otn.oracle.com/docs.

    Ownership and Restrictions all retain us the property and rights of intellectual property in the programs. Programs can be installed on a single computer only and worn by one person in the operating environment identified by us. You can make a copy of the program for backup purposes.

    You can not:
    -Use programs for your own internal data processing or for commercial or production purposes, or programs for any purpose except the development of your application.
    -use the applications you develop with programs for any internal data processing or commercial or production without obtaining an adequate license from us;
    -continue to develop your application after using for any treatment data internal, commercial or production end without obtaining an adequate license from us, or Oracle reseller;
    -remove or change any brand of program or a statement of property rights;
    -put the programs available in any manner to a third party;
    -Use programs to provide a third of training;
    -assign this contract or give or transfer the programs or interest to them to another person or entity; -cause or permit engineering reverse (unless required by law for interoperability), disassembly or decompilation of the programs;
    -disclose the results of benchmark tests of any program without our prior written consent.

  • Question about the Oracle database resource management

    Good evening
    I have a question about Oracle database Resource Management (DRM) for Oracle Database 10 g. I had an incident which, in a development/UAT environment (different instances, same box, don't ask), a developer wrote a wrong SQL statement that consumed 99% of the CPU. Currently, there is no limit of resources on two cases of db, and the developers don't want limits. However, my manager wants a method to prevent something like this does not happen. If I use the Oracle database resources management, create a consumer group (called "DevEnv") at 40% CPU usage, what will happen if a user of DevEnv runs a bad SQL statement that normally consumes 90% CPU again? Anyone would take a different approach? Thank you.

    Sincerely,
    Sho Fukamachi

    782718 wrote:
    If users in the case of "db_uat" use 60% CPU would be users who belongs to DevEnv pending 'db_test' cannot be used more than 40% CPU, so their queries become slower at their end? I would like to know if this behavior works the same in an environment of multiple instances. Thank you.

    Yes, because the available processor would be 40%, they use more, while.

  • Question about cloud connectors

    We try to create a cloud to Eloqua connector. I read the CloudConnectorSampleGuide. I have a few questions about the expected data models and models of general implementation.

    Configuration of the connector of the cloud

    • The CC stores the identification information for each configured CC step Eloquya Eloqua?
      • What are the guidelines for the safe password storage? (I can't store the passwords as dirty one-way-hash that I need the password during execution.  The two-way hash gives an illusion of security but is not better than the plaintext).
    • When the CC is configured, where credentials should take place between the 1st and the 2nd screen? (i.e. as a hidden form field, session cookie cookie/etc.)
    • Eloqua warns the CC when a step is deleted?

    Cloud connector performance

    • What is the average number of steps configured Single that manages the CC?
    • Is it possible for a CC to have 1000 s and unique not configured to query?
    • What are the guidelines for scalability when the connector has to travel 1000 steps configured and survey? The CC requires a worker architecture to manage a large number of configured steps?
    • Are there best practices around the CC recovery hangs
      • For example: CC acquires the State waiting for members and moves to the current State. The CC blocks before the end of the stage. What is the approach suggested for

    recovery of the tasks in the current handling during recovery state? (assuming I have multiple instances of CC of the Eloqua poll). Is the connector of cloud supposed to maintain States of WIP to manage recovery correctly?

    Dmitry, once again, it is entirely to the developer.  When you add contacts to a stage, they will be processed in batches.  There is no limit to how much you add, and since they are left to step up to that dealt with by the connector, how long they sit depends on how long your connector takes to do its job.  Expectations, of course the faster you can deal with the best.

  • Question about business and Service of Proxy

    Hi friends,
    I have a question about services and proxy services business IE I need to find the time it takes to call an operation on multipoint business of proxy service, how can I do in oracle service bus (OSB)? You can help quickly

    If your question is only about the performance analysis,
    try to activate the 'monitoring' on the 'operational' of the Service Proxy Service/Company tab.
    For the Proxy Services, if you activate at the level of the 'Action' you get a lot of information about each individual action in a power of attorney.

    See http://www.javamonamour.org/2011/06/osb-profiling-your-proxy-service.html

  • Question about updating models models

    I use Dreamweave CS3.

    I get this thing to model (I think).  But I have in fact two versions of the pages of my site.  I created a template, 'A' as the main template for the site with all the links, the headers and footers.  I've created and then model 'B' of A special sub-pages for the site with a background image.  Models A and B are similar links and page footers.  In fact, I used the command 'make model' on the common menu to identify the editable regions and create models.  Here's the question:

    If I update model, is supposed to update all pages spawned him.  If I update model A, it will be not only the update B model, but all pages created of model B as well?

    Thanks for your help,
    W!

    Have a look here-

    http://www.CSSzengarden.com

    Now, think about this.  Each page on this site has the SAME HTML.  The only difference is the CSS associated with each page.

    If you have that much flexability just by changing the CSS, why would you ever need nested models - and the answer is, do it not.

    The B or the secondary model, cloned from Master model, should be used for what I call the nave bar level pages.  This is exactly the same as that of master model has, but I included a background image in the editable div section.

    A simple style sheet embedded in the editable area of the head of this page of the child can make this background image to change it for you.  No need for nesting patterns.

    When you arrive at this page, you will see links to the other pages that I have created as content pages (using the main template).  Again, the only difference between A & B is the background image.

    If page B links are unique to the pages B, consider this-

    * create an editable region in A model, where you have to insert the menu for pages in B.

    * Save A template so that all your pages filled with this combo box.

    for A child pages, let the empty edit box.

    for pages B, insert either a DW library item containing your items of secondary navigation or a server-side include containing the navigation elements.

    You have all the benefits of working with only a model unique and all the flexibility of CSS page/content development and can provide SSI/library items.  No nested model!

Maybe you are looking for

  • What RAM to upgrade?

    Hello! I'm planing to order another stick of RAM to 4 GB for my laptop X 220. The laptop already has 4 GB PC3 - 10600 DDR3 SDRAM 1333 MHz SODIMM RAM. What is the difference between 1.35v and 1.5V RAM? Is one of them significantly faster? The second m

  • New home for lollipop

    For those who want to customize their home, here's a tip from google. https://play.Google.com/store/apps/details?ID=com.Google.Android.Launcher

  • CM1415fnw: Color Balance question - where are the reds?

    Have used this printer personally and professionally for years - of graphics.  Last month the reds escaped in the output.  70% of magenta toner left.  Replacement cartridge - no change.  Have twin grandchildren, and photos with green babies are NOT a

  • Adding firepower of Services one ASA existing 5515 x

    I have a 5515cx ASA existing with an SSD. Material: ASA5515, 8192 MB RAM, 3059 MHz Clarkdale, CPU 1 CPU (4 cores) ASA: 4096 MB of RAM, 1 CPU (1 core)Internal ATA Compact Flash, 8192MBBIOS Flash MX25L6445E @ 0xffbb0000, 8192 KB Hardware encryption dev

  • where can I get casio wk3800 windows 7 32 bit driver?

    Please tell me where to find the driver for the casio WK-3800 keyboard model to use in windows 7 (32-bit) suggest me the link to download. Thank you