Decode with wildcard

Hi,
I have a working query like this:
select id, rank() OVER(PARTITION BY id ORDER BY DECODE(code, 'ETPL',1,'FEPL',2,'ETAR',3,'FEAR',4,'ETJO',5,'ETLE',6,'ETDP',7, 8)) rn
from myTable
But now i need to get a wildcard in there somehow. I was hoping this would work
select id, rank() OVER(PARTITION BY id ORDER BY DECODE(code, 'ETPL%',1,'FEPL%',2,'ETAR%',3,'FEAR%',4,'ETJO%',5,'ETLE%',6,'ETDP%',7, 8)) rn
from myTable
It does however not. Any ideas on how to get around this?

Hi,
DavidNils wrote:
... But now i need to get a wildcard in there somehow. I was hoping this would work
select id, rank() OVER(PARTITION BY id ORDER BY DECODE(code, 'ETPL%',1,'FEPL%',2,'ETAR%',3,'FEAR%',4,'ETJO%',5,'ETLE%',6,'ETDP%',7, 8)) rn
from myTable'%' only has a special meaning when it's used on the right-hand side of a LIKE operator. It has no special meaning in DECODE.
It does however not. Any ideas on how to get around this?The answer to "How can I do this with DECODE ..." is "Don't use DECODE. Use CASE instead." DECODE is good for very simple comparisons. If you have to ask, then it's not very simple.
Actually, Etbin gave a good solution using DECODE, that relies on the fact that you're always interested in the first 4 characters of the code column. If you were not always interested in the first 4 characters, then you could do something like this:
... ORDER BY  CASE
            WHEN  code LIKE 'ETPL%'  THEN  1
            WHEN  code LIKE 'FOO%'   THEN  2
            WHEN  code LIKE '%BAR'   THEN  3
                            ELSE  4
           END

