View is ignoring the hints

I am using Oracle 10g R2.
I want to pass hints to a view but they are not being honoured.
CREATE VIEW V AS
     SELECT DT.UNIQUE_ID,
            DT.INFO_ID AS BATCH_REFERENCE,
            DT.INSTRUCTION_ID AS TR_REFERENCE,
            DT.TOTAL_TRANSACTION_NO AS NO_OF_TRANSACTIONS,
       FROM    MY_PAYMENT DT JOIN MY_STATUS ST
             ON DT.BATCH_STATUS = ST.STATUS;
Now when I run the below query, then hints are ignored. However if i pass the INDEX hint directly in the above SELECT in the view definition, then hints are honoured.
SELECT /*+ INDEX(V.DT) */ * FROM V
Can you help?

Moazzam wrote:
So what is the objective behind using a HINT to force an index scan?
Actually, the statistics gathering job takes more than 16 hours to complete. Due to which, most of the time, the plan generated are not optimized due to lack of up to date stats.
In that case trying to bypass the actual issue by using HINT does not look like a wise idea to me. Any ways you need to use GLOBAL HINT when using VIEW.
Oracle documented it in detail. You can read it here
http://docs.oracle.com/cd/B19306_01/server.102/b14211/hintsref.htm#i22065
Below is a simple example using EMP and DEPT table.
Following is the view
SQL> create view v
  2  as
  3  select d.dname, e.ename
  4    from emp e join dept d
  5      on e.deptno = d.deptno;
View created.
Now plan for the query with and without hint
SQL> explain plan for
  2  select e.ename, d.dname from emp e join dept d on e.deptno = d.deptno;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 14164142
| Id  | Operation                    | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT             |         |    11 |   242 |     4  (25)| 00:00:01 |
|   1 |  MERGE JOIN                  |         |    11 |   242 |     4  (25)| 00:00:01 |
|   2 |   TABLE ACCESS BY INDEX ROWID| DEPT    |     4 |    52 |     1   (0)| 00:00:01 |
|   3 |    INDEX FULL SCAN           | DEPT_PK |     4 |       |     1   (0)| 00:00:01 |
|*  4 |   SORT JOIN                  |         |    11 |    99 |     3  (34)| 00:00:01 |
|   5 |    TABLE ACCESS FULL         | EMP     |    11 |    99 |     2   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   4 - access("E"."DEPTNO"="D"."DEPTNO")
       filter("E"."DEPTNO"="D"."DEPTNO")
18 rows selected.
SQL> explain plan for
  2  select /*+ INDEX(e emp_pk) */ e.ename, d.dname from emp e join dept d on e.deptno = d.deptno;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 2399836226
| Id  | Operation                     | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT              |         |    11 |   242 |     3  (34)| 00:00:01 |
|   1 |  MERGE JOIN                   |         |    11 |   242 |     3  (34)| 00:00:01 |
|   2 |   TABLE ACCESS BY INDEX ROWID | DEPT    |     4 |    52 |     1   (0)| 00:00:01 |
|   3 |    INDEX FULL SCAN            | DEPT_PK |     4 |       |     1   (0)| 00:00:01 |
|*  4 |   SORT JOIN                   |         |    11 |    99 |     2  (50)| 00:00:01 |
|   5 |    TABLE ACCESS BY INDEX ROWID| EMP     |    11 |    99 |     1   (0)| 00:00:01 |
|   6 |     INDEX FULL SCAN           | EMP_PK  |    11 |       |     1   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   4 - access("E"."DEPTNO"="D"."DEPTNO")
       filter("E"."DEPTNO"="D"."DEPTNO")
19 rows selected.
Now plan for the query on view with and without hint
SQL> explain plan for
  2  select * from v;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 14164142
