Help for query!!!

Dear All,
My query shows following type of output;
Query:
select  b.yearqtr,b.cgs_code,b.code,b.name1,b.total--,a.total1
from ibs_cbs_temp b,(select name1,sum(total) as total1
                     from ibs_cbs_temp
                     group by name1) a
where b.name1 = a.name1                    
group by b.name1,b.yearqtr,b.cgs_code,b.code,b.total,a.total1
order by a.total1 desc,b.name1;
Output:
YEARQTR     CGS_CODE     CODE     NAME1                              TOTAL
20051     2          HK     HONG KONG                         2559
20044     2          HK     HONG KONG                         5465
20052     2          HK     HONG KONG                         11332460
20044     1          GB     UNITED KINGDOM                         5355
20051     1          GB     UNITED KINGDOM                         9742
20052     1          GB     UNITED KINGDOM                         6960160
20044     2          SG     SINGAPORE                         3097
20051     2          SG     SINGAPORE                         3529
20052     2          SG     SINGAPORE                         4695826
20051     6          IO     BRITISH INDIAN OCEAN TERRITORY               15
20052     6          IO     BRITISH INDIAN OCEAN TERRITORY               100
20051     6          1W     BRITISH OVERSEAS TERRITORIES (INCL. CHAGOS)     250
20052     6          1W     BRITISH OVERSEAS TERRITORIES (INCL. CHAGOS)     320
20044     5          BF     BURKINA FASO (FORMERLY UPPER VOLTA)          120
20051     5          BF     BURKINA FASO (FORMERLY UPPER VOLTA)          780
20052     5          BF     BURKINA FASO (FORMERLY UPPER VOLTA)          60
20044     5          BI     BURUNDI                              550
20051     5          BI     BURUNDI                              220
20052     5          BI     BURUNDI                              20
Here for
BRITISH INDIAN OCEAN TERRITORY,BRITISH OVERSEAS TERRITORIES (INCL. CHAGOS) these two countries there are no records
for 20044 YEARQTR. For this I want to display 0 values
like;
20051     2          SG     SINGAPORE                         3529
20052     2          SG     SINGAPORE                         4695826
20044     2          SG     SINGAPORE                         0Is there any solution for this.
Please help me.
Thanks In advance,
Prathamesh.

Use this query to obtain all conbinations for yearqty and name1
select a.yesrqtr, b.name1 FROM
(select distinct yearqtr from ibs_cbs_temp) a,
(select distinct name1 from ibs_cbs_temp) b;
Add the above query to the join
Also the the join criteria and b.yearqtr=a.yearqtr
select b.yearqtr,b.cgs_code,b.code,b.name1,b.total
from ibs_cbs_temp b,
(select name1,sum(total) as total1 from ibs_cbs_temp group by name1) a,
(select a.yesrqtr, b.name1 FROM
(select distinct yearqtr from ibs_cbs_temp) a,
(select distinct name1 from ibs_cbs_temp) b) c
where b.name1 = a.name1
and b.yearqtr=a.yearqtr
and b.name1(+)=c.name1
and b.yearqtr(+)=c.yearqtr
order by a.total1 desc,b.name1;