Similar Messages

  • FTP - FCC - GUILDFTPd - Unable to pick up multiple files with Wildcard char

    Hi All, 
    I am not sure if my issue is strange or i may be missing something here. I am using FTP - FCC and using GUILDFTPd to connect to my local machine. This is working perfect if i don't use wildcard characters in file name but if i use them it is not picking up files. I have green in Channel monitoring and polling as mentioned for every 60 Seconds.
    I have tried both using/without using 'Advanced selection for source file'  and also checked 'Adapter specific message attributes'. The same is working if i specify exact file name. By the way, i have tried using '*' and '?' as wildcard character.
    Any idea or help in this regard is appreciated.

    I have tried with just basic. I mean, it works fine if i specify exact file name. The problem is only when i want to pick up multiple files using any wildcard character. No error in communication channel or in archive settings as the scenario working for one file without any wildcard.
    However, i have changed to NFS and it is working good even with wildcard characters.
    It seems there is a problem with GUILDFTPd which is not picking up files but no errror.
    Any ideas are welcome. Thank you both for the responses.

  • Incorrect warning for import directive with wildcard

    Some (all?) imports with wildcards seem to be getting incorrect warnings. For example, if I do:
    import flash.events.*
    I get a warning "The import flash.events.*" is not used locally, which is not true, since I am using ProgressEvent, IOErrorEvent, SecurityErrorEvent, etc. in the same file. This did not happen in FB 4.6.

    I created an account on the bugs site and no amount of searching (or using the direct link) will reveal this 'bug' entity.
    I too am having a similar difficulty (at least I think it is), though no wildcard character is involved.
    In FB7 I have a Mobile Project created fresh after installing FB7. The main application MXML type was selected within the wizard when creating the project, and that type was TabbedViewNavigatorApplication. I created a directory under the 'src' directory by the name of 'skins' and started a fresh .as file.  As quoted.  (actually, I'm going to post a screenshot as I'm incredulous that even in advanced editing mode, that a forum -> on programming and development <- seems to have no obvious way to insert formatted code and indeed ignores such tags when added in the HTML view of the editor     If that functionality is there, it's -far- from obvious or intiutive. )

  • How to use Decode with a variable

    Maybe you've seen this done.
    I want to take statement strMenu4 and subtract the previous value
    that is stored in an array as shown in strMenu5.
    My problem is this change as shown in strMenu5 produces
    an error code:
    ORA-00904 invalid column name
    So either I'm coding something wrong or it can't be done within the
    SUM(decode) construct. If I replace the variable with a literal
    like 1000 the code works:
    SUM(decode(name,'DBWR lru scans', c1.value) - 1000) DBWR_lru_scans
    but with an array variable or even a constant the code fails:
    SUM(decode(name,'DBWR lru scans', c1.value) - Array(3)) DBWR_lru_scans, "
    Any ideas how I can use Decode with a variable and not have it interrupt it
    as a invalid column name?
    Thanks,
    Joseph Karpinski
    [email protected]
    [email protected]
    strMenu4 = "SELECT d1.instance, " _
    & " to_char(sysdate, 'dd-mon-yy hh24:mi:ss') start_time, " _
    & " SUM(decode(name,'DBWR buffers scanned', c1.value)) DBWR_buffers_scanned, " _
    & " SUM(decode(name,'DBWR lru scans', c1.value)) DBWR_lru_scans, " _
    & " SUM(decode(name,'db block gets', c1.value)) db_block_gets , " _
    & " SUM(decode(name,'consistent gets', c1.value)) consistent_gets , " _
    & " SUM(decode(name,'physical reads', c1.value)) physical_reads " _
    & " from dual, v$sysstat c1, v$thread d1 " _
    & " group by d1.instance "
    strMenu5 = "SELECT d1.instance, " _
    & " to_char(sysdate, 'dd-mon-yy hh24:mi:ss') start_time, " _
    & " SUM(decode(name,'DBWR buffers scanned', c1.value) - Array(2)) DBWR_buffers_scanned, " _
    & " SUM(decode(name,'DBWR lru scans', c1.value) - Array(3)) DBWR_lru_scans, " _
    & " SUM(decode(name,'db block gets', c1.value) - Array(4)) db_block_gets , " _
    & " SUM(decode(name,'consistent gets', c1.value) - Array(5)) consistent_gets , " _
    & " SUM(decode(name,'physical reads', c1.value) - Array(6)) physical_reads " _
    & " from dual, v$sysstat c1, v$thread d1 " _
    & " group by d1.instance "

    Re-posting in the SQL and PL/SQL forum.
    It's more appropriate.
    Thanks,
    Closing

  • Multiple selection with wildcard in WAD

    Hello,
    How can I do filtering with multiple selection with wildcard in WAD 7 ?
    We have this problem in two seperate situation. The first is in the parameter screen where we want to filer the output with two wildcard. The first one we can put on the field and then go to the selection screen but what about the other ????. The second situation is in the report when we want to filter one of the columns with wildcard.
    I will appreciate if someone will open my eyes about this.
    Ilan

    Hello,
    you can use the * for wildcards in the BEx Web.
    For example 37* -> 370000 up to 379999.
    Buy,
    André

  • DirectoryContext.search with WildCard "*" Fails in 64 Bit JRE

    Hi all,
    I'm using DirectoryContext.search with wildcard "*" filter. it works fine in 32 Bit JRE, but throws the following exception when I run the same in Solaris 64 Bit JRE.
    Exception in thread "main" javax.naming.directory.InvalidSearchFilterException: invalid attribute description; remaining name 'ou=People,dc=mydomain,dc=com'
    at com.sun.jndi.ldap.Filter.encodeSimpleFilter(Unknown Source)
    at com.sun.jndi.ldap.Filter.encodeFilter(Unknown Source)
    at com.sun.jndi.ldap.Filter.encodeFilterList(Unknown Source)
    at com.sun.jndi.ldap.Filter.encodeComplexFilter(Unknown Source)
    at com.sun.jndi.ldap.Filter.encodeFilter(Unknown Source)
    at com.sun.jndi.ldap.Filter.encodeFilterString(Unknown Source)
    at com.sun.jndi.ldap.LdapClient.search(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.doSearch(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
    at javax.naming.directory.InitialDirContext.search(Unknown Source)
    Please help.
    Thanks in advance,
    Regards,
    Kaja

    When will Aobe Acrobat support Office 2010 64 bit and Windows 7 64 bit?

  • Hostname(with wildcards) based access-list or policy.

    Is there any way in cisco to use hostnames with wildcards either in ACL, or Policy, class map etc, for example I want to identify following devices with one keyword..for blocking/permit etc
    UKlondon001
    UKlondon002
    UKlondon003
    Uklondon004
    UKlondon005
    I want to capture all these with wildcard UKlondon*
    something like regular expressions...

    You can group them in object-groups. You'll need to configure their names and then create an object group:
    name 10.5.5.5 uklondon001
    name 10.5.5.6 uklondon002
    object-group network UKLONDONS
    network-object host uklondon001
    network-object host uklondon002
    access-list permit tcp any object-group UKLONDONS eq 80
    The above (from memory so don't quote me) will allow any traffic to hit any of those servers on port 80.
    If you're wanting to do this for certain websites like youtube.com or google.com, you'll need to use regex and class-maps.
    HTH,
    John

  • Find/Change help with wildcard numbers...

    hello... i'm looking for help with wildcards...
    i have a specific task to complete.. i need to add dash & space into a space in a string of letters and characters...
    here
    221kbps - 00:28:34space dash space here47Mb - 44.1 kHz
    198kbps - 01:27:43 41Mb - 44.1 kHz
    215kbps - 00:34:52 156Mb - 44.1 kHz
    225kbps - 00:32:14 54Mb - 48 kHz
    so my finished text will look like this
    221kbps - 00:28:34 - 47Mb - 44.1 kHz
    198kbps - 01:27:43 - 41Mb - 44.1 kHz
    215kbps - 00:34:52 - 156Mb - 44.1 kHz
    225kbps - 00:32:14 - 54Mb - 48 kHz
    there are many variables to the text - but i thought perhaps i could create a wildcard digit find/change based on the Mb bit, replacing the single space with space dash space
    BUT
    i need to retain the numbers before the Mb
    so my question - is it possible to RETAIN WILDCARD NUMBERS?
    merci beaucoup!

    omg... just fell of my chair
    tried it in text - no joy...
    tried it as a grep.
    YES YES YES
    thankyou so much - i have about 18,000 to format for a music website...
    www.littledogdiscs.co.uk
    if you ever find your way to our neck of the woods in the South of France - please do visit my b&b
    www.maisonverdigris.com
    i have a bottle of vintage champagne with your name on it...
    thanks
    teresa

  • SQL Performance tuning with wildcard Like condition

    Hi,
    I have performance issue with SQL query.
    When I am using "where emp_name like '%im%' " query is taking longer time than when I use "where emp_name like 'im%' " .
    With former condition query takes 40 sec , with later it takes around 1.5 sec.
    Both returns almost same no. of rows. We have function based index created on emp_name column.
    With wildcard at both ends query goes for full table scan.
    Can any one please suggest way so that query responce time can be reduced.?
    I even tried using hints but still it is going for full table scan instead of using index.

    >
    Hi Mandark,
    <I've rearranged your post>
    When I am using "where emp_name like '%im%' " query is taking longer time than when I use "where emp_name like 'im%' " .
    With wildcard at both ends query goes for full table scan.
    I even tried using hints but still it is going for full table scan instead of using index.
    With former condition query takes 40 sec , with later it takes around 1.5 sec.
    Both returns almost same no. of rows. We have function based index created on emp_name column.You are never going to be able to speed things up with a double wild card - or even 1 wild card at the beginning
    (unless you have some weird index reversing the string).
    With the double wild-card, the system has to search through the string character by character to see
    if there are any letter "i's" and then see if that letter is followed by an "m".
    That's using your standard B-tree index (see below).
    Can any one please suggest way so that query responce time can be reduced.?Yes, I think so - there is full-text indexing - see here:
    http://www.dba-oracle.com/oracle_tips_like_sql_index.htm and
    http://www.oracle-base.com/articles/9i/full-text-indexing-using-oracle-text-9i.php
    AFAIK, it's an extra-cost option - but you can have fun finding out all that for yourself ;)
    HTH,
    Paul...

  • Fix for SOLR searches beginning with wildcard?

    All, I am having problems finding clear answers on if the above was corrected in ColdFusion 10. 
    I can't get my head around the idea of SOLR not allowing search criteria to begin with a wildcard.  I've seen a solution for reverse wildcard searching, which is great as long as I specify criteria for which I know the ending letters.  For example, if I am looking for all entries ending in "ing", I could do a search on "*ing", using the reverse wildcard to find "gni*".  I have yet to see, or come up with, a solution for a SOLR search with wildcards in the start and end of the criteria.  For example, lets say I am looking for any word with "fus" in the middle, such as "confusing" or "perfusing" or "profusely".  I would want to do a search such as "*fus*".  From what I understand thus far, this cannot be done in SOLR?
    Thanks,
    Tom

    ColdFusion will support whatever Apache solr supports as it is the underlying engine we are using.
    And Solr does support it: http://lucene.apache.org/solr/api/org/apache/solr/analysis/ReversedWildcardFilterFactory.h tml
    I think this is an egregious hack, but still, it's the way they've chosen to support it.
    Solr technically disables support of leading wildcards by default in the traditional query parsers due to concerns about query performance since it tends to select a large percentage of indexed terms.
    Be that as it may, this should be my decision, as the maintainer of the index, not your decision to blanketly disallow it.  If it's available, then one can use it if one choses, or not use it for the reasons you cite.  If you blanketly disallow it, you're removing the ability for me to make that decision.
    It's also a bit of a backwards compat issue, innit?  Verity allowed leading wildcards.
    Adam

  • Mp3 decoding with libmpg123 lib to pass refer to AS3

    Hello to everybody.
    I would like to ask a question in relation to the project that I am working at the moment. I am trying to use libmpg123 decoder library to process mp3 file and return the result back to Alchemy so that I can return a decoded instance of the mp3 back to AS3. I wish to use the source code of the decoder within the project so I can embed its functionality into the application. I do not want to install the decoder itself but to use its source code to incorporate its functionality within our app.
    1. Hasanybody implemented the decoder with Alchemy API ? How?
    2. Can you pass the decoded mp3 into AS3 using Alchemy? How?
    Has anybody used libmpg123 decoder with Alchemy to process mp3 file? I will appreciate if somebody points me to a useful reference or information related to my query?
    Thanks

    Yes I know that already but my goal is to use an open source C decoder that will take a reference to a mp3 file from AS3 and start processing the request while AS3 takes care of less CPU intensive tasks. Beside that decoding mp3 file with a C decoder (mpg123) will provide me with a native data structure that I can further use in more extensive sound analysis  and only the output of it will be send back to AS3 using Alchemy 's APIs . That is why I try NOT to use extract method of AS3. Have you tried decoding mp3 inside Alchemy ? Is it possible?
    Regards

  • Very sloppy playback with AC3/DTS Hardware Decoding with

    I just bought the Audigy 2 ZS (plain)
    I tried playing back DVD movies using SPDIF output on PowerDVD and I get VERY VERY sloppy playback, both with AC3 and DTS audio.
    I thought it should perform better than my previous SB Li've! 5.

    Which settings are you using and what kind speakers do you have? If you have analog speakers, are you doing the decoding with the software or with the soundcard? Check for the card whether AC3 decoding is enabled (in the Device Controls). If it isn't, try enabling that and setting the DVD software to SPDIF instead. Or if it's enabled, set the decoder to disabled/SPDIF, and set the DVD software to 5. and see if it's the same.
    If you're using digital speakers then both should be set to SPDIF (so decoders disabled).
    Cat

  • URL problems with SQL Server Reporting Services 2012 with wildcard SSL certificate

    Hi,
    I have single server, domain member, with SQL Server 2012 SP1 Reporting Services.
    I am trying to get work with url: https://reports.mydomain.com
    I have valid wildcard certificate (*.mydomain.com) implemented and configured URLs in Configuration Manager.
    https://reports.mydomain.com/ReportServer - works fine
    https://reports.3pro.hr/Reports/ - I got error:
    The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    In rsreportserver.config I have:
    <Add Key="SecureConnectionLevel" Value="2"/>
    When looking my ReportServerService_date.log file I have something like:
    configmanager!DefaultDomain!3f4c!03/10/2013-20:24:34:: i INFO: Using report server internal url https://localhost:443/ReportServer.
    configmanager!DefaultDomain!3f4c!03/10/2013-20:24:34:: i INFO: Using report server external url https://serverhostname:443/ReportServer.
    configmanager!DefaultDomain!3f4c!03/10/2013-20:24:34:: i INFO: Using url root https://reports.mydomain.com/ReportServer.
    configmanager!DefaultDomain!3f4c!03/10/2013-20:24:34:: i INFO: Using report server internal url https://localhost:443/ReportServer.
    configmanager!DefaultDomain!3f4c!03/10/2013-20:24:34:: i INFO: Using report server external url https://serverhostname:443/ReportServer.
    configmanager!DefaultDomain!3f4c!03/10/2013-20:24:34:: i INFO: Using url root https://reports.mydomain.com/ReportServer.
    Also, error shown in log file:
    appdomainmanager!ReportManager_0-2!4c50!03/10/2013-20:24:53:: e ERROR: Remote certificate error RemoteCertificateNameMismatch encountered for url https://localhost/ReportServer/ReportService2010.asmx.
    ui!ReportManager_0-2!4c50!03/10/2013-20:24:54:: e ERROR: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException:
    The remote certificate is invalid according to the validation procedure.
    Btw, is there a way to delete/disable access using https://localhost and/or servername (not FQDN) since SSL will not work in this way for me, and I want access only by full url - https://reports.mydomain.com , not localhost ..
    -- Hrvoje Kusulja

    I spent one of my 4 free support incidents with Microsoft (part of MSDN subscription) this year to get this investigated.  The tech support person helped me through several issues but had to leave to attend some training, and I got past the last hurdle
    before she called me back.  Here are the steps that resolved this issue for me.  I know for sure that step 5 was necessary.  Step 1 may not apply to you, and steps 2-4 may or may not have been necessary (they didn't immediately fix the issue,
    but I didn't roll them back either so they may have been necessary.)
    Step 1:
    Ensure you are editing the correct rsreportserver.config file.  I had been making changes to a file that was installed in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\WebServices\Reporting, but that was a rsreportserver.config
    file for some sharepoint integration that I'm not using.  The correct path on my system was E:\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config, but yours may vary. If you can't figure it out, look in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft
    SQL Server\MSRS11.MSSQLSERVER\Setup in the key named SQLPath, and then go to the ReportServer subdirectory of that path.
    Step 2: 
    In rsreportserver.config, ensure that SecureConnectionLevel is set to the value 3.  Was set to 0 in my configuration.  Corrected line in your rsreportserver.confiog file should look like:
    <Add Key="SecureConnectionLevel" Value="3"/>
    Step 3:
    In rsreportserver.config, add the correct value to the <URLRoot> element (which already exists in the file.)  In my configuration, this value was blank.  The value should be the fully qualified path to your report server, with a hostname that
    is valid for your certificate.  For example, if my cert matches *.mydomain.local:
    <UrlRoot>
    https://myserver.mydomain.local/ReportServer
    </UrlRoot>
    Step 4:
    Ensure that your certificate exists in Trusted Root Certification Authorities in certmgr for the local machine.  I had the certificate installed as a Personal certificate for the local machine, which I still think was correct (the certificate wasn't actually
    the problem and worked correctly for Report Server, and the failure was caused by SSRS incorrectly making a https request to a localhost URL), but she had me remove the certificate from Personal and add it to Trusted Root Certificate Authorities.  That
    broke things and the cert was no longer listed as a cert I could bind to, so we then copied it so it existed in both Personal and Trusted Root Certificate Authorities.  This is how I left it, not sure if that was necessary.
    Step 5:
    This was the fix that finally got things to work. In rsreportserver.config, add the same value to the <ReportServerUrl> element (which also already exists in the file) that you added in step 3.  In my configuration, this value was also blank.
    The corrected value should be the same as in step 3, for example:
    <ReportServerUrl>
    https://myserver.mydomain.local/ReportServer
    </ReportServerUrl>
    Then restart your report server (stop & then start in Report Server Configuration Manager), and the problem should go away.  At least it did for me.
    Good luck!

  • How do you add an object to a collection typed witha wildcard?

    Hi All,
    I want to add an object to a collection typed with a wildcard but I can't figure out how to do it.
    I've been thru the generics tutorial again and I now understand that I can't do exactly what I want to and why. However I don't know how to do it right. I copy some code below to show the problem:
    private List<? extends HasCriteria> dataList;
    private HasCriteria dataObject;
    public HasCriteria getDataObject() {
            return dataObject;
    public List<? extends HasCriteria> getCollection() {
            if(dataList==null){
                refreshDataCollection();
            return dataList;
       }/*I want to be able to do the add() below but the generics tutorial assures me, as does the compiler, that I can't. So how do I get an object into the collection?? */
    public void create(){
    getCollection().add(getDataObject());
    }/*I don't understand why I can do this setCollection() call below as the compiler has no idea that the resultList is of type HasCriteria, however I accept that it is ok with this*/
    protected <T extends HasCriteria> void setCollection(Collection<T> m) {
                dataList = new ArrayList<T>(m) ;
                for(HasCriteria t: dataList){
                    t.setStatus(HasCriteria.Status.SAVED);
    public void refreshDataCollection(String jpaQL, List modelParameters){
                Query q = em.createQuery(jpaQL);
                List rl = q.getResultList();
                if(rl != null){
                    setCollection(rl);
                    setModelQuery(jpaQL, modelParameters);  
    }

    class GenGen <K extends Shape> {
      private List<K> dataList;
      private K dataObject;
      public K getDataObject() {
        return dataObject;
      public List<K> getCollection() {
        if(dataList==null){
          //refreshDataCollection();
        return dataList;
      public void create(){
        getCollection().add(getDataObject());
      protected void setCollection(Collection<K> m) {
        dataList = new ArrayList<K>(m) ;
        for(Shape t: dataList){
          // t.setStatus(HasCriteria.Status.SAVED);
      public void refreshDataCollection(String jpaQL, List modelParameters){
        List rl = null;
        setCollection(rl);
    }Note that in that final setCollection, you'll get an unchecked conversion warning, if you haven't turned them off.

  • How to use keycols with wildcard & TABLEEXCLUDE & MAPEXCLUDE .

    Hi All,
    I would like to use KEYCOLS for Table which dont have Indexes,
    and in same parameter file i would like to use wildcard for table which has indexes.
    so parameter file will has to update ONLY,when table without index will created.
    and wildcard will resolve for tables which will created with index.
    Could you please help me on how to used KEYCOLS in mixed Configuration.
    where TABLEEXCLUDE will exclude tables which dont have indexes and that table will mapped with KEYCOLS.
    Below are different various combination of syntax which did not worked.
    DYNAMICRESOLUTION
    DDL INCLUDE MAPPED OBJNAME IDENTITY.*
    TABLE IDENTITY.TBBILLING_DUMMY ,KEYCOLS (BILLINGKEY);
    TABLE IDENTITY.*;
    TABLEEXCLUDE IDENTITY.TBBILLING_DUMMY;
    *** Total statistics since extract started     ***
            Operations                                         1.00
            Mapped operations                                  0.00
            Unmapped operations                                1.00
            Other operations                                   0.00
            Excluded operations                                1.00
    DYNAMICRESOLUTION
    DDL INCLUDE MAPPED OBJNAME IDENTITY.*
    TABLE IDENTITY.*;
    TABLEEXCLUDE IDENTITY.TBBILLING_DUMMY;
    TABLE IDENTITY.TBBILLING_DUMMY ,KEYCOLS (BILLINGKEY);
    *** Total statistics since extract started     ***
            Operations                                         1.00
            Mapped operations                                  0.00
            Unmapped operations                                1.00
            Other operations                                   0.00
            Excluded operations                                1.00
    DYNAMICRESOLUTION
    DDL INCLUDE MAPPED OBJNAME IDENTITY.*
    TABLEEXCLUDE IDENTITY.TBBILLING_DUMMY;
    TABLE IDENTITY.*;
    TABLE IDENTITY.TBBILLING_DUMMY ,KEYCOLS (BILLINGKEY);
    *** Total statistics since extract started     ***
            Operations                                         1.00
            Mapped operations                                  0.00
            Unmapped operations                                1.00
            Other operations                                   0.00
            Excluded operations                                1.00
    DYNAMICRESOLUTION
    DDL INCLUDE MAPPED OBJNAME IDENTITY.*
    TABLE IDENTITY.TBBILLING_DUMMY ,KEYCOLS (BILLINGKEY);
    TABLEEXCLUDE IDENTITY.TBBILLING_DUMMY;
    TABLE IDENTITY.*;
    *** Total statistics since extract started     ***
            Operations                                         1.00
            Mapped operations                                  0.00
            Unmapped operations                                1.00
            Other operations                                   0.00
            Excluded operations                                1.00
    DYNAMICRESOLUTION
    DDL INCLUDE MAPPED OBJNAME IDENTITY.*
    TABLEEXCLUDE IDENTITY.TBBILLING_DUMMY
    TABLE IDENTITY.*;
    TABLE IDENTITY.TBBILLING_DUMMY ,KEYCOLS (BILLINGKEY);
    *** Total statistics since extract started     ***
            Operations                                         1.00
            Mapped operations                                  0.00
            Unmapped operations                                1.00
            Other operations                                   0.00
            Excluded operations                                1.00
    DYNAMICRESOLUTION
    DDL INCLUDE MAPPED OBJNAME IDENTITY.*
    TABLE IDENTITY.TBBILLING_DUMMY ,KEYCOLS (BILLINGKEY);
    TABLEEXCLUDE IDENTITY.TBBILLING_DUMMY
    TABLE IDENTITY.*;
    *** Total statistics since extract started     ***
            Operations                                         1.00
            Mapped operations                                  0.00
            Unmapped operations                                1.00
            Other operations                                   0.00
            Excluded operations                                1.00
    ------------------=========I tried for replicat for different set of tables , which failed too.
    TEST 2 = failed
    MAPEXCLUDE ODS.OS_HISTORYSTEP_BLD
    MAP ODS.*,TARGET ODS.*;
    MAP ODS.OS_HISTORYSTEP_BLD, TARGET ODS.OS_HISTORYSTEP_BLD, KEYCOLS (id,entry_id,caller);
    stats identdr,totalsonly ODS.OS_HISTORYSTEP_BLD
    Sending STATS request to REPLICAT IDENTDR ...
    *** Total statistics since replicat started     ***
            Operations                                         1.00
            Unmapped operations                                1.00
            Excluded operations                                1.00
    TEST 3 = failed
    MAPEXCLUDE ODS.OS_HISTORYSTEP_BLD;
    MAP ODS.*,TARGET ODS.*;
    MAP ODS.OS_HISTORYSTEP_BLD, TARGET ODS.OS_HISTORYSTEP_BLD, KEYCOLS (id,entry_id,caller);
    *** Total statistics since replicat started     ***
            Operations                                         1.00
            Mapped operations                                  0.00
            Unmapped operations                                1.00
            Excluded operations                                1.00
    -------------------------------------------------------------------TEST 4 = failed
    MAP ODS.*,TARGET ODS.*;
    MAPEXCLUDE ODS.OS_HISTORYSTEP_BLD;
    NOINSERTAPPEND
    MAP ODS.OS_HISTORYSTEP_BLD, TARGET ODS.OS_HISTORYSTEP_BLD, KEYCOLS (id,entry_id,caller);
    *** Total statistics since replicat started     ***
            Operations                                         1.00
            Mapped operations                                  0.00
            Unmapped operations                                1.00
            Excluded operations                                1.00
    -------------------------------------------------------------------TEST 5 = failed
    MAP ODS.OS_HISTORYSTEP_BLD, TARGET ODS.OS_HISTORYSTEP_BLD, KEYCOLS (id,entry_id,caller);
    MAPEXCLUDE ODS.OS_HISTORYSTEP_BLD
    MAP ODS.*,TARGET ODS.*;
    No active replication maps
    DDL replication statistics:
    *** Total statistics since replicat started     ***
            Operations                                         1.00
            Mapped operations                                  0.00
            Unmapped operations                                1.00
            Other operations                                   0.00
            Excluded operations                                1.00-------------------------------------------------------------------
    TEST 6 = failed
    MAP ODS.OS_HISTORYSTEP_BLD, TARGET ODS.OS_HISTORYSTEP_BLD, KEYCOLS (id,entry_id,caller);
    MAPEXCLUDE ODS.OS_HISTORYSTEP_BLD;
    MAP ODS.*,TARGET ODS.*;
    No active replication maps
    DDL replication statistics:
    *** Total statistics since replicat started     ***
            Operations                                         1.00
            Mapped operations                                  0.00
            Unmapped operations                                1.00
            Other operations                                   0.00
            Excluded operations                                1.00Edited by: 949509 on Dec 8, 2012 5:21 PM

    This configuration is not supported with DDL+DML replication.
    WILDCARDRESOLVE DYANAMIC / DYNAMICRESOLUTION is culprit.
    while used any parameter above. DDL replication is not supported.if used then table mention in TABLEXCLUDE will be excluded from parameter file no matter even if you map table using TABLE schema.tablename .
    to use below syntax you must used WILDCARDRESOLVE IMMEDIATE.
    TABLE SCHEMA.TABLENAME ,KECOLS (COL1,COL2);
    TABLEEXCLUDE SCHEMA.TABLENAME
    TABLE SCHEMA.*;
    Reference.
    Can I Use A Wildcard In An Extract TABLE Statement For All Of The Tables Except One That Does Not Have A Primary Key? [ID 970419.1]

Maybe you are looking for

  • List of Released Sales Order report development

    Hi Friends,                  As we already discussed that there is no exact report for Released of blocked Sales Orders.So,we would like to develop a report.Can any one help me functional speck like Customer/reason of blocking/how many times it got r

  • DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file

    Hi DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file Two main sections: 1)      Perform write and read operations to and fro different spread sheet files, such that each file have a single row of 32bits d

  • My iphone 3g won't play on tv

    even though I bought the adapter and hdmi.  when I plug in the adapter the phone says "this accessory is unsupported."  anyone seen this yet?

  • Premiere Pro CC crashes when I try to preview files.

    Hi forum, I recently bought Creative Cloud as I got a new computer and felt like cloud based was the way to go. But now when I try to preview clips in Premiere, it just crashes for no apparent reason. I'm running on an i7 MacBook Pro Retina 15" with

  • FCP 6.06 on a MacBook Pro using Mac OSX 10.7.3

    - it cant locate my scratch discs , won't let me re-set them and I can't reinstall this version on this mac (somethign about a power pc??) any suggestions greatly appreciated!