| Id  | Operation                    | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT             |         |    11 |   242 |     4  (25)| 00:00:01 |
|   1 |  MERGE JOIN                  |         |    11 |   242 |     4  (25)| 00:00:01 |
|   2 |   TABLE ACCESS BY INDEX ROWID| DEPT    |     4 |    52 |     1   (0)| 00:00:01 |
|   3 |    INDEX FULL SCAN           | DEPT_PK |     4 |       |     1   (0)| 00:00:01 |
|*  4 |   SORT JOIN                  |         |    11 |    99 |     3  (34)| 00:00:01 |
|   5 |    TABLE ACCESS FULL         | EMP     |    11 |    99 |     2   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   4 - access("E"."DEPTNO"="D"."DEPTNO")
       filter("E"."DEPTNO"="D"."DEPTNO")
18 rows selected.
Now we use GLOBAL TABLE HINT
SQL> explain plan for
  2  select /*+ INDEX(@SEL$2 e emp_pk) */ * from v;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 2399836226
| Id  | Operation                     | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT              |         |    11 |   242 |     3  (34)| 00:00:01 |
|   1 |  MERGE JOIN                   |         |    11 |   242 |     3  (34)| 00:00:01 |
|   2 |   TABLE ACCESS BY INDEX ROWID | DEPT    |     4 |    52 |     1   (0)| 00:00:01 |
|   3 |    INDEX FULL SCAN            | DEPT_PK |     4 |       |     1   (0)| 00:00:01 |
|*  4 |   SORT JOIN                   |         |    11 |    99 |     2  (50)| 00:00:01 |
|   5 |    TABLE ACCESS BY INDEX ROWID| EMP     |    11 |    99 |     1   (0)| 00:00:01 |
|   6 |     INDEX FULL SCAN           | EMP_PK  |    11 |       |     1   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   4 - access("E"."DEPTNO"="D"."DEPTNO")
       filter("E"."DEPTNO"="D"."DEPTNO")
19 rows selected.
SQL>

