How to find out combination from following situation

Dear all,
It is bit different,with your permition,i am taking this apartunity to make some changes.
1 2 3 will always be in this order {123}, i want to find out number of cases can be made,
like {1},{2},{23},{13},{12},{123}{3},{}. but each number has two states like "a" "b", i.e,
each one will become different entity,like 2a,2b,3a,3b,1a,
with only exception i.e. 1 will have only one state 1a.
please tel me step wise using formulas, so that i can understand, also any link will be helpfull.
is there any way to solve this using tsql program or any programm exist in any other language.
yours sincerly

Hi Saeid
Compare the Execution plan of those queries:
SELECT 'a' s UNION SELECT 'b'
SELECT 'a' s UNION ALL SELECT 'b'
If you know that the values are unique always use UNION ALL and not UNION :-) It is much better (in the execution plan comparing the queries above you will get 56% vs 44%).
[Personal Site] [Blog] [Facebook]

Similar Messages

  • How to find out OrgUnit from the MSS team viewer iview

    Hi Experts,
    Please refer following link:
    https://wiki.sdn.sap.com/wiki/display/profile/HowtoreadinformationfromtheteamviewerinWeb+Dynpro
    Using this link, I am able to find out the perno.
    I have to find out OrgUnit of selected person. I did the mapping. I have also written following code:
    String orgunit = wdContext.currentSelectedOrgUnitElement().getObjid();
    wdComponentAPI.getMessageManager().reportSuccess("You have selected orgunit "+ orgunit);
    However, orgunit value is always null
    Can you please let me know how we can get the orgunit in this case?
    Regards,
    Gary

    Hi Gabriel,
    Requirement 1
    Thanks. I did so. Using this I can see the OrgUnit. However, this is the OrgUnit of MSS user. It remains same through out the program. It is unlike pernr which changes as the user clicks on different Employees.
    My exact requirement is as below:
    User will click on Employee Selection drop down box. After that he will select "Employees from Organizational Structure". Here organization structure will be displayed. Now the user will expand Org Structure. I want to know the Org Unit of different Organization as the user will go on expanding the Org Structure using the buttons
    Requirement 2
    User will click on Employee Selection drop down box. After that he will select "Employees from Organizational Unit". Now we can see the Go button. I have to write some code on the button. Where I can find the code for the button. I spent lot of time. I am not able to find out the exact place where the view for the button is located.
    Please help.
    Regards,
    Gary

  • How to find out index from table?

    Hi all,
    I've tried to create indexes to some columns from some tables to use for Oracle Text.
    I ve got a error message saying that I can not create an index:
    "cannot create multiple domain indexes on a column list using same indextype".
    I was wondering if an index already exists for that column, how do I find out the name of the index that points to that paticular colum?
    Thanks a lot
    E.

    Check the view dba_ind_columns
    That will tell you.
    something like;
    select index_name, column_position, column_name from dba_ind_columns
    where table_name = '<table name>'
    order by 1,2

  • How to find out Application from Component

    Hi Experts,
    I have a component called FITV_VT_TRIP_DOCUMENT which is called from two applicatons FITV_POWL_TRIP and another one say ABC.
    Now i need to know which application is calling the component.
    Is there any Class->Method to find out the application name from component.
    Or Is there any method to get the browsers URL from that component.
    Thannks,
    chandra

    Hi,
    When you pass the Application name you can get the URL (But this can be mapped to external alias also).
    * Generate the url for the component
      CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = 'ZWDC_SALES_REPORT'  "Application name
        IMPORTING
          out_absolute_url = lv_url.    "String
       "This can be an internal alias
    Refer these links -
    To get Component name from Application -
    How to get Component name from Application
    Get the Calling WD component name -
    The name of calling WebDynpro
    Regards,
    Lekha.

  • How to find out tcode from a program that can run the same report?

    Hello all,
    I have a program name and I can see it is successfully proccessed. Now if I want to get the report via a tcode, how can I get it?
    How can I find the tcode from the program itself?
    Regards,

    Hi,
    1) Go into SE80, > Enter the name of the program, and press 'Enter'.
    2) You will see a folder called 'Transactions' appearing in the object list on the bottom left.
    3) Open the folder, and you'll find T.code of that program.
    Thanks,
    Nirav

  • How to find out last_query from jsp form in oracle applications

    Hi
    At present i am working on Quality Module.
    in India Localization.
    In Quality module -> Results -> Inquiries -> Skip Lot Inquiry
    If i enter our organization name
    Then its openning one form.
    I am unable to find out the table names from the jsp form.
    User also unable to comment on it.
    So, please help me on this issue.
    Regards,
    Pradeep.

    Hi
    Once you open the jsp form, at below leftside corner you can see link : About This Page. If you click on the link : About this Page this again open another window, there you can see multiple tabs at header level, if you click on page tab, there you can all the VO objects used to build this page. If you click on VO object hyperlink you can see the query.

  • How to Find out the from which table we can get the following fields?

    The following fields are from invoice data
    How to  know or from which table we get the following fields:
    Header Details:
    Manifest:, Finance Control #:, Alternate SID:, Carrier:, Container/Trailer #:, Hazmat Code:, Harmonizing Code, Freight Forwarder, Fiscal Rep., Ship From,  Notify Party
    Item Details:
    VAT/Tax Rate %, VAT/Tax Amount, Measurements, Net Weight, Gross Weight
    thanks

    Dear Krishnama
    Place your mouse on the required fields and press F1.  A box with header Performance Assistant will appear in front of you where you select "Technical information" (icon like hammer and spanner). 
    You can now see what table it is.
    thanks
    G. Lakshmipathi

  • How to find out software from apple store

    Dear sir
    i don't have open a apple store so how can i download other app.

    What do mean by 'don't have open a apple store' ? What problem are you having ? As you've posted on here then you have an account.
    If you want to create another one then there are instructions on this page for doing so : http://support.apple.com/kb/HT2731
    Or if you don't want to give credit card details then follow the instructions on this page when creating it : http://support.apple.com/kb/HT2534

  • How to find out the tables effected information from oracle from

    can any one tell me how to find out the tables effected information from oracle form

    Hi,
    Please refer to the following documents.
    Note: 259722.1 - HOWTO Determine Table and Column Name from a field in a form in 11i
    Note: 241628.1 - How to Find the Query That Succeeded Recently?
    Regards,
    Hussein

  • How do find out failure in invoking a partner service from BPEL

    Helllo,
    When running my SOA composite I encountered the following error. I haven't found out how to find out what exact host:port it is trying to hit and failed. Does anyone know how to find out this info or from which deployment/admin interface can I find out information related to the partner service, such as wsdl, host/port, and other parameters?
    thanks,
    Joe
    Non Recoverable System Fault :
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>oracle.fabric.common.FabricInvocationException: Unable to find the WSDL port defined for service {http://xmlns.oracle.com/scheduler}ESSWebService and port {http://xmlns.oracle.com/scheduler}SchedulerServiceImplPort. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate any HTTP proxy settings for the server.</summary></part><part name="detail"><detail>Unable to find the WSDL port defined for service {http://xmlns.oracle.com/scheduler}ESSWebService and port {http://xmlns.oracle.com/scheduler}SchedulerServiceImplPort. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate any HTTP proxy settings for the server.</detail></part><part name="code"><code>null</code></part></remoteFault></bpelFault>

    Your SOA project should have a somethingRef.wsdl where you can find the location of your WSDL.
    <wsdl:import namespace="http://www.example.com" location="http://example.com/example.do?wsdl"/>
    In the actual WSDL (not the ref) you may have your actual servername/portname in the tag address at the end of the file...
    <WL5G3N0:service name="example">
    <WL5G3N0:port name="exampleSoap" binding="WL5G3N2:exampleSoap">
    <WL5G3N3:address location="http://example.com:6011/services/example"/>
    </WL5G3N0:port>
    </WL5G3N0:service>

  • How to find out web-inf path from the physical drive?

    How to find out web-inf path from the physical drive?
    I have some user profiles in web-inf directory.SO I want to know the path from root directory like
    d:/program files/allaire/jrun/appname/web-inf/profiles/username like that.
    Presently I am able to get the path upto the application directory and from that I am concatinationg web-inf/profiles/username .
    But it is giving problems when it is deployed under unix or linux.Because web-inf there it treats as WEB_INF
    SO I want to get the path of web-inf directory with out hard coding.
    Thanku

    String path = application.getRealPath("/WEB-INF/profiles/username");
    Note sure why you need this, but you don't need the real path to read the file - you can get an InputStream using the relative path. See ServletContext getResource() and getResourceAsStream().

  • How to find out when data was deleted from table in oracle and Who deleted that

    HI Experts,
    Help me for below query:
    how to find out when data was deleted from table in oracle and Who deleted that ?
    I did that to fidn out some data from dba_tab_modifications, but I m not sure that what timestamp shows, wether it shows for update,insert or delete time ?
    SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES,TIMESTAMP,DROP_SEGMENTS,TRUNCATED from dba_tab_modifications where TABLE_NAME='F9001';
    TABLE_OWNER                    TABLE_NAME                        INSERTS    UPDATES    DELETES     TIMESTAMP         DROP_SEGMENTS TRU
    PRODCTL                        F9001                                                     1683         46       2171            11-12-13 18:23:39             0                   NO
    Audit is enable in my enviroment?
    customer is facing the issue and data missing in the table and I told him that yes there is a delete at 11-12-13 18:23:39 in table after seeing the DELETS column and timestamp in dba_tab_modifications, but not sure I am right or not
    SQL> show parameter audit
    NAME                                 TYPE        VALUE
    audit_file_dest                      string      /oracle/admin/pbowe/adump
    audit_sys_operations                 boolean     TRUE
    audit_syslog_level                   string
    audit_trail                          string      DB, EXTENDED
    please help
    Thanks
    Sam

    LOGMiner --> Using LogMiner to Analyze Redo Log Files
    AUDIT --> Configuring and Administering Auditing

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • How to find out the metachian from subchain

    hello friends,
    could you please let me know , how to find out the meta chain from subchian .
    I know the subchain name and wanted to check that this chian is included in which meta chian ,
    actaully here so many chain , so its confusing .
    Is there any way ?

    Hi,
    Pls chk this links,
    Re: Meta chains - how to create n example scenerios
    Re: How to create process chains, infopackage groups & Meta chains
    Hope this helps,
    regards
    CSM reddy

  • HOW TO  FIND OUT TABLE DESCRIPTION FROM JDBC?

    HOW WILL FIND OUT TABLE DESCRIPTION FROM JDBC?

    Have a look at ResultSetMetaData
    getColumnCount()
    getColumnName(int)
    getColumnTypeName(int)
    getColumnDisplaySize(int)
    ***Annie***

Maybe you are looking for

  • Oracle Smart View 11.1.2.5.400 prompt bug still not resolved?

    Good morning, in our company we have OBIEE 11.1.1.7.140715 and we are testing Oracle Smart View 11.1.2.5.400 (Build 376) on Excel 2007 32 bit and Excel 2013 64 bit to allow our final users to work more easily. Unfortunately almost all of our reports

  • What`s going on with XML Parser version 2.0.2.7?

    Hi, In january, I was told on this forum by Steven Muench to wait version 2.0.2.7 of Oracle XML Parser to correct a textarea bug with <xsl:output method="HTML"... I would like to know what's going on and when should I expect this new version be avail

  • Rebuild Mailbox Lost Emails HELP

    I inadvertently clicked Rebuild Mailbox for the main INBOX of one of my POP accounts, and have lost over 8,000 important emails. I saw a few posts by others who had experienced this, but no answers that were helpful. Three attempts to restore this fr

  • Transports in detail?

    Hi All, <b>Can anyone explain the way of Transporting the objects from Development to Production?</b> If we are doing any changes to the existing objects & after activation, a request is created & with the help of transport icon available which takes

  • Why is Domain Admin access required for NTFS crawling?

    Need some assistance from the experts in here.. Our company has a policy against granting Domain Admin access to service accounts. Oracle states that Domain Administrative priviledges are required for NTFS crawling. However, they aren't able to provi