Get SystemDialog result

How to get us the result of what the user choose? I am able to display the dialog box, but I have no idea how to do to capture what the user choose.

dialog = new SystemDialog ("Yes", "No", this);
dialog-> setTitle (title);
dialog-> setBody (message);
dialog-> show();

Thank you!!!

You can run blocking, via the exec command, which returns a result immediately.
or you use display and connect to the finished signal:
https://developer.BlackBerry.com/Cascades/reference/bb__system__systemdialog.html#finished

Tags: BlackBerry Developers

Similar Questions

  • How to get the results of the UK instead of the default USA?

    I live in the United Kingdom and would like to be able to search for UK results. for example, Amazon UK results when I search a product, etc.
    with the option of a search in the world so I don't get the results I want

    To add plugins to search for sites such as Amazon.co.UK and Google.co.uk to Firefox, open this page in Firefox and then search or click the sites that interest you: http://mycroft.mozdev.org/

    When you click on one of the listed search plugins, Firefox will ask you if you want to install it.

    After that, you can open the Firefox Add-ons Manager and click on disable one of the search engine integrated you want to use.

  • [LV-> TS] How to run a SEQ file, get the result (PASS/FAIL) and the report file?

    Hello

    I'm looking for the most obvious and simple, LabVIEW:

    1. start the motor Teststand: FACT

    2. get a list of SEQ files to run: FACT

    3 - loop through the list to run each file follows:<- found="" some="" examples="" but="" i="" have="" some="" trouble="" with="" the="" uimessage="">

    http://zone.NI.com/reference/en-XX/help/370052N-01/tsexamples/infotopics/executing_sequences_using_a...

    4. get the result of the execution of the SEQ:<->

    5 retrieve the XML + name of the generated report file path:<- obviously="" not="">

    http://digital.NI.com/public.nsf/allkb/3D3B2358DF9B786B8625789500549A3B

    http://forums.NI.com/T5/NI-TestStand/getting-report-file-path-location-at-execution-in-TestStand-201...

    Here's my current implementation:

    David Koch


  • Get the result of the sequence by programming

    Hi all

    in my custom operator interface to save the event EndExecution callback to accomplish several final operation.

    What I can't do is to retrieve the result of the sequence ('Success' or 'Failure', exactly the one that is displayed in the default report under the voice "Result USE") using methods or properties API.

    I've tried Execution.ResultStatus property and the SequenceContext.SequenceFailed property, but none of them works.

    How can I get the result of the sequence?

    Thank you

    Process templates are already generating a Message from the user interface "TestingComplete" you can register an event reminder on.  It also transmits the result as part of the parameter string State.  The attached excerpt from LV show what the VI recall may contain to handle the event.  If you need to deal with other UI event codes you can wire the event directly number in the structure box for the 34 decimal 'TestingComplete' event code.

    P.S., the event is the same that Norbert has pointed out, event UIMessageEvent...

  • How to get the result of the test of CVI DLLs in teststand!

    I write a driver dll to test a source, I want to get the tension of world SERVERS (the instrument of the RS) and I used to call DLLs that written by CVI, teststand

    My question is what is the best way I can get the result of the test and show the user to teststand. the code below is fair? When I used to call this dll document, teststand

    "" I just get the result by setting in TS.this is a good meathod, and what should you do in teststand, I put the "outputVoltageV" point to an object?

    /*===========================================================================*/
    / * Function: read voltage/current output * /.
    / * End: this function returns the output and actual output voltage * /.
    / * current instrument.                                      */
    /*===========================================================================*/
    ViStatus _VI_FUNC rsngsm_datReadOutput (ViSession instrSession,
    ViPReal64 outputVoltageV, ViPReal64 outputCurrentA, ViPBoolean statusPeakCurrent)
    {
    ViStatus rsngsm_status = VI_SUCCESS;
    Bruno buf [BUFFER_SIZE];
    ViInt32 retCnt;
       
    FMT (buf, "%s<>
    If ((rsngsm_status = viWrite (instrSession, buf, NumFmtdBytes (), & retCnt))<>
    Return rsngsm_status;
           
    If ((rsngsm_status = viRead (instrSession, buf, 50, & retCnt))<>
    Return rsngsm_status;
    If (Scan (buf, "%s > %f [p2];")) %f [p2]; %i [b2] ", outputVoltageV, outputCurrentA, statusPeakCurrent). = 3)
    Return rsngsm_status;
           
    Return rsngsm_status;
    }

    sean_tan,

    Yes, you just pass a value of digital TestStand (e.g.; locals.number).

    If you use the adapter of the ICB, it might make more sense that you can use the Flexible DLL adapter for this type of function, that you do not use the standard settings of tTestData and tTestError. While TestStand will correctly recognize the function prototype, you want to make sure you that include the type library of your function Panel (you will need to create one if you have not already done so) in settings target of LabWindows / CVI-> type library.

    I hope this helps.

    -Jack

  • Windows 7: all of a sudden, when I enter a search in Explorer 'field research' I get no results.

    Hello

    Suddenly and without installation or messing around with hidden options, if I get *.mp3 in the search box in Explorer on windows 7 64 bit with all the updates, I get no results.

    What happens in a directory with 4 subdirectories and 120 MP3s inside.

    If I use *. * I get no results.

    *.MP3 works in the start menu > programs or search files and gives a lot of results.

    Left me speechless. Any advice?

    OK, I know the ability of research in libraries of indexing operating normally.  So, the first thing to try would be to go in Indexing Options, then click on "search indexing and troubleshooting."  (Indexing Options in Control Panel, or you can search for it in the search box start (Orb) if it works.)

  • Not get scheduling results in the browser of the operator?

    Hello

    I'm scheduling for scenario. I don't get the results in the browser of the operator.  Please find below the screenshot.

    Please help me with the planning. Please solve this problem

    Thanks in advance,

    Bruno has.

    err11.png

    Hello

    I got the answer of gurus odi.

    To resolve this problem, I changed the odiparams properties & I did it again agent. Now his work.

    Thank you best regards &,.

    A.Kavya.

  • OBIEE 11 g: get incorrect results when you browse detailed report summary.

    Hello

    I get incorrect results when you browse detailed report summary.

    Please find the attached document, I have gives step by step with screen shots.

    Please let me the problem and the solution.

    Kind regards

    Srinivas.

    1. What are you going through the link of action, only pass you the values (between 61 and 65) and Total, are

    If so that the parameter value will not restrict your report in detail, try filterout gender and age (between 61 and 65) group through action link.

    2 Total, to filter only the sex,

    Concerning

    Rajagopal.

  • Get the result of the procedure

    Hi all

    I have a procedure using storeb from the collection in an object of type as:

    create or replace type calc_type as object
    (
    field1 number,
    field2 number,
    field3 varchar2);
    
    create or replace type calc_table as table of calc_type;
    
    procedure make_calc_sched(v_id in number, v_user_id in varchar2) is 
    
    table_calc calc_table;
    begin
      select s.id, s.price, s.desc
      bulk collect into table_calc
      from tableA s
      inner join tableB d on d.id = s.id
      --.....
      
    end;
    

    How can I get the result of the procedure?

    procedure make_calc_sched(v_id in number, v_user_id in varchar2, v_table in out ????) is
    

    I plan to put up-to-date and inserts using the FORALL sentence.

    Can I use slider?  Maybe is a better way to do it.

    With the help of Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0

    Thank you

    I think I got it:

    procedure make_calc_sched(v_id in number, v_user_id in varchar2, v_table out calc_table) is 
    
    begin
      select calc_type(s.id, s.price, s.desc)
      bulk collect into v_table
      from tableA s
      inner join tableB d on d.id = s.id
      --.....
    
    end;
    

    I'll look to materialize views more later. Someone at - it examples?

    Best,

  • Get the result of XMLTABLE when "Sub"-XMLTABLE is empty ".

    Hello

    I have an XML with the < Beitragssatzdatei > < ADR > < DFUE > elements where the 'DFUE' element is defined with a minOccurs = "0" maxOccurs = "unbounded".

    DROP TABLE test_xml;

    CREATE TABLE test_xml)

    ID NUMBER

    xml_document XMLTYPE

    );

    INSERT INTO test_xml (id, xml_document)

    VALUES)

    1

    XMLTYPE)

    q'[<? xml version = "1.0" encoding = "iso-8859-1"? >]

    " < Beitragssatzdatei logische_version ="2.0.1"xsi: schemaLocation =" beitragssatz TBSD0-schema - 2.0.xsd "xmlns ="beitragssatz"xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance ">

    < bn ADR = '00000033' kassenart = gueltig_ab '14' = '2013-01-01' letzte_aenderung = '2014-07-02' >

    < Anschrift art = 'Anschrift' >

    < Strasse > <! [CDATA [Am Grünen Tal 50]] > < / Strasse >

    < PLZ > 29063 < / PLZ >

    < ort > <! [CDATA [Schwerin]] > < / Ort >

    < / Anschrift >

    < letzte_aenderung DFUE = "2014-06-16" gueltig_ab "2014-01-01" = >

    < DAVBN bn = "01000240" / >

    < ASTBN bn = "01000251" / >

    < WLSTBN / >

    < / DFUE >

    < letzte_aenderung DFUE = '2014-07-02' gueltig_ab = '01-02-2014' >

    < DAVBN bn = "66993824" / >

    < ASTBN bn = "47056789" / >

    < WLSTBN / >

    < / DFUE >

    < / ADR >

    < bn ADR = "01000068" kassenart = gueltig_bis "14" = "2002-12-31" nachfolge_bn = "90235319" letzte_aenderung = "2014-04-15" >

    < Anschrift art = 'Anschrift' >

    < Strasse > <! [CDATA [time. 10]] > < / Strasse >

    < PLZ > 10963 < / PLZ >

    < ort > <! [CDATA [Berlin]] > < / Ort >

    < / Anschrift >

    < / ADR >

    ([< / Beitragssatzdatei >]')

    );

    COMMIT;

    SELECT adr.betriebsnummer

    dfue. DFUE_letzte_aenderung

    dfue. DFUE_gueltig_ab

    dfue. DAVBN

    dfue. ASTBN

    dfue. WLSTBN

    Test_xml BSD

    XMLTABLE)

    XMLNAMESPACES (DEFAULT ' beitragssatz'),

    ' / Beitragssatzdatei/ADR '.

    PASSAGE bsd.xml_document

    Betriebsnummer PATH VARCHAR2 COLUMNS (8) "@bn".

    adrXML XMLTYPE PATH ' / '.

    ) adr

    XMLTABLE)

    XMLNAMESPACES (DEFAULT ' beitragssatz'),

    "/ ADR/DFUE.

    PASSAGE adr.adrXML

    COLUMNS DFUE_letzte_aenderung DATE PATH '@letzte_aenderung '.

    , DATE of DFUE_gueltig_ab «@gueltig_ab» path

    , PATH of VARCHAR2 (8) DAVBN 'DAVBN/@bn '.

    , PATH of VARCHAR2 (8) ASTBN 'ASTBN/@bn '.

    , PATH of VARCHAR2 (8) WLSTBN 'WLSTBN/@bn '.

    ) dfue;

    ENTERPRISE DFUE_LET DFUE_GUE DAVBN ASTBN WLSTBN

    -------- -------- -------- -------- -------- --------

    00000033 16.06.14 01.01.14 01000240 01000251

    00000033 02.07.14 01.02.14 66993824 47056789

    This way I get only results when DFUE exists. How can I write a query that selects the values of ADR, even when there is no such thing as DFUE?


    ENTERPRISE DFUE_LET DFUE_GUE DAVBN ASTBN WLSTBN

    -------- -------- -------- -------- -------- --------

    00000033 16.06.14 01.01.14 01000240 01000251

    00000033 02.07.14 01.02.14 66993824 47056789

    01000068

    Concerning

    Marcus

    How can I write a query that selects the values of ADR, even when there is no such thing as DFUE?

    Just as we do in SQL, using an outer join:

    SELECT adr.betriebsnummer

    dfue. DFUE_letzte_aenderung

    dfue. DFUE_gueltig_ab

    dfue. DAVBN

    dfue. ASTBN

    dfue. WLSTBN

    Test_xml BSD

    XMLTABLE)

    XMLNAMESPACES (DEFAULT ' beitragssatz'),

    ' / Beitragssatzdatei/ADR '.

    PASSAGE bsd.xml_document

    Betriebsnummer PATH VARCHAR2 COLUMNS (8) "@bn".

    adrXML XMLTYPE PATH ' / '.

    ) adr

    XMLTABLE)

    XMLNAMESPACES (DEFAULT ' beitragssatz'),

    "/ ADR/DFUE.

    PASSAGE adr.adrXML

    COLUMNS DFUE_letzte_aenderung DATE PATH '@letzte_aenderung '.

    , DATE of DFUE_gueltig_ab «@gueltig_ab» path

    , PATH of VARCHAR2 (8) DAVBN 'DAVBN/@bn '.

    , PATH of VARCHAR2 (8) ASTBN 'ASTBN/@bn '.

    , PATH of VARCHAR2 (8) WLSTBN 'WLSTBN/@bn '.

    ) (+) dfue;

    or by using the ANSI syntax, if you prefer:

    XMLTABLE (...)  ADR

    Dfue LEFT OUTER JOIN XMLTABLE (...) ON 1 = 1

  • Need to get the result of the required format

    Hi all

    I'll have the data in a table below:

    IDNUM1num2
    1555555
    2123345
    3456567
    4666666

    IDNUM1num2
    1555555
    2123345
    3456567
    4666666

    and they need to get the result as below:. Help, please...

    IDNUM
    1555
    2123
    2345
    3456
    3567
    4666

    Thanks in advance...

    Hello

    So, instead of having 2 columns on 1 row, you want to have 1 column on 2 rows.  It's just that UNPIVOT:

    SELECT DISTINCT

    ID, num

    D

    UNPIVOT (num

    FOR the label IN (num1, num2)

    )

    ORDER BY id, num

    ;

    It is more effective than the UNION, because it requires only 1 pass through the table.

  • Taking a lot of time to get the result of the query

    Hi all

    The query below takes a long time for results

    select vs.task_name, count(*) fallout_count  from provco.view_stage_history vs
     where record_type in ('TASK')
      and task_name like 'Op-%'
      and vs.line_of_business = 'OPTIONLESS'
    --  and vs.task_due_date > ((sysdate - 146)) and vs.task_due_date is not null
    --  and vs.order_due_date > ((sysdate - 146)) and vs.order_due_date is not null
      and vs.fallout_date > ((sysdate - 146)) and vs.fallout_date is not null
    --  and vs.assignment_date > ((sysdate - 146)) and vs.assignment_date is not null
    --  and upper(vs.install_country_code) like 'US%'
      and vs.ban is not null
    --  and vs.task_name not in ('ASR-Assignment', 'SOR-Assignment')
      group by vs.task_name order by fallout_count desc;
    

    Its takes an hour to get the result. You will find the description of the table and the index below

    CREATE TABLE "PROVCO"."VIEW_STAGE_HISTORY" 
       ( "TASK_ID" NUMBER NOT NULL ENABLE, 
      "ASSIGNMENT_DATE" TIMESTAMP (6) NOT NULL ENABLE, 
      "LINE_OF_BUSINESS" VARCHAR2(30 BYTE) NOT NULL ENABLE, 
      "ORDER_ID" NUMBER NOT NULL ENABLE, 
      "ORDER_NUMBER" VARCHAR2(128 BYTE) NOT NULL ENABLE, 
      "ORDER_VERSION" VARCHAR2(15 BYTE) NOT NULL ENABLE, 
      "ORDER_TYPE" VARCHAR2(25 BYTE), 
      "TASK_NAME" VARCHAR2(60 BYTE) NOT NULL ENABLE, 
      "FALLOUT_DATE" TIMESTAMP (6), 
      "JEOP_CODE" VARCHAR2(64 BYTE), 
      "ERROR_CODE" VARCHAR2(64 BYTE), 
      "ERROR_DESC" VARCHAR2(1000 BYTE), 
      "WORKGROUP" VARCHAR2(30 BYTE), 
      "WORKPOOL" VARCHAR2(50 BYTE), 
      "USER_ID" VARCHAR2(32 BYTE), 
      "RECORD_TYPE" VARCHAR2(40 BYTE) NOT NULL ENABLE, 
      "ASSIGNMENT_TYPE" VARCHAR2(40 BYTE), 
      "ORDER_DUE_DATE" TIMESTAMP (6), 
      "COMMIT_DATE" TIMESTAMP (6), 
      "TASK_DUE_DATE" TIMESTAMP (6), 
      "SEED" VARCHAR2(255 BYTE), 
      "BAN" VARCHAR2(100 BYTE), 
      "ORDER_STATUS" VARCHAR2(64 BYTE), 
      "PROJECT_ID" VARCHAR2(20 BYTE), 
      "CUSTOMER_NAME" VARCHAR2(128 BYTE), 
      "CIRCUIT_ID" VARCHAR2(53 BYTE), 
      "SENSITIVITY_LVL" VARCHAR2(10 BYTE), 
      "BANDWIDTH" VARCHAR2(8 BYTE), 
      "WORK_STEP" NUMBER, 
      "MARKETING_APPROVAL_DATE" TIMESTAMP (6), 
      "INSERTED" TIMESTAMP (6), 
      "UPDATED" TIMESTAMP (6), 
      "INSTALL_COUNTRY_CODE" VARCHAR2(3 BYTE), 
      "SOLD_COUNTRY_CODE" VARCHAR2(3 BYTE), 
      "UPSTREAM_ORDER_NUMBER" VARCHAR2(15 BYTE), 
      "SAR_ID" VARCHAR2(15 BYTE), 
      "DUE_DATE_TYPE" VARCHAR2(4 BYTE), 
      "HOTCUT_IND" VARCHAR2(3 BYTE), 
      "MARKET_SEGMENT" VARCHAR2(50 BYTE), 
      "CNTL_TERM" VARCHAR2(25 BYTE), 
      "SVC_ORD_TYPE" VARCHAR2(40 BYTE), 
      "BLENDED_IND" VARCHAR2(1 BYTE), 
      "RELATED_ORDERS" VARCHAR2(100 BYTE), 
      "TERM_ID" VARCHAR2(20 BYTE), 
      "SUB_SVC_ORD_TYPE" VARCHAR2(40 BYTE), 
      "LAST_TASK_NAME" VARCHAR2(40 BYTE), 
      "PRE_OA_STATUS" VARCHAR2(40 BYTE), 
      "TSP_CODE" VARCHAR2(12 BYTE), 
      "ORDER_CATEGORY" NUMBER, 
      "CHANGE_CATEGORY" NUMBER, 
      "COUNTRY_CODE" VARCHAR2(2 BYTE), 
      "RESELLER_ID" VARCHAR2(19 BYTE), 
      "STATUS_CODE" VARCHAR2(32 BYTE), 
      "STATUS_CATEGORY" VARCHAR2(32 BYTE), 
      "PROVISIONING_LOCATION" VARCHAR2(32 BYTE), 
      "INSTALLED_LOCATION" VARCHAR2(32 BYTE), 
      "DATE_ORDERED" TIMESTAMP (6), 
      "CUSTOMER_NAME_ABBR" VARCHAR2(8 BYTE), 
      "CPE_IND" VARCHAR2(1 BYTE), 
      "CUSTOMER_PON" VARCHAR2(20 BYTE), 
      "PRODUCT_ID" VARCHAR2(20 BYTE), 
      "ASR_PON" VARCHAR2(16 BYTE), 
      "ASR_PON_VER" VARCHAR2(3 BYTE), 
      "ASR_TYPE" VARCHAR2(3 BYTE), 
      "ASR_TRAN_TYPE" VARCHAR2(1 BYTE), 
      "PARTNER_CARRIER_ID" VARCHAR2(8 BYTE), 
      "PREMISE_SEQUENCE_NUMBER" VARCHAR2(3 BYTE), 
      "EXPEDITE_IND" VARCHAR2(6 BYTE), 
      "ORDER_SOURCE" VARCHAR2(40 BYTE), 
      "SERVICE_REQ_ID" VARCHAR2(40 BYTE), 
      "SUB_ORDER_VALUE" VARCHAR2(50 BYTE), 
      "SUB_ORDER_TYPE" VARCHAR2(15 BYTE), 
      "PROV_OWNER" VARCHAR2(32 BYTE), 
      "TASC_OWNER" VARCHAR2(32 BYTE), 
      "DM_OWNER" VARCHAR2(32 BYTE), 
      "ORDNBR_TYPE" VARCHAR2(128 BYTE), 
      "WORK_ID" NUMBER, 
      "GARM_TYPE" VARCHAR2(50 BYTE), 
      "USER_TASK_DUE_DATE" TIMESTAMP (6), 
      CONSTRAINT "VIEW_STAGE_HISTORY_PKY" PRIMARY KEY ("TASK_ID", "ASSIGNMENT_DATE")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
      STORAGE(INITIAL 131072 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "TBS_PROVCO_IDX"  ENABLE, 
      SUPPLEMENTAL LOG GROUP "GGS_211360" ("TASK_ID", "ASSIGNMENT_DATE") ALWAYS
       ) SEGMENT CREATION IMMEDIATE 
      PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 
     NOCOMPRESS LOGGING
      STORAGE(INITIAL 524288 NEXT 524288 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "TBS_PROVCO_DAT" ;
    
    
      CREATE INDEX "PROVCO"."VIEW_STAGE_HISTORY_IDX5" ON "PROVCO"."VIEW_STAGE_HISTORY" ("ORDER_NUMBER", "TASK_NAME") 
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
      STORAGE(INITIAL 131072 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "TBS_PROVCO_IDX" ;
    
    
      CREATE INDEX "PROVCO"."VSH_INSERTED_IDX" ON "PROVCO"."VIEW_STAGE_HISTORY" ("INSERTED") 
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
      STORAGE(INITIAL 131072 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "TBS_PROVCO_IDX" ;
    
    
      CREATE INDEX "PROVCO"."VSH_LOB_OT_ON_IDX" ON "PROVCO"."VIEW_STAGE_HISTORY" ("LINE_OF_BUSINESS", "ORDER_TYPE", "ORDER_NUMBER") 
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
      STORAGE(INITIAL 131072 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "TBS_PROVCO_IDX" ;
    
    
      CREATE INDEX "PROVCO"."VSH_LOB_TN_IDX" ON "PROVCO"."VIEW_STAGE_HISTORY" ("LINE_OF_BUSINESS", "TASK_NAME") 
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
      STORAGE(INITIAL 131072 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "TBS_PROVCO_IDX" ;
    

    Explain the plan of the query is

    SQL> explain plan for
      2  select vs.task_name, count(*) fallout_count  from provco.view_stage_history vs
     where record_type in ('TASK')
      3    4    and task_name like 'Op-%'
      5    and vs.line_of_business = 'OPTIONLESS'
      6  --  and vs.task_due_date > ((sysdate - 146)) and vs.task_due_date is not null
      7  --  and vs.order_due_date > ((sysdate - 146)) and vs.order_due_date is not null
      8    and vs.fallout_date > ((sysdate - 146)) and vs.fallout_date is not null
      9  --  and vs.assignment_date > ((sysdate - 146)) and vs.assignment_date is not null
     10  --  and upper(vs.install_country_code) like 'US%'
     11    and vs.ban is not null
    --  and vs.task_name not in ('ASR-Assignment', 'SOR-Assignment')
     12   13    group by vs.task_name order by fallout_count desc;
    
    
    Explained.
    
    
    SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'typical cost bytes'));
    
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Plan hash value: 3788003769
    
    
    ------------------------------------------------------------------------------------------------------------
    | Id  | Operation                     | Name               | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    ------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT              |                    |   191 | 10505 |       |   136K  (1)| 00:27:24 |
    |   1 |  SORT ORDER BY                |                    |   191 | 10505 |  1536K|   136K  (1)| 00:27:24 |
    |   2 |   SORT GROUP BY NOSORT        |                    |   191 | 10505 |       |   136K  (1)| 00:27:24 |
    |*  3 |    TABLE ACCESS BY INDEX ROWID| VIEW_STAGE_HISTORY | 21528 |  1156K|       |   136K  (1)| 00:27:21 |
    |*  4 |     INDEX RANGE SCAN          | VSH_LOB_TN_IDX     |   229K|       |       |  1474   (1)| 00:00:18 |
    ------------------------------------------------------------------------------------------------------------
    
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
    
       3 - filter("VS"."BAN" IS NOT NULL AND "RECORD_TYPE"='TASK' AND "VS"."FALLOUT_DATE">SYSDATE@!-146)
       4 - access("VS"."LINE_OF_BUSINESS"='OPTIONLESS' AND "TASK_NAME" LIKE 'Op-%')
           filter("TASK_NAME" LIKE 'Op-%')
    
    
    18 rows selected.
    

    the view_stage_history table has 19504509

    Please let me know somehow that we can speed up the query above.

    Thank you

    Mani

    How much time does it take if you suggest a full table scan?

  • Get the result of the REST call to a workflow VCO

    Hello

    I need to call a workflow of the REST API, it works very well as long as I expect 'simple' outputs like numbers or strings.

    I want to get an array of strings, and when I get the result I get the following:

    (...), "none": [{"name": "ResultArray", "type": "Array/string", "scope": "LOCAL"}], "startedBy": (...)

    I see my table of results, but how do I access the values?

    The ugly method would return a string that represents the table with a separator, but I would like to avoid this method.

    Clues?

    Thanks in advance!

    If the output is valid in a valid JSON file (you can find viewers JSON / online editors) then a myObject = JSON.parse (outputString); will transform the JSON string into a javascript object.

    Then, you'll be able to get properties with IE:

    for each (var outputParameter of in myObject.outputParameters)

    {OutputParameter.name System.log}

    Note: this is pseudocode so that you get the idea. To know the structure of the object check it in a JSON Viewer.

  • Get different results even script according to what VM it hits?

    Hello.

    IM starting to Powershell and PowerCLI, so you will know at what level it is on =)

    I get different results depending on what VM my script hits (whetever they may or may not have more than one drive). I do not understand how I can fix this...

    For example, I created 4 new virtual machines.

    TestVMfirst1 have only a single drive

    TestVM02 have 2 drives

    TestVM03 have 3 discs

    TestVM04 have only a single drive

    My goal is to get a CSV with all disks included. I want the name, the data store and SizeGB, this info I get from Get-hard drive.

    When I run my script to select all 4 virtual machines:

    $VMs = get-cluster-name kluster01 : get-vm-name TestVM *

    -----------------------------------------------------------------------------

    $VMs = get-cluster-name kluster01 | Get-vm-name TestVM *.

    $Results = @)

    {foreach ($VM to $VMs)

    $Result = new-object PSObject

    $Result | Add-Member - membertype NoteProperty-name 'Name' - value $VM. Name

    $VMDiskCount = 1

    Get-$VM hard drive | {foreach}

    $disk = $_

    $Result | Add-Member-'Disc ($VMDiskCount) name' name-value $disk. Name - membertype NoteProperty

    $Result | Add-Member-name '($VMDiskCount) Datastore disk' - value $disk. Filename.Split(']') [0]. TrimStart('[') - membertype NoteProperty

    $Result | Add-Member-name 'Disk ($VMDiskCount) SizeGB' - value ([math]: round ($disk.) CapacityKB / 1 MB))-membertype NoteProperty

    $VMDiskCount ++

    }

    $Results += $Result

    }

    $Results | Select-object * | format-table

    -----------------------------------------------------------------------------

    I get the result with max 1 disc:

    Name(1) name of discDisk data store (1)SizeGB disc (1)
    --------------------------------------------
    TestVMfirst1Hard drive 1DS-20140
    TestVM02Hard drive 1DS-20140
    TestVM03Hard drive 1DS-20140

    But if I run the same thing but with TestVM0 * (selects 4-2 VMs):

    $VMs = get-cluster-name kluster01 | Get-vm-name TestVM0 *.

    -----------------------------------------------------------------------------

    $VMs = get-cluster-name kluster01 | Get-vm-name TestVM0 *.

    $Results = @)

    {foreach ($VM to $VMs)

    $Result = new-object PSObject

    $Result | Add-Member - membertype NoteProperty-name 'Name' - value $VM. Name

    $VMDiskCount = 1

    Get-$VM hard drive | {foreach}

    $disk = $_

    $Result | Add-Member-'Disc ($VMDiskCount) name' name-value $disk. Name - membertype NoteProperty

    $Result | Add-Member-name '($VMDiskCount) Datastore disk' - value $disk. Filename.Split(']') [0]. TrimStart('[') - membertype NoteProperty

    $Result | Add-Member-name 'Disk ($VMDiskCount) SizeGB' - value ([math]: round ($disk.) CapacityKB / 1 MB))-membertype NoteProperty

    $VMDiskCount ++

    }

    $Results += $Result

    }

    $Results | Select-object * | format-table

    -----------------------------------------------------------------------------

    I get this result:

    Name(1) name of discDisk data store (1)(1) name of the disc SizeGB disc (2).Disk data store (2)SizeGB disc (2)
    -------------------------------------------- ----------------------------------------
    TestVM02Hard drive 1DS-201Hard 40 2 discDS-20110
    TestVM03Hard drive 1DS-201Hard 40 2 discDS-20210
    TestVM04Hard drive 1DS-20140

    I miss all my disks on TestVM03, I seems that the first VM sets the limit on how many records can be issued in the table... A dirty solution is to create a model on the first target VM disks, but it seems the wrong way to solve my problem.

    Thanks in advance

    You're conclusion is correct, I'm afraid, the first line determines how many properties, you will see.

    Alternatively, you can sort the lines on the number of properties in descending order.

    Something like that

    $Result | Tri-objet-property {($_ |)} Get - Member). {Count of}-descending | Format-Table

  • Can I get some results with the SDK sample debugging?

    Debugging a sample project folder in VB2008 Je couldn't get no results. an InDesign plugin Add?

    There is a close the .exe plugins folder, or you create a file PlugInConfig.txt.

    See "se - started.pdf ' (e.g. page 13 version CS6).

Maybe you are looking for