ORA-00934: function of group not allowed error when creating index

ORA-00934: Group feature is not allowed here
create index idx_emp on emp(max(install_time))

Hello

Daniel wrote:
ORA-00934: Group feature is not allowed here

create index idx_emp on emp(max(install_time))

It's true. It is documented in the Manual of the SQL language

Restrictions on Function-based Indexes 

Function-based indexes are subject to the following restrictions:
...
The column_expression cannot contain any aggregate functions.

MAX is an aggregate function.

What problem are you trying to solve? If you could create an index like this, how would you use it?
Explain what you need to do, and someone will help you find a good way to do it.

Tags: Database

Similar Questions

  • Get the error when creating indexes in RAC environment in 11 g

    Hi all

    I'm new concept CARS when creating index get below error

    Error: AX_DISABLE_HIST - a SQL error. Position of the error: 0
    Return: 12801 - ORA-12801: error reported in the P146, proceeding parallel query server
    ORA-12853: insufficient memory for buffers PX: run 425904K,.
    Max needed 11105280 K ORA-04031: unable to allocate 32792 bytes of memory ('', 'unknow shared pool
    UNIQUE INDEX CREATE PS_AX_DISABLE_HIST WE PS_AX_DISABLE_HIST (EMPLID) TABLESPACE PSINDEX STORAGE
    (MAXEXTENTS THEN 65536 40000 INITIAL UNLIMITED PCTINCREASE 0) PCTFREE 10 NOLOGGING PARALLEL

    am not able to understand, it's this problem is related to the index or sga memory. can any time help me on that.

    Thanks in advance
    Prabhakar

    Published by: 889571 on May 16, 2013 07:41

    You probably need SGA more because you have a lot of Parallels/slave servers in your instance. I see that you have at least 146. How many processors do you have? Do you need so many parallel servers?

    Lordane Iotzov

  • "The operation is not allowed" error when you click on the SUBMIT"" button.

    I created a form in Acrobat 9 with a "submit" button in order to send the entire form by e-mail.  Under the export format, the PDF the complete document option button is selected.

    The submission is a hidden button until the user presses a button (accepting a warning in the codument; irrelevant); then the Send button appears and can be clciked on. It works very well

    It seems to not work on some browsers MS Internet Explorer or Reader 9 and will return the error "the operation is not allowed.

    The URL field is defined as

    mail to: [email protected]

    On Safari (MAC) browser, when you press the option button to display the Send button, the Send button at all.

    Any ideas?

    I have no idea about the appearance on the MAC, but submit with drive problem, it's that you must enable the form for readers to submit the entire form. There is no need to submit the entire form as FDF or XML data files are easily import the form in Acrobat. The problem with the activation of the rights of the reader, is that you are limited by the license to 500 copies. If you get more than that, you're violating the license. You can negotiate with Adobe if you plan to spend for a substantial sum. If you do not enable the rights of the player, then people should have no problem with the submission (with the exception of any mail problems - a danger of using electronic submission) and you would not have a problem with the license.

    It would be useful to know if you have created the form in Acrobat or Designer. There are significant differences.

  • Not allow error when the URL that works in IE is entered in Firefox 17.0.9

    I copied a URL of IE that opens well and stuck to Firefox 17.0.9 and press ENTER.
    All I get is error "unauthorized".

    You can close it. Problem disappeared after erasing cookies, restart my PC and the rear connection to launch any application in Firefox. Didn't need to upgrade to the latest version of Firefox yet, since most of our applications are supported until version 17 or maybe 18 at the latest.

  • ORA-01723 null columns are not allowed

    We create a table using DEC from a remote database. We use the DEC due to performance issues with INSERT-SELECT.
    EXECUTE IMMEDIATE 'CREATE TABLE ods_idl_vst NOLOGGING AS SELECT * FROM remote_tab@remote_db vst';
    "How can I ' ora-01723 null columns are not allowed" error? Our data base is 11g.

    Hello

    Yes it is possible, then you will need to use the trick of cast, or remove the columns in your selection.

    Herald tiomela
    http://htendam.WordPress.com

  • ORA-01719: outer join operator (+) not allowed in operand of GOLD or IN

    I'm migrating a stored procedure (package) in Oracle 11 g.  The SQL has an outer join, combined with a "GOLD":

    Select a.row1, a.row2, b.row3, b.row4, c.row5, c.row6

    schema1.table1 a, schema1.table2 b, schema2.table3 c

    where

    ((c.orgunit = a.org (+) and b.newaccount (+) and TO_CHAR(c.createdatetime,'MM/DD/YYYY = c.account and c.feed = 'FOO' ') = TO_CHAR (SYSDATE, ' DD/MM/YYYY'))

    or

    ((c.feed = 'BAR' and c.orgunit = a.org (+) and c.account b.newaccount (+) and TO_CHAR(c.createdatetime,'MM/DD/YYYY =') = TO_CHAR (SYSDATE, ' DD/MM/YYYY'));

    The error is:

    ORA-01719: outer join operator not allowed in operand of GOLD or IN

    * Cause: Outer join appears in a clause or.

    * Action: If A and B are predicates, to achieve the effect of (has or B).

    I do not understand how to apply the suggested action to my query above.  Can anyone provide a solution or a workaround?

    Thank you.

    your base table is c, a and b must be attached to the left

    Select a.row1, a.row2, b.row3, b.row4, c.row5, c.row6

    of schema2.table3 c

    Join schema1.table1 left a c.orgunit on = a.org

    c.account left join schema1.table2 b = b.newaccount

    where c.createdatetime > = trunc (sysdate)

    and c.createdatetime<>

    and (c.feed = 'FOO' or c.feed = 'BAR');

  • ORA-02021: DDL Operations are not allowed on a remote database

    Hello

    I need to SELECT grants to a role on a synonym, but I got this error:

    SQL > GRANT SELECT ON SYNERGIA. CoDato_SED to ROLE_SYNERGIA;
    GRANT SELECT ON SYNERGIA. CoDato_SED to ROLE_SYNERGIA
    *
    ERROR on line 1:
    ORA-02021: DDL Operations are not allowed on a remote database


    SYNERGIA. CoDato_SED is a synonym of a remote database create with this script:

    CREATE A SYNONYM SYNERGIA. CoDato_SED for GST. CoDato_SED@BDEEDN. DSYN;

    Please how do I deal with these cases.

    Thank you.
    ----------------------------------------------------
    Version of database: Oracle 9i 9.2.0.8.0
    SO: HP - UX 11.23

    Read the docs.

    You grant privileges on objects that are not synonymous.

  • "Method not allowed" error on TO vAppTemplate /productSections

    According to the documentation, I should be able to make a /productSections of vAppTemplate

    http://www.VMware.com/support/VCD/doc/rest-API-doc-1.5-HTML/operations/put-ProductSections-vAppTemplate.html

    Operation: Sections of products update of a VAPP model [NEW]
    Request: PUT APIURL/vAppTemplate/vappTemplate-id/productSections
    RequestBody: ProductSectionList
    Response: Task

    This causes a "Method not allowed" error. I do this as a system administrator.

    Well, actually, it seems that the vAppTemplates are immutable.

    This is why you cannot update the section of the product of a model.

    You can try adding this article during the creation of vAppTemplate.

  • ORA-14030: partitioning column does not exist in the CREATE TABLE statement

    Hi all

    We are trying to create a partition materialized view and get an error below.
    ORA-14030: partitioning column does not exist in the CREATE TABLE statement
    Our GL_BALANCES21 and GL_CODE_COMBINATIONS21 base tables is already divided by interval of the range on Code_combination_id.
    In the same way that we try to partition the view materialized
    We get the error.
    ORA-14030: partitioning column does not exist in the CREATE TABLE statement
    Where the clause there are 4 tables gl_balances21, gl_code_combinations21, gl_periods and gl_set_of_books.


    CREATE MATERIALIZED VIEW apps. BAL_PART
    PARTITION BY RANGE ("CODE_COMBINATION_ID")
    (SCORE LOWER (80000) VALUES,
    PARTITION OF LOWER VALUES (160000),
    PARTITION OF LOWER VALUES (240000),
    PARTITION OF LOWER VALUES (320000),
    PARTITION OF LOWER VALUES (400000),
    PARTITION OF LOWER VALUES (480000),
    PARTITION OF LOWER VALUES (560000),
    PARTITION OF LOWER VALUES (640000),
    PARTITION OF LOWER VALUES (720000),
    PARTITION OF VALUES LESS THAN (800000),
    PARTITION OF LOWER VALUES (880000),
    PARTITION OF LOWER VALUES (960000),
    PARTITION OF VALUES LESS THAN (10400000),
    PARTITION OF LOWER VALUES (11200000),
    PARTITION OF LOWER VALUES (12000000),
    PARTITION OF LOWER VALUES (12800000),
    PARTITION OF VALUES LESS THAN (13600000),
    PARTITION OF LOWER VALUES (14400000),
    PARTITION OF VALUES LESS THAN (15200000),
    PARTITION OF LOWER VALUES (16000000),
    PARTITION OF VALUES LESS THAN (16800000),
    PARTITION OF VALUES LESS THAN (17600000),
    PARTITION OF VALUES LESS THAN (18400000),
    PARTITION OF VALUES LESS THAN (19200000),
    PARTITION OF LOWER VALUES (20000000),
    PARTITION OF VALUES LESS THAN (20800000),
    PARTITION OF VALUES LESS THAN (21600000),
    PARTITION OF VALUES LESS THAN (22400000),
    PARTITION OF VALUES LESS THAN (23200000),
    PARTITION OF LOWER VALUES (24000000),
    PARTITION OF VALUES LESS THAN (24800000),
    PARTITION OF VALUES LESS THAN (25600000),
    PARTITION OF VALUES LESS THAN (26400000),
    PARTITION OF LOWER VALUES (27200000),
    PARTITION OF LOWER VALUES (28000000),
    PARTITION OF VALUES LESS THAN (28800000),
    PARTITION OF VALUES LESS THAN (29600000),
    PARTITION OF VALUES LESS THAN (30400000),
    PARTITION VALUES LESS THAN (MAXVALUE))
    QUICKLY REFRESH ON DEMAND
    SELECT the QUERY REWRITE as
    SELECT GL.GL_CODE_COMBINATIONS21. ROWID C1,
    GL.GL_BALANCES21. ROWID C2,
    "GL". "" GL_BALANCES21 ". "" ACTUAL_FLAG, "
    "GL". "" GL_BALANCES21 ". "" CURRENCY_CODE "
    "GL". "" GL_BALANCES21 ". "" PERIOD_NUM, "
    "GL". "" GL_BALANCES21 ". "" PERIOD_YEAR ".
    "GL". "" GL_BALANCES21 ". "" SET_OF_BOOKS_ID ""SOB_ID"
    "GL". "" GL_CODE_COMBINATIONS21 ". "" CODE_COMBINATION_ID ""CCID.
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT1 ",.
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT10, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" DIRECTION11, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT12, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT13, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT14, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT2 ",.
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT3. "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT4, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT5, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT6, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT7. "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT8, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT9, "
    "GL". "" "" GL_PERIODS '. "" PERIOD_NAME,"
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) Open_Bal_Cr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) +.
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Close_Bal_Cr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0) Open_Bal_Dr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0) +.
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0) Close_Bal_Dr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0).
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) Open_Bal,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0).
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) +.
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0).
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Close_Bal,
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Period_Cr,
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0) Period_Dr
    OF GL.GL_CODE_COMBINATIONS21.
    GL.GL_BALANCES21,
    GL.GL_SETS_OF_BOOKS,
    GL.GL_PERIODS
    WHERE GL.GL_BALANCES21. CODE_COMBINATION_ID = GL.GL_CODE_COMBINATIONS21. CODE_COMBINATION_ID
    AND GL.GL_SETS_OF_BOOKS. SET_OF_BOOKS_ID = GL.GL_BALANCES21. SET_OF_BOOKS_ID
    AND GL.GL_PERIODS. PERIOD_NUM = GL.GL_BALANCES21. PERIOD_NUM
    AND GL.GL_PERIODS. PERIOD_YEAR = GL.GL_BALANCES21. PERIOD_YEAR
    AND GL.GL_PERIODS. PERIOD_TYPE = GL.GL_BALANCES21. PERIOD_TYPE
    AND GL.GL_PERIODS. PERIOD_NAME = GL.GL_BALANCES21. PERIOD_NAME
    AND GL.GL_PERIODS. PERIOD_SET_NAME = GL.GL_SETS_OF_BOOKS. PERIOD_SET_NAME
    and gl.GL_CODE_COMBINATIONS21.summary_flag! = « Y »

    ERROR on line 54:
    ORA-01013: user has requested the cancellation of the current operation

    I checked the metalink note saying that ensure that all columns in a partitioning column list are columns of
    the table being created.

    Partition is already there, on the column of code_combination_id of gl_balances21 and gl_code_combinations21.

    Please suggest.

    Thank you

    It's your mistake:

    PARTITION BY RANGE ("CODE_COMBINATION_ID") 
    

    but in your projection of column list, you have an alias he:

    "GL"."GL_CODE_COMBINATIONS21"."CODE_COMBINATION_ID" "CCID",
    

    You must use the alias as a partition key, not the name fom the secondary table column.
    --
    John Watson
    Oracle Certified Master s/n
    http://skillbuilders.com

  • System Restore does not allow me to create a restore point

    sys restore does not allow me to create a restore point

    Hello

    Please ensure that you follow these steps:
    1. System opened by clicking on the button start , by clicking on Control Panel, clickingSystem and Maintenance and then click System.

    2. In the left pane, click System Protection if you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. Click the System Protection tab and then click on create.

    4. In the System Protection dialog box, type a description, and then click on create.

  • Msvcr70.dll is not found error when I try to update my monitor driver

    Msvcr70.dll is not found error when I try to update my monitor driver, how to fix? Windows OS Vista.  I get an error the driver update for my HP w2207 monitor and when I try to update the driver this is the error I get.  I ran sfc/scannow, but has not corrected the problem.

    Msvcr70.dll not found error resolution
    http://pcsupport.about.com/od/findbyerrormessage/a/MSVCR70-DLL-not-found-missing-error.htm

    Point 6 and 7 could solve your problem or one of them. Follow the links on specific points about how to?

  • I bought Adobe Acrobat Pro DC student and teacher edition. He told me that my license does not allow me to create or edit pdf files. What is the problem and how to fix it?

    I bought Adobe Acrobat Pro DC student and teacher edition. He told me that my license does not allow me to create or edit pdf files. What is the problem and how to fix it?

    Please visit: https://helpx.adobe.com/x-productkb/policy-pricing/activate-deactivate-products.html

    I hope this helps.

    Concerning

    Megha Rawat

  • New to OAF - oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity for HeaderTableEO line

    Hi I'm new to OFA. I am trying to create a master-details form based on the example given on Youtube (but using my own paintings).

    I have already defined in table colums.

    AM code is as follows:

    Public Sub CreateEmailHdrRow()

    {

    xxVmmcSendEmailDefHdrVOImpl vo = getxxVmmcSendEmailDefHdrVO1();

    String s = "Test";

    Line = vo.createRow ();

    If (!) VO.isPreparedForExecution ())

    {

    vo.setMaxFetchSize (0);

    }

    row.setAttribute ("EmailDefName", s);

    row.setNewRowState (Row.STATUS_INITIALIZED);

    }

    When I run, the error occurs at the level of line (rank rank = vo.createRow ();)

    Error message: oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity for xxVmmcSendEmailDefHdrEO line.

    Any help is appreciated.

    Anjan,

    Please check that the type of the CreatedBy attribute is a number representing the id in FND_USER and not the actual text of the name of the user. Standard Oracle columns that use a number for this value not varchar.

    Kristofer Cruz

  • Not enough RAM when creating 3d text. How can I do to fix this?

    Not enough RAM when creating 3d text. How can I do to fix this?

    I managed to make it work... I think it was because I did not rasterized

    He makes before 3d...

  • oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity.

    Hi all

    I get the following error when executing the Page create purchase orders. I extended the standard EntityObject class: Purchase Order Header to my EO custom, make one here to this EO origin.
    oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity for CustomPurchaseOrderHeaderEO line

    Thank you

    Hi SumitSharma,

    Added the following line to the file Extended Entity Object.xml
    "DefClass ="oracle.apps.fnd.framework.server.OAEntityDefImpl"xx.oracle.apps"below the RowClass ="... "package line.

    This solved my error, but I can't do it this way is fair or unfair suggestions.

    Thank you

    Published by: 995022 on May 14, 2013 22:13

Maybe you are looking for

  • Mystery of the interference sawtooth with all networks

    Airport Extreme is powered over ethernet AT & T 2Wire modem/router. I have 2 nest webcams set up and find that they would sometimes display warnings of "weak wifi signal. So I got the Explorer Wi Fi app to try to see what was going on and optimize my

  • Export of components of multisim to ultiboard

    I would like to export my conception of multisim to ultiboard. I have several pages in my multisim schematic and I when I export to ultiboard, I would like to components in a page to be placed next to each other in ultiboard. What should I do?

  • e-mail and attachments

    I'll have too many problems with others email and attachments, to places of unemployment, what are doing to them. What can I do? I have already sent a request to this topic at Google?

  • How to update a driver

    original title: my mouse moves around when you type, I understand that it is a driver issue, but I'm not a PC person so need a detailed list of what to do I understand that it is a driver issue, but I'm not a PC person so need a detailed list of what

  • Product key can be used again

    Hi I would like to know if I have windows 8 and wanted to downgrade to windows 7 Home premium, I have 7 is installed on the laptop I was able to use my laptop product key and use it to install windows 7 on my desktop?