Similar Messages

  • Search Help for query

    Hi,
    I'm facing an issue related to the variable search help.
    I have a query which has been recently migrated to 7.0. When I open the query on Analyzer and look for values in a variable it is throwing me the relevent values for that particular variable itself, which is perfect.
    When I run the same query on portal, and look for variable input values, I'm getting all the master data entries along with the variable value. I do not want all these other master data entries.
    Please help.

    Hi,
    There are two possible read modes for the value help of variables:
    - Read mode "M" means "Values in master data table".
    - Read mode "D" means "Only values in InfoProvider".
    Please set related setting in infoobject level it should resolved your issue.
    Regards,
    Venkat

  • Application Help for Query Designer for Netweaver 2004S

    Does anyone know how to install the Help Files for the Business Explorer Tool for Netweaver 2004S?  When I click on the Help>>Applicaton Help from any of these tools, it states it can't find the files.  I have it setup and working within ABAP.
    Thanks,
    Jeff Cook

    The help dvd that came with upgrade explains how to setup for the ABAP side, not the Query Designer.  Do you know the parameter settings?  Does Query Designer help use the sapdoccd.ini file?
    Thanks ,
    Jeff

  • Need help for query... exam incoming...

    ARTIST(CodA,NameA)
    WORK(CodW,Title,AuthorCode,ExpositionCode)
    Question:
    For each ExpositionCode, find the artists with the greater number of exposed works
    Pls... help!!
    Fabio

    It's running, i have only to remove title
    italics with howmuch as
    italics(select ExpositionCode,AuthorCode,count(*) n from work
    italicsgroup by ExpositionCode,AuthorCode)
    italicsselect ExpositionCode,AuthorCode,n from howmuch h1,ARTIST a
    italicswhere h1.n=(select max(n) from howmuch h2 where h2.ExpositionCode=h1.ExpositionCode)
    italicsand a.CodA=h1.AuthorCode
    I have only a little problem... i can't use "with" clause in the exam, can u write a running query without that?

  • Help for query tuning

    hello all
    my one of query is returning result in 1-2 mins only for 1 lakh record but i am not sure if it showed me complete rows or not because when I an trying to get count of result ..its taking lot of time .when I am using this query on plsql code ..code is running slow so just wanted to confirm on query tuning point of view if its fine or not ..please look onto it and let me know if query is fine or not by explain plan .my oracle version is 11g
    this is my query
    SELECT ROWNUM , TRUNC(rownum/5000) + 20000 ,'FOR_UPDATE', sku_org.NAME ,
    acct_promo_sku.src_num , acct_promo_sku.sub_type ,
    promo_actual.sku_actual_pos
    FROM siebel.s_src acct_promo_hdr,
    siebel.s_src acct_title_format,
    siebel.s_src acct_promo_sku,
    siebel.s_src_x acct_promo_hdrx,
    siebel.s_src_x acct_promo_skux,
    siebel.s_prod_int prod,
    siebel.s_bu promo_hdr_org,
    siebel.s_bu sku_org,
    siebelwb.stg_sbl_acct_promo_actuals2 promo_actual
    WHERE acct_promo_hdr.sub_type = 'PLAN_ACCOUNT_PROMOTION'
    AND acct_promo_hdr.row_id = acct_title_format.par_src_id
    AND acct_title_format.sub_type = 'PLAN_ACCT_PROMOTION_CATEGORY'
    AND acct_title_format.row_id = acct_promo_sku.par_src_id
    AND acct_promo_sku.sub_type = 'PLAN_ACCOUNT_PROMOTION_PRODUCT'
    AND acct_promo_hdr.row_id = acct_promo_hdrx.par_row_id
    AND acct_promo_sku.row_id = acct_promo_skux.par_row_id(+)
    AND acct_promo_sku.prod_id = prod.row_id
    AND acct_promo_hdr.bu_id = promo_hdr_org.row_id
    AND acct_promo_sku.bu_id = sku_org.row_id
    AND prod.x_prod_material_num = promo_actual.material_number
    and prod.X_PROD_SALES_ORG=promo_actual.sales_org
    AND acct_promo_hdr.row_id = promo_actual.acct_promo_id
    and nvl(acct_promo_hdr.pr_accnt_id,0)=nvl(promo_actual.acct_siebel_rowid,0)
    and nvl(acct_promo_hdr.x_indirect_id,0)=nvl(promo_actual.indirect_acct_siebel_rowid,0)
    AND promo_actual.load_date >= TRUNC(SYSDATE)
    AND promo_actual.load_date < TRUNC(SYSDATE + 1)
    explain plan
    PLAN_TABLE_OUTPUT
    Plan hash value: 3864590768
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 298 | 2300 (1)| 00:00:28 |
    | 1 | COUNT | | | | | |
    |* 2 | FILTER | | | | | |
    | 3 | NESTED LOOPS | | | | | |
    | 4 | NESTED LOOPS | | 1 | 298 | 2300 (1)| 00:00:28 |
    | 5 | NESTED LOOPS OUTER | | 1 | 273 | 2298 (1)| 00:00:28 |
    | 6 | NESTED LOOPS | | 1 | 263 | 2296 (1)| 00:00:28 |
    | 7 | NESTED LOOPS | | 1 | 236 | 2295 (1)| 00:00:28 |
    | 8 | NESTED LOOPS | | 1 | 165 | 2292 (1)| 00:00:28 |
    | 9 | NESTED LOOPS | | 1 | 117 | 2289 (1)| 00:00:28 |
    | 10 | NESTED LOOPS | | 1 | 109 | 2289 (1)| 00:00:28 |
    | 11 | NESTED LOOPS | | 1 | 99 | 2287 (1)| 00:00:28 |
    |* 12 | TABLE ACCESS FULL | STG_SBL_ACCT_PROMO_ACTUALS2 | 1 | 49 | 2285 (1)| 00:0
    |* 13 | TABLE ACCESS BY INDEX ROWID| S_SRC | 1 | 50 | 2 (0)| 00:00:01 |
    |* 14 | INDEX UNIQUE SCAN | S_SRC_P1 | 1 | | 1 (0)| 00:00:01 |
    |* 15 | INDEX RANGE SCAN | S_SRC_X_U1 | 1 | 10 | 2 (0)| 00:00:01 |
    |* 16 | INDEX UNIQUE SCAN | S_BU_P1 | 1 | 8 | 0 (0)| 00:00:01 |
    |* 17 | TABLE ACCESS BY INDEX ROWID | S_SRC | 1 | 48 | 3 (0)| 00:00:01 |
    |* 18 | INDEX RANGE SCAN | S_SRC_F2 | 2 | | 2 (0)| 00:00:01 |
    |* 19 | TABLE ACCESS BY INDEX ROWID | S_SRC | 1 | 71 | 3 (0)| 00:00:01 |
    |* 20 | INDEX RANGE SCAN | S_SRC_F2 | 2 | | 2 (0)| 00:00:01 |
    | 21 | TABLE ACCESS BY INDEX ROWID | S_BU | 1 | 27 | 1 (0)| 00:00:01 |
    |* 22 | INDEX UNIQUE SCAN | S_BU_P1 | 1 | | 0 (0)| 00:00:01 |
    |* 23 | INDEX RANGE SCAN | S_SRC_X_U1 | 1 | 10 | 2 (0)| 00:00:01 |
    |* 24 | INDEX UNIQUE SCAN | S_PROD_INT_P1 | 1 | | 1 (0)| 00:00:01 |
    |* 25 | TABLE ACCESS BY INDEX ROWID | S_PROD_INT | 1 | 25 | 2 (0)| 00:00:
    Predicate Information (identified by operation id):
    2 - filter(TRUNC(SYSDATE@!)<TRUNC(SYSDATE@!+1))
    12 - filter("PROMO_ACTUAL"."LOAD_DATE">=TRUNC(SYSDATE@!) AND "PROMO_ACTUAL"."LOAD_DATE"<TRUNC(SYSD
    13 - filter("ACCT_PROMO_HDR"."SUB_TYPE"='PLAN_ACCOUNT_PROMOTION' AND
    NVL("ACCT_PROMO_HDR"."PR_ACCNT_ID",'0')=NVL("PROMO_ACTUAL"."ACCT_SIEBEL_ROWID",'0') AND
    NVL("ACCT_PROMO_HDR"."X_INDIRECT_ID",'0')=NVL("PROMO_ACTUAL"."INDIRECT_ACCT_SIEBEL_ROWID",'0'
    14 - access("ACCT_PROMO_HDR"."ROW_ID"="PROMO_ACTUAL"."ACCT_PROMO_ID")
    15 - access("ACCT_PROMO_HDR"."ROW_ID"="ACCT_PROMO_HDRX"."PAR_ROW_ID")
    16 - access("ACCT_PROMO_HDR"."BU_ID"="PROMO_HDR_ORG"."ROW_ID")
    17 - filter("ACCT_TITLE_FORMAT"."SUB_TYPE"='PLAN_ACCT_PROMOTION_CATEGORY')
    18 - access("ACCT_PROMO_HDR"."ROW_ID"="ACCT_TITLE_FORMAT"."PAR_SRC_ID")
    19 - filter("ACCT_PROMO_SKU"."PROD_ID" IS NOT NULL AND
    "ACCT_PROMO_SKU"."SUB_TYPE"='PLAN_ACCOUNT_PROMOTION_PRODUCT')
    20 - access("ACCT_TITLE_FORMAT"."ROW_ID"="ACCT_PROMO_SKU"."PAR_SRC_ID")
    22 - access("ACCT_PROMO_SKU"."BU_ID"="SKU_ORG"."ROW_ID")
    23 - access("ACCT_PROMO_SKU"."ROW_ID"="ACCT_PROMO_SKUX"."PAR_ROW_ID"(+))
    24 - access("ACCT_PROMO_SKU"."PROD_ID"="PROD"."ROW_ID")
    25 - filter("PROD"."X_PROD_MATERIAL_NUM" IS NOT NULL AND
    "PROD"."X_PROD_MATERIAL_NUM"="PROMO_ACTUAL"."MATERIAL_NUMBER" AND
    "PROD"."X_PROD_SALES_ORG"="PROMO_ACTUAL"."SALES_ORG")
    55 rows selected.
    thanks

    Hi,
    the plan you posted has the cost of 2300, i.e. 2300 single-block reads or equivalent number f multi-block reads. Even if none of the blocks is found in cache, 2300 reas shouldn't take more than a couple of minutes, beacause for most of the hard drives available today a disk read is typically within 5-10 ms.
    This means that if there is a problem, we will never find out about it by looking in the plan. And it's quite likely that there is, in fact, a problem, because the plan contains a bunch of nested joins, and the cost of each nested join is directly proportional to the cardinality of the previous nested loop. I.e. it suffices to make one bad mistake in estimating the number of rows coming fom one of the nested rows to screw up the entire plan and get all remaining estimates (including the total cost of the query) completely wrong.
    In order for us to be able to tell more, we need to see the plan with rowsource statistics, and please don't forget to use tags to preserve formatting (use the preview tab to make sure the posted plan is actually readable).
    Best regards,
      Nikolay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Needed help for  query

    Hi All,
    Here is requirement
    User X has View only and Account manager Role then we don't need to report any changes for him. And if User Y has View Only role then we need to report his activity.
    select u.loginname, p.firstname,p.lastname,g.name
    from sc_user u, bqperson p, sc_acl_group_mem gm,
    sc_acl_group g,sc_acl_group gnm
    where u.bqperson = p.tril_gid and u.tril_groups = gm.collectiongid AND gm.objectgid =
    g.tril_gid AND
    (g.NAME LIKE 'VIEW ONLY' OR g.NAME LIKE 'SME%')
    ORDER BY loginname
    Here is out put
    LOGINNAME FIRSTNAME LASTNAME NAME
    b684276 xxx xxx VIEW ONLY
    default Guest User VIEW ONLY
    n105371 Adil Khan SME EXGRATIA ADMINISTRATOR
    n105371 Adil Khan SME SERVICE CENTRE SUPERVISOR
    n105371 Adil Khan SME PROMOTIONS ADMINISTRATOR
    n105557 Emmanuel Kajjor SME EXGRATIA ADMINISTRATOR
    n105557 Emmanuel Kajjor SME SERVICE CENTRE SUPERVISOR
    n105740 Priya Ghag SME EXGRATIA ADMINISTRATOR
    n105740 Priya Ghag SME SERVICE CENTRE SUPERVISOR
    n106311 Megha Nalawade SME EXGRATIA ADMINISTRATOR
    n106311 Megha Nalawade SME SERVICE CENTRE SUPERVISOR
    n106311 Megha Nalawade SME PROMOTIONS ADMINISTRATOR
    n107864 Ragini Sule SME EXGRATIA ADMINISTRATOR
    n107864 Ragini Sule SME SERVICE CENTRE SUPERVISOR
    n107864 Ragini Sule SME PROMOTIONS ADMINISTRATOR
    n110022 Harikrishna Kurup SME EXGRATIA ADMINISTRATOR
    n110022 Harikrishna Kurup SME SERVICE CENTRE SUPERVISOR
    n110022 Harikrishna Kurup SME PROMOTIONS ADMINISTRATOR
    n110450 Rachana Vasandani SME EXGRATIA ADMINISTRATOR
    n110450 Rachana Vasandani SME SERVICE CENTRE SUPERVISOR
    n110932 Jigna Trivedi SME EXGRATIA ADMINISTRATOR
    n110932 Jigna Trivedi SME PROMOTIONS ADMINISTRATOR
    n110932 Jigna Trivedi SME SERVICE CENTRE SUPERVISOR
    Please advice
    Thanks in advance
    Sachin

    Hi Sudeep,
    Account manager is Simply a role like View Only and 'SME %'
    Some user can have Roles Like 'View only' ,'Account manager' ,'SME%' They are all differnt Role
    Some user Can have only 'View only' Role
    Some user can have 'SMe%' Role
    Some user can have 'SMe%' , 'Account manager' Role
    etc probabilites
    I want to retrieve the record for thiose user who have 'View only' Role or 'SMe%' Role
    Some times it might happened user can have 'View only' ,'Account manager' ,'SME%' .This should come in list
    if USer has any role with 'Account Manager' its result should not appear in Query other wise it should appear

  • Online Help for Query Builder

    All,
    I am new to using Query Builder, but I found a tutorial at:
    http://otn.oracle.com/products/forms/htdocs/d2k/qb/qb1.htm
    When I got to the last slide, it make reference to the "Query Builder Online Help", but I cannot find it. Can anyone help?

    Hi,
    http://www.oracle.com/technology/products/database/application_express/index.html
    http://www.oracle.com/technology/products/database/application_express/html/doc.html
    Good Reading,
    Sim

  • Need help for query

    I have Table1
    ID -- Key -- Name -- City
    1--R1--abc--xyz
    2--R1--abc--xyz
    3--R1--pqr--xyz
    4--R1--abc--xyz
    5--R1--abc--stp
    6--R2--abc1--xyz1
    7--R2--abc1--xyz1
    8--R2--pqr1--xyz1
    9--R2--abc1--xyz1
    10--R2--abc1--stp1
    I want to get result - Max(ID) where Key + Name + City is same for all rows. there should be one max per key
    and result like -
    Key-- MaxID
    R1--4
    R2--9
    Edited by: 871447 on Oct 19, 2011 1:54 PM
    Edited by: 871447 on Oct 19, 2011 1:56 PM

    Maybe (NOT TESTED!)
    select key,max_id
      from (select key,name,city,max(id) max_id,count(*) cnt
              from table1
             group by key,name,city
    where cnt > 1Regards
    Etbin

  • Require help for query

    hi all,
    i had 3 tables
    1) SERV_AUTH_DETAIL WITH COLUMNS
    SERV_AUTH_DETAIL_ID
    NUMBER_OF_UNITS
    UNIT_COST
    SERV_ID
    2) PUR_ORDER_DETAIL WITH COLUMNS
    PUR_ORDER_DETAIL_ID
    PUR_ORDER_ID
    NUMBER_OF_UNITS
    UNIT_COST
    SERV_AUTH_DETAIL_ID
    3) PUR_ORDER WITH COLUMNS
    PUR_ORDER_ID
    SERV_AUTH_ID
    PUR_ORDER_STATUS
    when i issue the following update statement, i got the error stating
    column ambiguously defined
    update t_serv_auth_detail
    set number_of_units = (select number_of_units
    from t_pur_order_detail pod
    join t_serv_auth_detail sa
    on
    pod.serv_auth_detail_id = sa.serv_auth_detail_id
    and pod.pur_order_id = 1)
    where serv_auth_detail_id = (select s.serv_auth_detail_id
    from t_pur_order_detail p
    join t_pur_order po
    on
    p.pur_order_id = po.pur_order_id
    and po.pur_order_id = 1)
    ERROR at line 2:
    ORA-00918: column ambiguously defined
    could anyone give guidelines to correct this error.
    thanks in advance.
    rampa

    In your UPDATE statement:
    UPDATE t_SERV_AUTH_DETAIL SA
       SET NUMBER_OF_UNITS = (SELECT NUMBER_OF_UNITS
                                FROM t_PUR_ORDER_DETAIL POD
                               WHERE POD.SERV_AUTH_DETAIL_ID = SA.SERV_AUTH_DETAIL_ID
                                 AND POD.PUR_ORDER_ID = 1)
    WHERE SERV_AUTH_DETAIL_ID = (SELECT P.SERV_AUTH_DETAIL_ID
                                    FROM t_PUR_ORDER_DETAIL P
                                    JOIN t_PUR_ORDER PO
                                      ON P.PUR_ORDER_ID = PO.PUR_ORDER_ID
                                     AND PO.PUR_ORDER_ID = 1);the 2nd subquery - SELECT P.SERV_AUTH_DETAIL_ID...
    is returning more than one row and you have used a "=" operator to match it. That's the reason for that ORA error.
    pratz

  • Need Help to query Lync Database for User Information

    Need Help to Query the lync database to retrieve below user information.
    1. SIP Address of the registered user
            2. Phone Number configured to the particular account.
            3. IP Address
           4. Last Logged in time.
    I am trying to pull the above information from rtc database for all the registered users. Please let me know if this is possible and it would be great if you can throw some light on what tables to look for the data. Thank You.

    Hi,
    For SIP address and Phone number you can check RTC database.
    IP Address:
    You can refer to the link below to query IP address: 
    http://h30499.www3.hp.com/t5/Business-Service-Management-BAC/Monitoring-Lync-with-the-User-Registrations-Viewer-Free-NMC-tool/ba-p/5961497#.UtOU43mIrwo
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Last Logged in time:
    You can refer to the link below:
    http://blogs.technet.com/b/dodeitte/archive/2011/05/11/how-to-get-the-last-time-a-user-registered-with-a-front-end.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Need help with LikeFilter for querying the keyset instead of value

    Hi,
    I'm looking for help with the LikeFilter.
    I need to query the cache to get all entries with key starting with a particular string.
    I could see samples using LikeFilter for querying the values in the cache but not the keyset.
    Can someone help?
    E.g:
    Cache Entries:
    abc123 - value1
    abc234 - value2
    bcd123 - value3
    I want to get all entries with key starting with 'abc'.
    thanks,
    rama.

    NJ, thanks for the quick reply.
    I tried something similar (as below) but this code gives me 'java.lang.NoClassDefFoundError: com/tangosol/util/ValueExtractor'.
    KeyExtractor extractor = new KeyExtractor("getKey");
    Filter filter = new LikeFilter(extractor, id+":%",'-',false);
    -rama.
    Edited by: 911950 on Feb 2, 2012 1:18 PM

  • Required help for a query

    Hi All....
    Required help for one more query.
    I have a table with data like this:
    Cust_id Transaction_no
    111 1
    111 2
    111 3
    111 4
    111 5
    111 6
    222 7
    222 8
    333 9
    333 10
    333 11
    333 12
    I wrote the following query :
    select cust_id, ntile(3) over (order by cust_id) "Bucket" from trans_detls
    The output is like this :
    Cust_id Bucket
    111 1
    111 1
    111 1
    111 1
    111 2
    111 2
    222 2
    222 2
    333 3
    333 3
    333 3
    333 3
    The problem is that I dont want the cust_id to overlap in buckets. That is one cust_id should be present in only one bucket.
    Is this possible?
    Thanks in advance.
    Ameya

    Or Something like..
    SQL> select * from test;
            ID         NO
           111          1
           111          2
           111          3
           111          4
           111          5
           111          6
           222          7
           222          8
           333          9
           333         10
           333         11
           333         12
    12 rows selected.
    SQL> select id, ntile(3) over (order by rn) "Bucket"
      2  from(
      3      select id,row_number() over(partition by id order by no) rn
      4      from test);
            ID     Bucket
           111          1
           222          1
           333          1
           111          1
           222          2
           333          2
           111          2
           333          2
           111          3
           333          3
           111          3
           111          3
    12 rows selected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Search help for OBJECT ID with Text Description for a query

    I need to create search help for the field object text in HRP1000 - P1000-STEXT table in an infoset based on LDB PCH. Can anyone help me? I want it to appear on the adhoc query screen.
    Thanks,

    look at search help FC_RFCDEST. that problem has already been solved with this search help.

  • Help regarding applet for querying client's MAC?

    Please help with an applet and java code that uses Runtime.getRuntime().exec("ipconfig -all") and gets the client's machine MAC address?
    If any one already worked with applets for querying client mahchine MAC , please give me a solution.

    remus.dragos wrote:
    vasu.mtech wrote:
    I am giving an explanation where I want this:
    We have an application, where user will be given a specific machine(with one MAC) and have to login from there only. If he tries to login from different machine with same user id, we should throw an error message. That's concept. We know that this reduces/kills operatability of the user from different machines.
    But we shouldn't allow the user operating from diffrent machines.What happens if the admins NIC burns? And he gets a news one? He can't log in until you manually change his
    MAC in the database ???Database? That's not secure!
    It has to be hardcoded into the exe (guess what the kid's next question will be?).

  • Please Help for the Query

    Please Help for the Query
    Hi frds please help me for the below query.What I want to do is to pull out the data from below table :-
    date ticker indicator
    03/13/2008 3IINFOTECH -8
    03/18/2008 3IINFOTECH -4
    03/25/2008 3IINFOTECH -5
    03/27/2008 3IINFOTECH -3
    as such :-
    date ticker indicator
    03/13/2008 3IINFOTECH -8
    03/25/2008 3IINFOTECH -5
    03/27/2008 3IINFOTECH -3
    Here I want to find the Trend i.e either asc or desc order from the lowest indicator.
    In the above sample data -8, -4, -5, -3 out of which I want the asc order data -8, -5, -3 and exclude -4 data.Because the asc order -8, -5, -3 will not follow.
    So I want the data
    date ticker indicator
    03/13/2008 3IINFOTECH -8
    03/25/2008 3IINFOTECH -5
    03/27/2008 3IINFOTECH -3

    SQL> CREATE TABLE BORRAME(FECHA DATE, INDICA VARCHAR2(100));
    Tabla creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/13/2008','MM/DD/YYYY'), '3IINFOTECH -8');
    1 fila creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/18/2008','MM/DD/YYYY'), '3IINFOTECH -4');
    1 fila creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/25/2008','MM/DD/YYYY'), '3IINFOTECH -5');
    1 fila creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/27/2008','MM/DD/YYYY'), '3IINFOTECH -3');
    1 fila creada.
    SQL> COMMIT;
    Validación terminada.
    SQL>
    SQL> SELECT FECHA, INDICA
      2  FROM BORRAME
      3  WHERE SUBSTR(INDICA,INSTR(INDICA,'-',1)+1,LENGTH(INDICA)) <> '4'
      4  ORDER BY SUBSTR(INDICA,INSTR(INDICA,'-',1)+1,LENGTH(INDICA)) DESC;
    FECHA                                                                
    INDICA                                                               
    13/03/08                                                             
    3IINFOTECH -8                                                        
    25/03/08                                                             
    3IINFOTECH -5                                                        
    27/03/08                                                             
    3IINFOTECH -3                                                        
                    

Maybe you are looking for

  • Load balancing in the process chains

    HI friends I have 6 subchains in 1 metachain . we are facing a problem  where we have to 2 servers . but when we run the process chains they are  occuping all the DIA process  in only one server . the other server is empty . so is there a way  that w

  • How do i find out if the "find my phone" is enabled on my ipad?

    how do i find out if the "find my phone" is enabled on my ipad 2 32mgs ?

  • Error when loading the Reports from the IC Manager

    Dear CRM Gurus, i am getting the below error message when trying to access the Reports from the IC_MANAGER role 'Error loading template 0TPLI_CSRV_T01_Q0001_V01' and Technical Information for Message: (Error loading template 0TPLI_CSRV_T01_Q0001_V01 

  • Designing Swing Applications - Layout

    When using JDeveloper to design a Swing application (not ADF Swing) is it possible to; 1. when viewing the design of a frame for example, is it possible to display a grid so that you can align components correctly? 2. when you have selected a layout

  • Help my MBP 2011's USB ports only work with powered devices

    Hey. My USB ports are only working with powered devices ( such as an interactive white board) they are not working wiht a USB modem, it picks up but doenst have the energy to dial out. it also doesnt work with a flash drive. this is only recent after