Function must be evaluated

Hello

I use the following -.

Evaluate ('Rank (%1)' as int, "Fact - work Committee".) ("" Will blink Time (In minutes) ")

But it is showing error like-

State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle error code: 2000, the message: ORA-02000: missing within keyword in the OIC call OCIStmtExecute. [nQSError: 17010] Prepare the SQL statement failed. (HY000)

Someone could I help it?

For the grade that we must change the formula as.

Evaluate ('RANK () OVER (PARTITION BY DRIVE %1 IN %2 DESC)' AS INTEGER, "occupational group".) "' Group name ', 'done - job Instance. ("" Will blink Time (In minutes) ")

And use it to another function under-

Evaluate ('substr (%1, %2, %3)' AS CHAR, "Job définition". ("" Job name ", 1, 5)

Tags: Business Intelligence

Similar Questions

  • Constructor functions must be instance methods?

    Hello

    I have this code as follows:

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="absolute"> "
    < mx:Script >
    <! [CDATA]
    Mx.controls import. *;
    Mx.events import. *;
    Mx.containers import. *;
    Import thematicMap.*;

    public var: region = new region.;
    public var: a scale = new Scale();
    public var ThematicMap:ThematicMap = new ThematicMap(); 1026:constructor functions must be instance methods
    public var ReadXML:ReadXML = new ReadXML();
    private var savedIndex:int = 99999;

    public function addNavigation (): void {}

    var buttonTools:Array = ["Driving Distance", 'Level of Education - College',
    ['Level - High School education', 'Median income', 'Population'];
    var navigationBar:ToggleButtonBar = new ToggleButtonBar();
    navigationBar.dataProvider = buttonTools;
    navigationBar.toggleOnClick = true;
    navigationBar.selectedIndex = - 1;
    navigationBar.addEventListener (ItemClickEvent.ITEM_CLICK, clickHandler);
    pass variables?
    addSlider(); Add the slider control
    vbox.addChild (navigationBar);
    }
    public function addSlider (): void {}

    var text_entry:HBox = new HBox();
    var numColors:TextInput = new TextInput();
    numColors.length is 3;
    numColors.text = "5";
    numColors.restrict = "0-9";
    direction: text of var = new Text();
    direction. Text = "number of colors";
    recalculate the card if the listener is called

    text_entry. AddChild (branch);
    text_entry. AddChild (numColors);
    vbox.addChild (text_entry);
    }

    public void clickHandler(event:ItemClickEvent):void {}
    if(Event.index == savedIndex) {}
    don't do a thing
    }
    else savedIndex = event.index;
    Add the thematic map
    ThematicMap.addRegions (OK); This part has never worked
    mapGrid.addChild (thematicmap);
    }
    []] >
    < / mx:Script >
    < mx:Canvas id = "map" creationComplete = "addNavigation ()" >
    < mx:VBox id = "vbox" x = "20" y = "10" >
    < mx:Canvas id = "mapGrid" / >
    < / mx:VBox >
    < / mx:Canvas >
    < / mx:Application >

    Here's what I have in my ThematicMap.as:

    package thematicMap
    {
    Import MX. Core;
    Mx.events import. *;

    public class ThematicMap {}

    public var region: region = new region.;
    public var readXML:ReadXML = new ReadXML();

    public void addRegions(name:String):void {}
    trace (Name);
    }
    }
    }

    Did I do something wrong here? How did he always tells me that the constructor functions must be instance methods?

    Thanks for your help.

    Alice

    I copied your code and managed to compile with a few glitches:

    • I had to make sure that ThematicMap.as was in the thematicMap directory in the source if the package name was correct.
    • I had to check all the spelling of the names of files and directories (I have problems of typo - I had typed ThermaticMap, and I received a question similar to yours)
    • I had to comment to the region, the scale and ReadXML

    Other than that, it worked.  I check the file name, directory structure and name of the package and go from there.

  • PLS-00630: pipeline functions must have a collection of supported return type

    Hello, I created a TYPE of OBJECT and function PLSQL as shown below, but the function compile errors with that follows. Don't know where is the problem?
    PLS-00630: pipelined functions must have a supported collection return type
    It's about Oracle 10 g r2
    CREATE OR REPLACE TYPE cxs_plsql_profiler_object_type AS OBJECT (
       cxs_object_name      VARCHAR2 (128),
       cxs_object_type      VARCHAR2 (19),
       cxs_object_status    VARCHAR2 (7),
       cxs_read_execution   NUMBER,
       cxs_buffer_gets      NUMBER,
       cxs_disk_reads       NUMBER,
       cxs_executions       NUMBER,
       cxs_sorts            NUMBER,
       cxs_sharable_mem     NUMBER,
       cxs_address          NUMBER,
       cxs_hashvalue        NUMBER,
       cxs_osuser           VARCHAR2 (30),
       cxs_username         VARCHAR2 (30),
       cxs_module           VARCHAR2 (48),
       cxs_machine          VARCHAR2 (64),
       cxs_status           VARCHAR2 (8),
       cxs_terminal         VARCHAR2 (16),
       cxs_percentconsume   NUMBER,
       cxs_percentrepeat    NUMBER,
       cxs_plan             VARCHAR2 (120),
       target_name          VARCHAR2 (200),
       referenced_name      VARCHAR2 (200),
       referenced_type      VARCHAR2 (200),
       targetowner          VARCHAR2 (200),
       refowner             VARCHAR2 (200)
    )
    and here are the API
        FUNCTION CXS_GENERATE_PLSQL_PROFILER
    RETURN cxs_plsql_profiler_object_type
    PIPELINED IS
    out_rec cxs_plsql_profiler_object_type ;
    
    plsbatch plsql_batch;
    skount integer;
    dpendrec depend_tab;
    dkount integer;
    
    
    
    
    CURSOR objects
          IS
             SELECT object_name, object_type
               FROM dba_objects
              WHERE status = 'VALID'
                AND owner NOT IN ('SYS', 'SYSTEM')
                AND object_type IN ('PACKAGE', 'PROCEDURE', 'FUNCTION');
    
          CURSOR apis (p_object dba_objects.object_name%TYPE)
          IS
             SELECT DISTINCT *
                        FROM (SELECT   SUBSTR (a.sql_text, 1, 50) sql_text,
                                       TRUNC
                                          (  a.disk_reads
                                           / DECODE (a.executions,
                                                     0, 1,
                                                     a.executions
                                                    )
                                          ) reads_per_execution,
                                       a.buffer_gets, a.disk_reads, a.executions,
                                       a.sorts, a.sharable_mem, a.address,
                                       a.hash_value, b.osuser, b.username,
                                       b.module, b.machine, b.status, b.terminal,
                                       ROUND
                                          (cxs_db_info.kompute_percentofsql
                                                                   (a.sharable_mem),
                                           5
                                          ) percentkonsume,
                                       cxs_db_info.kount_repeat
                                                             (b.osuser,
                                                              b.terminal
                                                             ) percentr,
                                       c.operation explainplan
                                  FROM v$sqlarea a, v$session b, v$sql_plan c
                                 WHERE b.sql_hash_value = a.hash_value
                                   AND b.sql_address = a.address
                                   AND a.hash_value = c.hash_value
                                   AND a.address = c.address
                                   AND b.status = 'ACTIVE'
                                   AND UPPER (a.sql_text) LIKE
                                                            '%' || p_object || '%'
                                   AND c.ID = 0
                              ORDER BY 2 DESC)
                       WHERE ROWNUM <= 50;   --profile option
    BEGIN
    
    skount := 0;
    dkount := 0;
    
     FOR i IN objects
          LOOP
             FOR j IN apis (i.object_name)
             LOOP
                skount := skount + 1;
                plsbatch(skount).cxs_object_name  := i.object_name;
       plsbatch(skount).cxs_object_type      :=  i.object_type;
       plsbatch(skount).cxs_object_status    :=  i.object_status;
       plsbatch(skount).cxs_read_execution   := j.reads_per_execution;
       plsbatch(skount).cxs_buffer_gets      := j.buffer_gets;
       plsbatch(skount).cxs_disk_reads       := j.disk_reads;
       plsbatch(skount).cxs_executions       := j.executions;
       plsbatch(skount).cxs_sorts            := j.sorts;
       plsbatch(skount).cxs_sharable_mem     := j.sharable_mem;
       plsbatch(skount).cxs_address          := j.address;
       plsbatch(skount).cxs_hashvalue        := j.hashvalue;
       plsbatch(skount).cxs_osuser           := j.osuser;
       plsbatch(skount).cxs_username         := j.username;
       plsbatch(skount).cxs_module           := j.module;
       plsbatch(skount).cxs_machine          := j.machine;
       plsbatch(skount).cxs_status           := j.status;
       plsbatch(skount).cxs_terminal         := j.terminal;
       plsbatch(skount).cxs_percentconsume   := j.percentconsume;
       plsbatch(skount).cxs_percentrepeat    := j.percentrepeat;
       plsbatch(skount).cxs_plan             := j.explainplan;
             END LOOP;
    
             FOR dd IN dpend (i.object_name)
             LOOP
                dkount := dkount + 1;
                dependrec (dkount).target_name := dd.NAME;
                dependrec (dkount).refname := dd.referenced_name;
                dependrec (dkount).reftype := dd.referenced_type;
                dependrec (dkount).target_owner := dd.owner;
                dependrec (dkount).refowner := dd.referenced_owner;
             END LOOP;
          END LOOP;
    
    for a in 1..skount loop
    
       out_rec.cxs_object_type      := plsbatch(a).object_type;
       out_rec.cxs_object_status    := plsbatch(a).object_status;
       out_rec.cxs_read_execution   := plsbatch(a).reads_per_execution;
       out_rec.cxs_buffer_gets      := plsbatch(a).buffer_gets;
       out_rec.cxs_disk_reads       := plsbatch(a).disk_reads;
       out_rec.cxs_executions       := plsbatch(a).executions;
       out_rec.cxs_sorts            := plsbatch(a).sorts;
       out_rec.cxs_sharable_mem     := plsbatch(a).sharable_mem;
       out_rec.cxs_address          := plsbatch(a).address;
       out_rec.cxs_hashvalue        := plsbatch(a).hashvalue;
       out_rec.cxs_osuser           := plsbatch(a).osuser;
       out_rec.cxs_username         := plsbatch(a).username;
       out_rec.cxs_module           := plsbatch(a).module;
       out_rec.cxs_machine          := plsbatch(a).machine;
       out_rec.cxs_status           := plsbatch(a).status;
       out_rec.cxs_terminal         := plsbatch(a).terminal;
       out_rec.cxs_percentconsume   := plsbatch(a).percentconsume;
       out_rec.cxs_percentrepeat    := plsbatch(a).percentrepeat;
       out_rec.cxs_plan             := plsbatch(a).explainplan;
       PIPE ROW(out_rec);
    end loop;
    
    
    for b in 1..dkount loop
        out_rec.target_name := dd.NAME;
                out_rec.refname := dependrec (b).referenced_name;
                out_rec.reftype := dependrec (b).referenced_type;
                out_rec.target_owner := dependrec (b).owner;
                out_rec.refowner := dependrec (b).referenced_owner;
                PIPE ROW(out_rec);
     end loop;
    RETURN;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(DBMS_UTILITY.format_error_backtrace);
    DBMS_OUTPUT.PUT_LINE(SQLCODE);
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    END; 
    and here's tradtional types of tables that are used in the code above.
     TYPE type_plsql_rec IS RECORD (
       cxs_object_name      VARCHAR2 (128),
       cxs_object_type      VARCHAR2 (19),
       cxs_object_status    VARCHAR2 (7),
       cxs_read_execution   NUMBER,
       cxs_buffer_gets      NUMBER,
       cxs_disk_reads       NUMBER,
       cxs_executions       NUMBER,
       cxs_sorts            NUMBER,
       cxs_sharable_mem     NUMBER,
       cxs_address          NUMBER,
       cxs_hashvalue        NUMBER,
       cxs_osuser           VARCHAR2 (30),
       cxs_username         VARCHAR2 (30),
       cxs_module           VARCHAR2 (48),
       cxs_machine          VARCHAR2 (64),
       cxs_status           VARCHAR2 (8),
       cxs_terminal         VARCHAR2 (16),
       cxs_percentconsume   NUMBER,
       cxs_percentrepeat    NUMBER,
       cxs_plan             VARCHAR2 (120)
       );
    
       TYPE plsql_batch IS TABLE OF type_plsql_rec
          INDEX BY BINARY_INTEGER;
          
          
           TYPE type_depend_tab IS RECORD (
          target_name    dba_dependencies.NAME%TYPE,
          refname        dba_dependencies.referenced_name%TYPE,
          reftype        dba_dependencies.referenced_type%TYPE,
          target_owner   dba_dependencies.owner%TYPE,
          refowner       dba_dependencies.referenced_owner%TYPE
       );
    
       TYPE depend_tab IS TABLE OF type_depend_tab
          INDEX BY BINARY_INTEGER;
    Thank you for your time in reading this post

    R

    Johan says:
    Sorry!.
    Actually, I meant

    I thought as well.

    Typos can be expensive however. As a probe of NASA Mars in 99, which was lost due to a simple mathematical error - a confusion between English and metric units. ;-)

    Or screw up a server in reason to use a Unix fork() where the client process think that it is the parent and the beginning more children who believe they are also parents of spawning... (one of my mistakes of kewlest never) :-)

  • Error: Constructor functions must be instance methods - Help!

    Hello experts!

    I use flash and the error message "constructor functions have instance methods." is displayed for the following code:

    invsibleBtn.addEventListener (MouseEvent.CLICK, onClick);

    function onClick(event:MouseEvent):void {}
    navigateToURL (new URLRequest ("http://www.fcnmarketingsolutions.com"));
    }


    New to action script coding - I don't have any idea what I did wrong.  Any suggestions?  Thanks in advance.

    In addition, if you can recommend a good book or the websites that will guide me in Action Script and Flash that makes sense to a beginner, I would appreciate it!  Adobe TV is fine, but they don't fill in the blanks where I need help.  I used the script above watching a YouTube tutorial...

    Thanks again!

    There is a typing error in your actionscript code.

    invsibleBtn.addEventListener (MouseEvent.CLICK, onClick);

    must be:

    invisibleBtn.addEventListener(MouseEvent.CLICK,onClick);
    

    And you have set the Document class to a non-existent class (.as file).

    Clear the Document class field in the Document Properties Panel.

  • Error: 1026 "constructor functions must be instanst methods."  Why?

    I am told that this error occurred on line 3, which is empty. I don't know what could be the problem. Any help would be greatly appreciated.

    package {}
    import flash.display. *;

    toppings of public class extends MovieClip {}
    the inventory of the var: Sweettreat;

    function toppings() {}
    inventory = new Sweettreat (this);
    inventory.makeSweettreatItems ([MCsprinkles, MCchocolate, MCcaramel, MCnuts, MCcherry]);
    }
    }
    }

    Your class definition seems to be missing a little bit to the extent of correctly identifying public and private elements that it contains, but I can't talk to that since I class-challenged.  But I see that between your class code and other code you posted, you are dealing with two things named "toppings" and it is a potential problem.  A class can not also be an instance.

  • Evaluate the function does not not in obiee 11.1.1.7

    Hi all

    I finished the upgrade of obiee 11.1.1.5 to 11.1.1.7 on-site.

    After that I get an error when running a report, which is created using function must be evaluated.

    [nQSError: 43113] The message returned by OBIS. EVALUATE_SUPPORT_LEVEL inside the NQSConfig.INI is not set to support EVALUATE

    In my NQSconfig.ini I coundnt find EVALUATE_SUPPORT_LEVEL. So I added under content in the file NQSConfig.ini

    # EVALUATE_SUPPORT_LEVEL:
    # 1: evaluate is supported for users with the permission of manageRepositories
    # 2: evaluate is supported for all users.
    # other: assess only is not supported if the value is something else.

    EVALUATE_SUPPORT_LEVEL = 2;

    After this, I restarted BI services. But still, I am faced with same error.

    Guide me in this regard.

    Thanks in advance.

    Hi RR,.

    Try this scenario,

    Create a dynamic variable repository in RPD and use this variable in responses like BI @{biServer.Variable ['variable_name']}

    Check if helps.

    Thank you

    Sara - Sara OBIEE

  • date format in a direct request of the database

    I have a report with the direct request of the database.
    I have a quick date... I'm storing the date in a Variable named pv_date presentation.

    In the application of direct database, I have a where clause clause:

    WHERE business_date IN (@{pv_date} {' 01 / 01/2013 '})

    When I run the dashboard open for the first time, his throw me an error near TIMESTAMP.

    WHERE business_date IN (TIMESTAMP "2013-01-01 00:00:00")



    AND ALSO when I run this report to dashboard after you've chosen a date say 20/02/2013, I see the query in the form:

    WHERE business_date IN (2013-02-20 00:00:00)

    and that's why throwing error.


    His mistake to launch in both cases. How can I change the format in the WHERE clause.

    Ideally, I want the query to be WHERE business_date IN (' 20 / 02/2013 ') or Business_date IN ('' 2013-02-20)

    Since you are using Direct database application, you can use the database functions specific to your database such as to_date or to_char.
    Its as good as Toad or sql developer.

    I don't think you should use function must be evaluated as Sai said, correct me if I'm wrong.

    Published by: Srini VIEREN on 29 March 2013 09:21

  • How to get LAST_DAY obiee

    Hello
    I want to correct this query SQL in obiee using the syntax of function must be evaluated?

    Select last_day (add_months(sysdate,-1)) of double... Can someone help me

    Thank you
    saichand.v

    Hello Angelica.

    To get the last day of the previous month, please use the following code in your column's formula:

    TIMESTAMPADD (SQL_TSI_DAY, DAYOFMONTH (CURRENT_DATE) *-1, CURRENT_DATE)

    As it is today, January 20, 2010, this will give you December 31, 2009.

    For the last day and the first day of the current month, please also look at the blog of John Minkjan: http://obiee101.blogspot.com/2008/12/obiee-first-last-of-month.html

    I hope this helps, and if you found this helpful please price points!

    Kind regards
    Jason

  • Invalidation of the index based on a function because the recompilation

    Hello

    one of our customers has two indices according to the functions that fall under the State "off" in some situations. After looking more closely at the situation, there are some things that my opinion are different from what I expected of a function-based index. Because I am unable to find anything about either on metalink (or I'm not asking the right question) I would appreciate a second opinion of you.

    To keep things simple, I gave an example to illustrate the behavior. I use Oracle 12.1.0.2, although it can also be reproduced on versions 10.2 and 11.2.

    It's my environment and three parameters that I find relevant to the discussion:

    SQL> select banner from v$version;
    
    BANNER
    ----------------------------------------------------------------------------
    
    Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
    PL/SQL Release 12.1.0.2.0 - Production
    CORE    12.1.0.2.0      Production
    TNS for Linux: Version 12.1.0.2.0 - Production
    NLSRTL Version 12.1.0.2.0 - Production
    
    SQL> show parameter remote_dependencies
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ----------
    remote_dependencies_mode             string      TIMESTAMP
    
    SQL> show parameter query_rewrite
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- -------------
    query_rewrite_enabled                string      TRUE
    query_rewrite_integrity              string      enforced
    

    Test case:

    SQL> CREATE OR REPLACE FUNCTION f1 (p_string IN VARCHAR2)
      2  RETURN VARCHAR2
      3  DETERMINISTIC
      4  IS
      5  BEGIN
      6    RETURN lower(p_string);
      7  END f1;
      8  /
    
    Function created.
    
    SQL> CREATE TABLE tmp_t1 (a_string VARCHAR2(10));
    
    Table created.
    
    SQL> INSERT INTO tmp_t1 VALUES ('a');
    
    1 row created.
    
    SQL> COMMIT;
    
    Commit complete.
    
    SQL> CREATE INDEX x1_tmp_t1 ON tmp_t1(f1(a_string));
    
    Index created.
    
    SQL> set linesize 80;
    SQL> column index_name format a10;
    SQL> SELECT index_name, index_type, status, funcidx_status
      2    FROM user_indexes;
    
    INDEX_NAME INDEX_TYPE                  STATUS   FUNCIDX_
    ---------- --------------------------- -------- --------
    X1_TMP_T1  FUNCTION-BASED NORMAL       VALID    ENABLED
    

    We have our table and our based on an index function which basically converts the values to lowercase. From here on things, download a little weird. What happens with the index based on a function if the underlying function is recompiled? I always thought (and which is also stated in the Concepts and the use of function index (Doc ID 66277.1)) that the index would change its status to "disabled". Here is an excerpt of the said Doc ID:

    The index depends on the State of the PL/SQL function. The index can be

    struck down or rendered useless by changes to the function. The index is marked

    People with DISABILITIES, if he is brought to the function or function is re-created.

    The timestamp of the function is used to validate the index.

    To allow the index after it is created, the function if the signature of the

    the function is identical to the front:

    ALTER INDEX ENABLE;

    If the signature of functions is changed, to make the changes effective

    in the index, the index must be renewed to make it valid.

    ALTER INDEX REBUILD.

    It seems that this is not the case, as the index remains valid and activate.

    SQL> alter function f1 compile;
    
    Function altered.
    
    SQL> SELECT index_name, index_type, status, funcidx_status
      2    FROM user_indexes;
    
    INDEX_NAME INDEX_TYPE                  STATUS   FUNCIDX_
    ---------- --------------------------- -------- --------
    X1_TMP_T1  FUNCTION-BASED NORMAL       VALID    ENABLED
    

    OK, explicitly recompiling function F1 single timestamp changed. What if we replace the function completely and we change the output of the function - for example we will switch from a LOWER function to SUPERIOR function in the body of the F1. Again, it is change that I thought would be not only to disable the index based on a function, but also force its reconstruction. At least that is my understanding of the explanation in Doc ID).

    SQL> CREATE OR REPLACE FUNCTION f1 (p_string IN VARCHAR2)
      2  RETURN VARCHAR2
      3  DETERMINISTIC
      4  IS
      5  BEGIN
      6    RETURN UPPER(p_string);
      7  END f1;
      8  /
    
    Function created.
    
    SQL> SELECT index_name, index_type, status, funcidx_status
      2    FROM user_indexes;
    
    INDEX_NAME INDEX_TYPE                  STATUS   FUNCIDX_
    ---------- --------------------------- -------- --------
    X1_TMP_T1  FUNCTION-BASED NORMAL       VALID    ENABLED
    
    

    Should not be. Because of the function "create or replace" F1 never go through a "invalid" phase which may be necessary for index becomes unusable? What about queries on the TMP_T1 table? Does optimizer always uses access index or not? What about the results?

    SQL> EXPLAIN PLAN SET statement_id='s1' FOR
      2  SELECT a_string, f1(a_string) as f1_a_string, f1('a') as f1_literal
      3    FROM tmp_t1
      4   WHERE f1(a_string) = 'a';
    
    Explained.
    
    SQL> SELECT * from table(dbms_xplan.display(statement_id=>'s1'));
    
    PLAN_TABLE_OUTPUT                                                                                                   
    ------------------------------------------------------------------------------------------------------------------------
    Plan hash value: 3133804460                                                                                         
                                                                                                                        
    -------------------------------------------------------------------------------------------------                   
    | Id  | Operation                           | Name      | Rows  | Bytes | Cost (%CPU)| Time     |                   
    -------------------------------------------------------------------------------------------------                   
    |   0 | SELECT STATEMENT                    |           |     1 |  2024 |     2   (0)| 00:00:01 |                   
    |   1 |  TABLE ACCESS BY INDEX ROWID BATCHED| TMP_T1    |     1 |  2024 |     2   (0)| 00:00:01 |                   
    |*  2 |   INDEX RANGE SCAN                  | X1_TMP_T1 |     1 |       |     1   (0)| 00:00:01 |                   
    -------------------------------------------------------------------------------------------------
    

    The index is used by the optimizer, see the results.

    SQL> column f1_a_string format a15;
    SQL> column f1_literal format a15;
    SQL> SELECT a_string, f1(a_string) as f1_a_string, f1('a') as f1_literal
      2    FROM tmp_t1
      3   WHERE f1(a_string) = 'a';
    
    A_STRING   F1_A_STRING     F1_LITERAL
    ---------- --------------- ---------------
    a          a               A
    

    A_STRING = value in the table

    F1_A_STRING = value of f1 (a_string) but the value is not evaluated because it comes from an index, so tiny value (remember, at the time index created the function returned small values)

    F1_LITERAL = value of the function f1 newly evaluated, using literal instead of the value in the table.

    Predicate f1 (a_string) = 'a' should return no rows because no character uppercase is equivalent to "a". Query with f1 (a_string) = 'A' should return a line, but it doesn't.

    SQL> SELECT a_string, f1(a_string) as f1_a_string, f1('a') as f1_literal
      2    FROM tmp_t1
      3   WHERE f1(a_string) = 'A';
    
    no rows selected
    

    Anyone know if this is an expected behavior? And, is it possible to disable the index based on a function whenever the underlying function signature is changed? The parameter query_rewrite_integrity = applied from

    DOC-ID 66277.1 does not seem to do the trick:

    (c) session variables

    ~~~~~~~~~~~~~~~~~~~~

    QUERY_REWRITE_ENABLED (true, false),

    QUERY_REWRITE_INTEGRITY (confidence, forced, stale_tolerated)

    determines the optimizer to use index based on a function with

    expressions using SQL, user defined functions functions.

    TRUST: Oracle allows rewrites using relationships that have

    was declared.

    APPLIED: Oracle ensures and guarantees consistency and integrity.

    STALE_TOLERATED: Oracle allows rewrites using vessels of the relationship not applied.

    Used in the case of materialized views.

    Set session variable cost function optimizer to choose the

    a function-based index

    Kind regards

    SAMO

    From the Manual 11.2 ( https://docs.oracle.com/cd/E11882_01/appdev.112/e41502/adfns_indexes.htm#ADFNS254 )

    "If you change the semantics of a DETERMINISTIC run and recompile, then you must manually rebuild all addicts depending on index and materialized views." Otherwise, they report results for the previous version of the function. »

    This note is not that I made my initial comment well - which was based on an incorrect memory the relationship between function-oriented and autonomous pl/sql functions, so I won't try to explain it. In fact, I went back to Oracle 8i practice to see if something had changed between yesterday and today and found that I had described exactly the behavior that the OP has been seeing. It's the way it is supposed to be.

    Concerning

    Jonathan Lewis

  • Reduced with the universal print driver in Windows 7 manual duplex function

    On March 13, 2013, I downloaded the last PCL 6 Universal Printer driver for my Laserjet CP1518NI printer.   Manual duplex printing is now a mess!  In Windows XP, duplexing manual was available for Microsoft documents, but for them, it worked: if I chose to print on both sides, a pop-up window seem to remember to press 'OK' on the printer when it was time to print the second side. I could close this window without affecting the driver himself things correctly configured: he printed the pages first, in reverse order, collected if necessary and rotation so that when this side is complete, all I had to do was take pages on the output tray in put them directly in the input tray and then press OK on the printer, and the other next printed pages, in good order and the correct orientation.

    Here's the worst: when you print a double-sided Word file, I now get a BOX of DIALOGUE MICROSOFT WORD asks me to press "OK" in the dialog box, not on the printer, when you are ready to start printing the second side.  With an open dialog, I can't work with other Word files to the end of the first side printing.

    Is then the settings: apparently, I need to change the settings manually (not what I planned "Manual" Duplex would!) to learn how to print the first side (even pages) in reverse, reverse order / rotation, then the second side (odd pages) in normal order do not hit?  Do I have to change the settings before printing the second side?

    If I don't make all the settings myself, it just prints odd pages in the wrong direction and DISORDER.  If I do all the settings myself, which is exactly the pilot done for me, other than preventing me from working on other documents, the document while current is printing?

    I'm especially disappointed because the old driver worked very well.  I just updated the driver because of what turned out to be another problem.  Sigh.

    In reading the manual. on page 35, it describes how to enable the feature if you have not already:

    http://h10032.www1.HP.com/CTG/manual/c01070718.PDF

    According to the available information this process should not be performed by the driver. However, as I said above, almost all the settings you described I not know can be defined in MS Word. Back to history versions of the drivers, I see the same types of drivers that have been developed for Windows XP and the information I have shows that this function must not have changed.

    In addition, similarly, you should be able to allow printing of greys through the preferences of printer or the printer properties Advanced.

    I would like to know if this helps!

  • Special function keys not working not not on Satellite C50 - Windows 8.1

    Hello

    Please could someone help me.

    I have a Toshiba Satellite C50-A0393, I received a few months ago with already installed Windows 8.1 (64-bit). Today, I got a message saying that I had to watch the PC health, a blue message Toshiba about that the access agreement and I noticed that there are three updates that needed to be done, the only one, I remember being the Toshiba Video Player. I think that another had to do with the light of the charger?
    I do not know.

    But once I rebooted my laptop after the update I noticed that the special function keys were not working (i.e. the volume, mute, pause and play, etc..). Then, I went to the Toshiba Office help and in Control Panel and select the keyboard tab. I did as the setting for the special function mode has been selected.

    Now, when this setting is in place, some keys work but for F3, F5, F6, etc. and when I want to use special features that the volume up and down work when pressing 'Fn', but the special function mode is still selected? These two work only, not the mute or the flightmode or bluetooth, which was operating normally before the updates.

    I googled but can't find something specific to 8.1, or not covered do not upgrade to 8.1. I can't find the flashcard utility and do not want to try something where I don't know what I'm doing. How can I get these special function keys working again normally? Sorry for the long message, but I wanted to give as much information as possible.

    Thank you very much

    Melanie

    Hello

    It seems strange to me that an update of Toshiba (Toshiba Video Player, etc.) would have an impact on the key features of function.
    However, the function key (F1 - F10) can be used in combination with or without the FN key. It depends on the special function key mode.

    In case you want to use the F1 - F12 functions without the FN key, the key mode of function must be enabled (should be set to the special mode of operation)

    Full details here how it works:
    https://APS2.toshiba-tro.de/KB0/HTD2503B90001R01.htm

    Now it these buttons would not work even if pressing the FN key, then there is a problem with the software.

    First of all I would recommend allows you to set the default BIOS because this mode key function can be changed in the BIOS too.
    After this, check if the key would work. If not, reinstall
    Key feature of Toshiba utility

    And the driver for the Toshiba system

    You can also check if the essential service has not been disabled.
    Start the Task Manager and go to start a number of questions. You must activate all Toshiba apps, services and then restart.

  • Pad touch and function Fn + F5 does not work on the Satellite a series

    Hello

    I just install a windows Vista & I have install the driver after download it from the net, but I found this;

    1 - switch between the screen & s-video (fn + f5) does not work but the other work of function (fn)

    2 when I put my finger in the right of the mouse pad you have to scroll the screen & at the bottom of the touchpad, it should scroll left & right on-screen, but it did not work

    So please tell me the solution if it is a problem of driver or program.
    Please give me the direct link

    thinku

    Hello

    What cell phone do you have?

    I imagine that your laptop comes with XP and now want to use it with Vista OS.
    Please note that you should install the Package Toshiba Vista value added to use all the features of the laptop.
    Very important is the pilot of common components and the TOSHIBA Flash Cards.
    The Flashcards provides the Hotkey function and function of pitcher who starts the Hotkey function.
    Please reinstall!

    The additional touchpad functionality must be configured first.
    This can be done in the control panel-> mouse

    Here, you should look for the touchpad settings and able to configure touchpad again scroll areas.

    Good bye

  • nested functions

    Hello I am doing a report with different signals on the axis y and I created a coordinate of curve to show the selected points.

    I don't know how to display the current value of the point initially reported drawn while the coordinate of the curve is moved by the user. I know I can do it with pragmatism once the report is loaded, but I do think that the event signals a report when the coordinate is moved.

    I tried to use the following formula in the text editor and it works separately but when I try to nest them to retrieve the index of the value of x and to match the value of there, it generates an error. Which brings me to my question...

    Maybe it's to nest these two PNo and ChD functions?

    Is it possible to call an external function to be run from the text editor?

    Is there a work around?

    I'd appreciate your help...

    Here's the nested function

    This works...

    @PNO("[12]/[1]",CurrXValue) @.
    @ChD(1,"[12]/[2]") @.

    This is not...

    @@ChD ((PNO("[12]/[1]",CurrXValue)), "[12] / [2]").

    Bertha

    A function is call "User Commands" that allow you to make your own vbs function that can be called to notice or report with the @ prefix and suffix.

    Use of this function must allow you to put together your order based on a vbs that can then be called in your new order.

    Use help to find 'Use of the user controls' for details.

    Paul

  • How to estimate the actual measurements (partially known) data transfer function

    Hello

    I would like to find the transfer function of my system in real time. I put in the attachment as test.txt (time, stimulus, response). I have problems to find the transfer function of my system. Basically, I send a signal to the pump piston and I drive the piston engine, then I read the flow of the flow meter. The flow, we can write as a derivative of the motion multiply surface of the plunger Q = dh/dt * A. It should be noted that begins more than 90 degrees (estimation1.vi watch in phase). As in my system is a derivative of my transfer function must be something like (for example, the second order) b2s ^ b1s 2 ++ 0 / a2s ^ 2 + a1s + a0 and etc. I did a vi but Labview can not find something reasonable. Maybe someone has an idea to improve my vi?

    Thanks for any help.

    Best regards

    Kamil


  • SetCtrlVal used during the Thread function works causes memory leaks

    I am writing a program that works if... Or not work if... - see the next lines... :-)...

    The program includes a section, mostly GUI - and User Interaction.

    The other part is a DLL. In the DLL we readings on an external consultant controller RS232. Sometimes the controller card needs (called how much) time and this time must pass then the result can be read card controller... and so on...

    Blocking is not GUI-user-program for the expectation of the return value of the DLL functions (which need a few seconds to be finished) I start a thread in the DLL with

    CmtScheduleThreadPoolFunction (DEFAULT_THREAD_POOL_HANDLE, THREAD_FunctionX, & tmpTFP, NULL);

    with "tmpTFP" as an instance of type "TYPE_THREAD_FUNCTION_PARAMETERS":

    typedef struct
    {
    //
    int IntVal1;                // 1. Integer-Wert
    int IntVal2;                // 2. Integer-Wert
    int IntVal3;                // 3. Integer-Wert
    int IntVal4;                // 4. Integer-Wert
    int IntVal5;                // 5. Integer-Wert
    //
    int IntBuffer1 [32];            // 1. Integer-buffer (aktuell genugt einer)
    //
    Double DblVal1;                // 1. Double-value
    Double DblVal2;                // 2. Double-value
    Double DblVal3;                // 3. Double-value
    Double DblVal4;                // 4. Double-value
    Double DblVal5;                // 5. Double-value
    //
    char CharVal1;                // 1. (Single)- Tank-Wert
    char CharVal2;                // 2. (Single)- Tank-Wert
    char CharVal3;                // 3. (Single)- Tank-Wert
    char CharVal4;                // 4. (Single)- Tank-Wert
    char CharVal5;                // 5. (Single)- Tank-Wert
    //
    char CharBuffer1 [1024];        // 1. Char buffer (akutell einer genugt)
    //
    } TYPE_THREAD_FUNCTION_PARAMETERS;

    In the GUI-user program - I get fast by default-return value of the thread start function.

    Then I asked the DLL (some global state variables are used for this) when it is finished.

    According to the map-controller (RS232) contacted the waiting time depends on the 'mood' of the controller card.

    In the DLL-mark of the GUI-user-program routine now everything works fine - without using "SetCtrlVal!"

    In my GUI, there is a text box of the info/comment for messages. If I do a few outputs user using 'SetCtrlVal' I always errors, caused by the false "TYPE_THREAD_FUNCTION_PARAMETERS"-values in the service of thread. "» If I set a breakpoint at the beginning thread-function I see mostly erroneous values in my transfer structure variables. If I put a breakpoint in the thread-function-calling 'CmtScheduleThreadPoolFunction (...)"and at the beginning of the thread values are (mostly) correct!

    I tried several and different things - but:

    If I ONLY (!)  Commenting on the (!) of a line with "SetCtrlVal", the program works, all States are asked out of the DLL.

    If I replace the "SetCtrlVal" with a written record-file function clean everything works fine and after completing the program I can look at the log file and see all the user information. BUT with 'SetCtrlVal' instead or set or (...) it does not work.

    My description is maybe not entirely clear, but believe me: only ONE line the «SetCtrlVal "line - should be commented out to let the program run properly!»

    Because if the line "SetCtrlVal"is program-user-GUI, after the call to the thread in the DLL, the DLL-memory seems to be corrupted by the call "SetCtrlVal" in the user-GUI program.»

    Best regards

    F.

    There may be a problem in your structure that your variable is set.

    You said that, after the address of the variable in the thread function the appellant one ends. Now, as you can read help each value passed in parameter threadFunctionData of the layed function must point to an area of memory that persist when the fuction is running: If your variable is defined at the level of the functions it is not valid when the thread runs since the appellant finished and released its local memory.

    Your approach with a global variable is a valid alternative, but if it is the solution, you will find data passed to the thread function must be valid for all his life.

Maybe you are looking for