Similar Messages

  • KDE4 ignores font hinting settings [solved: qt bug, fixed in 4.5]

    Full hinting enabled in Gnome and KDE:
    Slight hinting enabled in Gnome and KDE:
    KDE seems to ignore the hinting settings. It's present in ~/.fonts.conf, also Qt3 apps work fine.
    I would like to use slight hinting everywhere, but KDE4 defaults to full hinting anyway
    Google wasn't very helpful on this issue, and I found no mention of it in the KDE bugzilla.
    Last edited by eWoud (2008-10-05 10:34:21)

    Edit2: Oops, ignore my patch - it doesn't work. Qt4 doesn't even use cairo.
    Last edited by brebs (2008-10-10 02:24:04)

  • Oracle Ignores hint in One Instance and uses the hint in another instance

    Hi Oracle World,
    I am experiencing a strange problem in Oracle.
    We have two oracle servers: one for Test and one for Production.
    We have exactly the same code for a view in both the systems:
    The code is as follows:
    CREATE OR REPLACE FORCE VIEW V_FT(...................)
    AS
    SELECT /*+ star_transformation fact (FT) */
    FT.*, AH.ACCT_1, LH.REGION, FH.FNCT_1
    FROM
    LOCATION_HIERARCHY LH,
    ACCOUNT_HIERARCHY AH,
    FUNCTIONAL_HIERARCHY FH,
    FACT_TABLE FT
    WHERE
    LH.COMPANY = FT.COMPANY
    AND AH.ACCOUNT = FT.ACCOUNT
    AND FH.FUNCTIONR = FT.FUNCTION;
    When I see the execution path:
    In Test box the Explain plan is as expected: It takes the Star_transformation hint into account, converts all three reference table joins to bitmap and performance is good.
    But In Production, It tatally ignores the table name from the hint.
    Also it converts all the tables names to lower case: though it shouldn't impact, I have also tried to give the table names in lower case and then tried. Same issue.
    Tried with NO_MERGE hint. It was pretty good in Test but same issue in Production: it ignoes the table name from hint.
    I have taken out the table name from test and then tested. Now both the explain plans match. That proves oracle ignores the table name in Production.
    We have compared all the parameters in both. They are 100% same. All indexes are analyzed. Can anyone please help what could be the fundamental difference that causes this difference?
    Production takes 8 minutes for a specific query whereas Test returns the same query in 45 secs. Data volume is also not very much different except few hundreds.
    Any pointers please?
    Thanks & Regards
    Saswati

    It is enabled. As I have mentioned we have compared all the parameters in both.
    All v$parameter, init.ora settings everything is same.

  • Is it possible to ignore the cover page of a document when viewing two pages at a time.

    when viewing a document with two pages up at a time, I want to ignore the very first page/cover page in the document so that all subsequent pages line up correctly. I can't find how to do this, is it possible. I cannot extract or delete the first page b/c the document is protected. I don't want to modify the document in any way. This document is a catalog that has information spread across two pages. So, when the cover page is included in the two page scroll viewing option, all the corresponding pages are offset by one page. I want the cover page to be at the top, by itself and the rest of the pages to show side by side.

    Show - Page Display - tick Show Cover Page in Two Page View.
    On Fri, Aug 15, 2014 at 4:55 PM, lost in acrobat <[email protected]>

  • Oracle 9i ignores INDEX hint

    Hello,
    I try to convince Oracle to do a index scan rather then a full table scan in a query. To
    do this I created a view on top of the table which simply adds this hint:
    CREATE OR REPLACE VIEW V_FHDDSC3_FACT_DATA_4WEEK AS
    SELECT /*+ INDEX(T P_FHDDSC3_FACT_DATA_4WEEK) */
    T.*
    FROM T_FHDDSC3_FACT_DATA_4WEEK T
    The whole query is here:
    SELECT v_fhddsc3_geography_dim.geog_tag, v_fhddsc3_product_dim.prod_tag,
    v_fhddsc3_time_4week_dim.time_tag, v_fhddsc3_fact_data_4week.m001,
    v_fhddsc3_fact_data_4week.m002, v_fhddsc3_fact_data_4week.m003,
    v_fhddsc3_fact_data_4week.m004, v_fhddsc3_fact_data_4week.m005,
    v_fhddsc3_fact_data_4week.m006, v_fhddsc3_fact_data_4week.m007,
    v_fhddsc3_fact_data_4week.m008, v_fhddsc3_fact_data_4week.m009,
    v_fhddsc3_fact_data_4week.m010
    FROM v_fhddsc3_geography_dim,
    v_fhddsc3_time_4week_dim,
    v_fhddsc3_fact_data_4week,
    v_fhddsc3_product_dim
    WHERE ( v_fhddsc3_geography_dim.geog_key =
    v_fhddsc3_fact_data_4week.geog_key
    AND v_fhddsc3_product_dim.prod_key =
    v_fhddsc3_fact_data_4week.prod_key
    AND v_fhddsc3_time_4week_dim.time_key =
    v_fhddsc3_fact_data_4week.time_key
    AND ( v_fhddsc3_geography_dim.geog_tag IN
    (:"SYS_B_00",
    :"SYS_B_01",
    :"SYS_B_02",
    :"SYS_B_03",
    :"SYS_B_04",
    :"SYS_B_05",
    :"SYS_B_06",
    :"SYS_B_07",
    :"SYS_B_08"
    AND v_fhddsc3_product_dim.hierarchy_level IN (:"SYS_B_09")
    AND v_fhddsc3_time_4week_dim.time_tag IN
    (:"SYS_B_10",
    :"SYS_B_11",
    :"SYS_B_12",
    :"SYS_B_13",
    :"SYS_B_14",
    :"SYS_B_15",
    :"SYS_B_16",
    :"SYS_B_17",
    :"SYS_B_18",
    :"SYS_B_19",
    :"SYS_B_20",
    :"SYS_B_21",
    :"SYS_B_22",
    :"SYS_B_23",
    :"SYS_B_24",
    :"SYS_B_25",
    :"SYS_B_26",
    :"SYS_B_27",
    :"SYS_B_28",
    :"SYS_B_29",
    :"SYS_B_30",
    :"SYS_B_31",
    :"SYS_B_32",
    :"SYS_B_33",
    :"SYS_B_34",
    :"SYS_B_35",
    :"SYS_B_36"
    The execution plan shows a full table scan on T_FHDDSC3_FACT_DATA_4WEEK.
    The index is the primary key of the table containing PROD_KEY, GEOG_KEY and TIME_KEY.
    Why is Oracle 9i ignoring index hints?
    I came across the same problem some months ago, when we migrated one database from 8i to 9i. After that an INDEX_ASC hint was suddenly ignored. We used an index + and INDEX_ASC hint to sort a hierarchical query.
    We had to change the algorithmn and use a Database function to get it sorted right. This is painfull and slow.
    Any ideas?
    Kai

    Kai,
    Remember a hint is just that, a hint to the optimizer, it does not override the execution plan created by the optimizer. Possibilities are that the statistics in the database are out of date, which will affect the Cost based optimizer. Indexes on views are tricky as they would rely on the indexes on the underlying tables.
    Few AskTom links which may help:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:1705043::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:313416745628,%7Bhint%7D%20and%20%7Bindex%7D
    http://asktom.oracle.com/pls/ask/f?p=4950:8:1705043::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:641623836427,%7Bhint%7D%20and%20%7Bindex%7D
    http://asktom.oracle.com/pls/ask/f?p=4950:8:1705043::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1197786003246,%7Bhint%7D%20and%20%7Bindex%7D
    Sometimes the full scan can be quicker, than the index depending on the query.
    Regds
    Dave

  • How to get Materialized View to ignore unused columns in source table

    When updating a column in a source table, records are generated in the corresponding materialized view log table. This happens even if the column being updated is not used in any MV that references the source table. That could be OK, so long as those updates are ignored. However they are not ignored, so when the MV is fast refreshed, I find it can take over a minute, even though no changes are required or made. Is there some way of configuring the materialized view log such that the materialized view refresh ignores these updates ?
    So for examle if I have table TEST:
    CREATE table test (
    d_id NUMBER(10) PRIMARY KEY,
    d_name VARCHAR2(100),
    d_desc VARCHAR2(256)
    This has an MV log MLOG$_TEST:
    CREATE MATERIALIZED VIEW LOG ON TEST with rowid, sequence, primary key;
    CREATE MATERIALIZED VIEW test_mv
    refresh fast on demand
    as
    select d_id, d_name
    from test;
    INSERT 200,000 records
    exec dbms_mview.refresh('TEST_MV','f');
    update test set d_desc = upper(d_desc) ;
    exec dbms_mview.refresh('TEST_MV','f'); -- This takes 37 seconds, yet no changes are required.
    Oracle 10g/11g

    I would love to hear a positive answer to this question - I have the exact same issue :-)
    In the "old" days (version 8 I think it was) populating the materialized view logs was done by Oracle auto-creating triggers on the base table. A "trick" could then make that trigger become "FOR UPDATE OF <used_column_list>". Now-a-days it has been internalized so such "triggers" are not visible and modifiable by us mere mortals.
    I have not found a way to explicitly tell Oracle "only populate MV log for updates of these columns." I think the underlying reason is that the MV log potentially could be used for several different materialized views at possibly several different target databases. So to be safe that the MV log can be used for any MV created in the future - Oracle always populates MV log at any update (I think.)
    One way around the problem is to migrate to STREAMS replication rather than materialized views - but it seems to me like swatting a fly with a bowling ball...
    One thing to be aware of: Once the MV log has been "bloated" with a lot of unneccessary logging, you may perhaps see that all your FAST REFRESHes afterwards becomes slow - even after the one that checked all the 200000 unneccessary updates. We have seen that it can happen that Oracle decides on full table scanning the MV log when it does a fast refresh - which usually makes sense. But after a "bloat" has happened, the high water mark of the MV log is now unnaturally high, which can make the full table scan slow by scanning a lot of empty blocks.
    We have a nightly job that checks each MV log if it is empty. If it is empty, it locks the MV log and locks the base table, checks for emptiness again, and truncates the MV log if it is still empty, before finally unlocking the tables. That way if an update during the day has happened to bloat the MV log, all the empty space in the MV log will be reclaimed at night.
    But I hope someone can answer both you and me with a better solution ;-)

  • Query View missing in the BI Content

    Hi
    I want to install a 3.x Web Template which is using a Query View as the dataprovider, but the Query View is not available as D-version and hence the Web Template throws an error that the query view is missing and hence cannot execute the web Template.
    I have checked in the tables : RSZWVIEW and there is an entry but there is not object in RSORBCT to install.
    SAP BI_CONT version 704 level : 003
    When i try to activate the D-version of the query view the it gives the following message:
    *Object 0CSAL_C07_Q0101_V01 (Query View) could not be collected for object  ()
    Message no. RSO296
    Diagnosis
    You have collected objects in the BI Metadata Repository. Associated objects for object  of type  have also been collected. Object 0CSAL_C07_Q0101_V01 of type Query View was among these objects.
    However, this object 0CSAL_C07_Q0101_V01 of type Query View is not available in the metadata repository.
    System Response
    Object 0CSAL_C07_Q0101_V01 of type Query View is ignored in further collections. The links for object  of type  are incomplete. This may result in you not being able to activate this object.
    Procedure
    If this error occurs while you are installing BI Content, an error may have occurred during the delivery. Inform SAP. In all other cases, check that the object has not been deleted by another user during collection, for example.*
    Please let me know incase of any other info required.Thanks!

    Hi Kumar....
    Go to Datasource Repository(RSA2)................give the datasorce name and click on display.......from there u will get the extract structure name......copy it ...........go to SE11.............In the table field give the Extract structure name.............and click on the Where used list in the top.................from there u will get all the program name/Function module............where this extract structure is used...........copy that name and open it through SE37................
    Hope this helps..........
    Regards,
    Debjani........

  • How to ignore the password policy in a custom workflow?

    Hi,
    We have a custom workflow which is called via SPML to provide 'Administrator Change Password' functionality in a portal.
    Our password policy sets the String Quality rules and Number of Previous Passwords that Cannot be Reused. But we like to bypass the password policy when the password administrators (who have a admin role with a capability - 'Change Password Administrator'). At least, restriction ' Number of Previous Passwords that Cannot be Reused' need to be ignored (But password need to be added to the history... cannot disable adding passwords to history).
    Please advice me how it could be achieved?
    The workflow steps:
    1. Checkout 'ChangeUserPassword' view for the user as an administrator
    2. Set the new password in the view, set true to view.savePasswordHistory
    3. Set password on the resources
    4.Checkin the view
    Thanks
    Siva

    Thanks eTech.
    My main goal is to skip the password history check (new password can't be a last used 10 passwords) when admin change password workflow is launched. As you suggested , I created a special password policy exactly as our regular password policy excluding "Number of Previous Passwords that Cannot be Reused" setting.
    Then before change the password of a user as admin, special policy is attached , password changed, and user's password policy is reverted back to regular one. The issue is, as the special policy does not enforce the password history check, the whole password history of the user is wiped out from the user object when the password is changed by admin change password workflow. We don't want this to happen.
    Please guide me whether is anyway to achieve just ignoring the password history without any other impact on user.
    Is adding passwords to user object's password history list is triggered by "Number of Previous Passwords that Cannot be Reused" setting of the password policy??
    Thanks
    Siva

  • How do I get the "hint" to appear earlier in the slide in Software Demo - Training mode?

    I am doing a software demo for a customer in training mode, and I would like the  "hint" to appear right away when they enter the slide.  The user will have no idea what to do, so I want them to be informed right when they enter the slide.  Is there a way to change the behavior of the "hint" button?
    Thank you!
    Ryan

    Thanks Lilybiri.  That is what I ended up doing.   Is there a way to change the behavior of the “hint” and “failure” buttons ?
    Thanks again!  You are very helpful.
    Ryan
    Re: How do I get the "hint" to appear earlier in the slide in Software Demo - Training mode?
    created by Lilybiri<http://forums.adobe.com/people/Lilybiri> in Adobe Captivate - View the full discussion<http://forums.adobe.com/message/4714659#4714659

  • View is affecting the perfomance

    Hi all,
    I have a query that retrives the data from two views.
    SELECT
    DISTINCT
    di.emp_name,
    di.age,
    di.department
    FROM
    data.v_employee di
    JOIN
    data.v_role r USING (emp_id)
    WHERE
    r.roll_name = 'manager' AND
    di.age='50' AND
    di.experience >20
    r.supervisor is null;
    This query is taking more time to execute.when i am executing this views with inputs individualy, the query is running too fast,but when joining the two views the query takes more than 30 minutes some times results not coming while an hour.
    I am not supposed to change the views for perfomance.the only option i have to make this query faster with out changing the views.
    Does an optimizer hints will we works for the view select query to improve perfomance?
    Is there any other way to re write query that improve perfomance.
    Please help to understand the view perfomance in a select query.
    Thanks in advance for your response.
    Regards,
    Senthur

    HOW To Make TUNING request
    SQL and PL/SQL FAQ
    NOTHING forces you to actually use either VIEW

  • Master Detail Form is ignoring the 4th join condition

    Hello All,
    I have master detail relationship between two tables with a
    composite foreign key (of 4 columns). I'm creating a master
    detail form in O9iAS Portal 3.0.9.8.0 on these 2 tables
    successfully with no errors. The only thing I have noticed, is
    that the wizard does not populate the join conditions
    automatically in step#3. The form runs Okay but it ignores the
    last condition (i.e., 4th), which means that it brings too many
    details records.
    Any ideas
    Much appreciated if you can CC me: [email protected]
    Hamada Hima

    I had this same problem with master/detail form and 4 join conditions. I opened up a TAR and after several weeks
    Oracle determined this to be a bug and submitted it to developers.
    For a work around, I created a view with two of the join fields concatenated together, then created another md form
    with 3 join conditions and it worked. Good luck.

  • How to ignore the customer with delete stamp when customer identification

    Hi Expert,
       In customer identification of the call center, SAP standard does not ignore the customer which has delete stamp. From our biz, we don't want to catch them when corresponding customer call. And we will create a new customer with the phone number. How can I ignore and create the new customer?
    BRs
    Liu Bo

    Hi,
    open in transaction BSP_WD_CMPWB the component ICCMP_BP_SEARCH.
    Go to View BuPaSelectCustomer
    Go to the IMPL class.
    Redefine method DO_PREPARE_OUTPUT to filter out the customers you don´t want which means delete them from the BOL collection.
    Kind regards
    Manfred

  • Whwn i try to download i am prompted for an installer password which i don't know the hint means nothing ?

    when i try to download software it puts a password box up stating setup wants to make changes type your password to allow..
    i have no idea what this password is and the hint means nothing
    I can't go any further in downloading
    HELP
    Michael

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Setting Up An eMail Account
    http://support.apple.com/kb/ht4810
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • How to Ignore  the signal?

    Insert a number if the number of digits of that number is greater than its average return true else false.
    So what i'd like to know , (and btw sorry about the other questions) how can it ignore the signal ?
    e.g: number_aux = 53 -> this will be: Number of digits: 2
    Media = (5 +3) / 2 = 4
    ( 2 < 4 ) then return false. now i'd like to find a way to insert -53 (negative) and the output must be the same (false) ignoring de signal "-"
    here is my code:
    In this code if u inserted a negative ( -6 or -53) the output is always true because e takes in mind the signal . How do i tell him to ignore it?
        System.out.println.... 
          int number _aux =Integer.parseInt(... ....etc
                                              int sum = 0;
              int count = 0;
              int media;
              while (number_aux != 0){
              int digit = number_aux % 10;
              number_aux  /= 10;
              sum += digit;
              if(number_aux  >= 0) count++;
              media =(int) (sum / count);
              return (count > media);thank you so much.
    Josh

    I already used my brain LOLO , if new the answer i
    would not be here ask for help lol.
    shiver You forgot to add three or more exclamation marks.
    give me a hint , how to ignore the signal without
    that method ( using my code)If I'd give you any number, how would you do it? What would there conditions and formula be? Think about that. Programming isn't magic. It's finding a step-wise solution to a problem and writing it down.

  • Bug: Universal app input controls (i.e. Start Menu, Task view buttons) ignoring and missing interpretative translation for legacy input control context request (right-click)

    Redundant post - however the topic (title) is different to point out the potential of adding translation for right-click to universal app input controls. The part about a solution for translation is in bold at the bottom of this post ...
    Bug: Universal app input controls (i.e. Start Menu, Task view buttons) ignoring and missing interpretation translating right-click to a left-click to activate context (menu) in universal app web style (similar to oo context menu for oo legacy style).
    Bug: Task view: OO context menu: Should show "nothing" (like right-click Start Menu button) - but right click Task view shows the oo context menu for the Task bar (wrong context)
    Besides behaving wrongly (should be like right clicking the Start button) ....
    the problem is the user is likely to look for actions on that context menu.
    However to activate the context menu for this universal app kind of behavior you actually need to left-click the button for the Task view ... and then you get the universal app like context menu.
    Microsoft must have been trying to figure out what to do about this kind of voupling mismatch between legacy (right-click) and universal app (left-click) conmtext menus. confusing for users it weill become nevertheless.
    But the left-click style supports touch.
    One solution though is to support right-click on i.e. Task view and Start button. Thus for new kind (universal app kind-of)input controls - right-click will work (instead of just being ignored) just like left-click. Allthough not a correct left-click
    - it will be helpful and interpretive translating the intension of receiving a context. A practical solution with right-click translating into left-click for universal app controls considering that the context menu actually has become a hybrid of left-click
    and right-click (with a precedence for left-click though)

    This is a great post.
    I couldn't have written it myself better.
    I'm also in dying need of Korean input as I can't communicate with my Korean friends.
    But I second every point.
    I hope the tech teams are reading this.

Maybe you are looking for

  • Upgrading Oraccle DB 9.1.0.4 to 9.2.0.8

    Hi Gurus, I need to upgrade my db which is in 9.1.0.4 to 9.2.0.8. Do i need to install 9.2.0.1 in another mount point and later patch it till 9.2.0.8 or straight can upgrade to 9.2.0.8. Also how to exp/omp our 230GB DB into new one and which has lots

  • How to undo "Set case to" on a column in the data foundation?

    Hello, I have a multisource universe currently pointing at only one database (Oracle). In the data foundation I right-clicked one of the columns named "Category" and selected "Set case to upper case". This broke the query with the following error: "D

  • Additional Screen In Sales Order

    Hi All, I want to add some more fields in the sales order Additional screen A and B. So how can i proceed about it. Is there any Screen exit is there or do i have to take access key and change the screen by addign the fields. Thanks In advance. Thank

  • Unicode mixup in fonts

    I have a question about unicode mixups. I have a lot of old files with old fonts. If I need to upgrade some file, sometimes I need to change a font. Now some fonts will get you the problem that the unicode of the glyphs is not recognised or mixed up.

  • Installation Error Linux Metadata Management XI 3.1

    Hi everybody I have a situation when install the BOMM on linux. Enter the SAP BusinessObjects Enterprise installation directory: > /bobj/boxi/ ERROR   No installation of SAP BusinessObjects Enterprise XI 3.1 could be found at the specified path.Pleas