Reg: regular expr doubt-

Hi Experts,

I have a doubt of simple query. A play with regular expressions and assigning independent assignments.

with t as (txt)

(

Select 'my name is Vanessa and a good buoy' from dual UNION ALL

Select "nordine Bolduc" dual UNION ALL

Select 'a' out of two

)

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

Select

txt,

REGEXP_COUNT (txt, '(\w)?', 1, 'i') count_of_chars,-< <-doubt (1)

REGEXP_COUNT (txt,'(\w) + ', 1,' i') count_of_words,.

WW REGEXP_COUNT (txt,'(\w) *', 1, 'i'), - < <-doubt (2)

Length (txt) length_of_string

t;

TXT COUNT_OF_CHARS COUNT_OF_WORDS WW LENGTH_OF_STRING

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

my name is Vanessa and a good buoy 33 8 16 32

ranit biswas                                 13              2          4               12

a                                             2              1          2                1

Doubts:

(1) why is there a mismatch of County between columns 2 and 5 IE count_of_chars and length_of_string?

Difference in number is 1.

This is the beginning (^) or end ($) character, which is counted?

Why 2) (\w)* difffer so to (\w)+ ?))

Am I missing some basic notion? Please notify.

Thank you and best regards,

-Nordine

(on Oracle 11.2.0.3.0 - Exadata)

Hello

nordine B wrote:

...
SQL > select regexp_replace ('faaafbabaffab','([ab]*) ', '<\1>') double val;

VAL
-----------------------------
<>f<>f<>f<>f<>

Here, is: whenever a character does not match with any character in the set match ([ab] here), looks like a character before it?

So, the first character has been verified that is 'f' because it does not, a '<>' was placed before the "f".

What is the internal work?

You will find perhaps clearer to imagine a pointer that can be placed before or after the characters, from before the first character after the last character and to check if the model is on the right.

When the pointer is before the 1st character, there is 0 the or BS on his right, so replace you these 0 characters with '<>' and increments the pointer.

When the pointer is after the 1st character, but before the 2nd character, there are 3 has the right, if you replace these 3 characters with ', and move the pointer to the end of these 3 characters.

...

When the pointer is between 11 and 12 characters, there are 2 a and b to the right, if you replace these 2 characters by '' and move the position of the pointer 2 to the right.

When the pointer is after the 13 character (in other words, the last character), there is 0 a or b to his right, so replace you these 0 characters with '<>',

Tags: Database

Similar Questions

  • Reg: Regular Exp - help

    Hi Experts,

    I need help to use the regular Expression-

    WITH t AS)

    SELECT ' 1234 Angel Villa, House 420 | Detroit | WE | 700129' double txt

    )

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

    SELECT

    txt,

    SUBSTR (txt, InStr(txt,'||') + 2, (INSTR(txt,'|',1,3)-INSTR(txt,'||')-2)) val1,

    REGEXP_REPLACE (txt '([^ ||] *||) (.*)', '\2') val2

    T;

    I want to extract the text entry "Detroit" - going between the two. (begins - with that) and a. (ends - with that).

    txt - 1234 Angel Villa, House 420 | Detroit | WE | 700129

    val1 - Detroit

    val2 | Detroit | WE | 700129

    My regex is not appropriate somewhere. Please provide any suspicion in this regard (and not the exact solution - want to try)

    The backreference is very interesting but am very bad at writing regular expressions. Help much appreciated.

    Thank you and best regards,

    -Nordine

    (on Oracle 11.2.0.3.0 - Exadata)

    Published:

    Tried this now.

    REGEXP_REPLACE (txt '([^ ||] *||) ([^|] *) (|. *)', '\2') val2

    Output-

    ||||

    Nordine Hello B

    Yes, because you have more sign like | in this case you must use the non-greedy option for your star: *?

    I would use the REGEXP_SUBSTR.

    You must use the escape character \ and must be given to the * that you don't want to have the sign | Once again...

    It's a little hard to explain. If you want the solution tell me.

    Best regards, David

    P.S.: Because nobody didn't read you just wish that you do not want to have the right solution only just advice... And you already know the solution, so I post my solution too

    WITH t AS)

    SELECT ' 1234 Angel Villa, House 420 | Detroit | WE | 700129' double txt

    )

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

    SELECT

    txt,

    SUBSTR (txt, InStr(txt,'||') + 2, (INSTR(txt,'|',1,3)-INSTR(txt,'||')-2)) val1,

    REGEXP_REPLACE (txt '([^ ||] *||) (.*)', '\2') val2

    REGEXP_SUBSTR (txt '(\|) {2} ((.| ^(\|)) *?) (\|)', 1, 1, NULL, 2) LIKE REGEXP_RESULT --> Chris227 Correction

    T;

    Where:

    (Results): take this sign | but don't interpret as the OR operator.

    (\|) {2}: take the sign. twice

    .           : Take any character

    . *: Take among these characters, as you can

    .*?         : Take one of these characters, not the longest chain you will find (NON-greedy option:?)

    (.*?)       : Consider backreference in parentheses. REGEXP_SUBSTR last option is 2, because we want only the name of the city without sign.

    Last (-|)   : The name of the city must be accompanied by a sign.

    I hope it helps.

    The SQL above has been fixed-> reason: Chris227 noticed a mistake. Thanks Chris277!

  • G25-AV513: Questions about the use of this device

    I recently bought the Qosmio G25-AV513 but it was an open box, so I went back there and has been convinced, it was beautiful... so I started to set up at home and low and behold... bad pixels. So I went back and asked when would happen more... and I was told no more are regular and doubtful if they will be. But they have another oped model that runs like new...

    So the question I have. I'll buy this mainly for use high game... dunno if I should adjust for this model... now that I know, that a newer version came in the second week of January... but if it is not suitable for use games and audio/video I lost out on the G25.

    All recommendations... ?
    Do you think that this new model would be the next progression or and a good bet... or just different and not worth risking the g25 on.

    Hello Kerry

    Of course, you have an American machine and the hardware configuration is not known to me. The fact is that each new unit has especially more recent pieces of material (more MB on graphics card) or more of RAM. Qosmio G20 G25 United States is a great unit. A friend of mine has one and the game works fine.

    In my view, you can compare your device with a newer version, but if you like playing games, in my opinion, the G25 is the right one.

    Good bye

  • Wildcard characters can be used to search / replace (Ctrl + F)

    CS4 running

    I want to essentially eliminate links secured in a report of statistics to a customer by replacing something like:

    This (each of them is unique after certain parts of the URL so needs to find several):

    " < a href =" https://sdkjhfb.com=SNG? & = 12e.com & SSL = & out = URY ">

    With this: < a href = "#" >

    Are there triggers or something where you can say any alpha or the digit or extended characters... are there special characters or setting?

    Thank you very much for your help time

    Hi time (?).

    You can try this: l http://www.trentmueller.com/blog/search-and-replace-wildcard-characters-in-dreamweaver.htm, or you take Google your friend and research on "regular expression", like this:

    http://www.google.de/#sclient=psy&hl=de&source=hp&q=dreamweaver+find+replace+regular+expre ssion & pbx = 1 & oq = dreamweaver + discovery + replace & aq = 1 L & AQI = g - L3 & aql = 1 & c = gs_sm & gs_upl = 21l2l2l0l0l0l0l281l531l2 - 2l2l0 & bav = we. 2765l3156l0l44 2, or.r_gc.r_pw & fp = fbaec3388c8963fe & biw = 1280 & bih = 813.

    Hans-Günter

  • Problem with &lt; b &gt; htmlText tag!

    Hello

    I have a problem with htmlText in AS3. I create in the font library. Regular and a "BOLD" of NeoSans version and export for actionscript. The < b > tag works, but the problem is that when I do it on my project, the police is not sharp and ugly but if I do the same step by step as3 empty of police project looks just great. I don't know what makes a difference. Please help me.

    I post images. I tried to create the same box htmltext in a different place in my project and fonts there seems too perfect. Only in the movieclip that I want to put my htmlText police don't is not look like that should look like (not sharp and ugly like the screen). I have no idea why it looks like this, in this one movieclip.

    PS Sorry for the bad English.

    use css to do this:

    var css:StyleSheet = new StyleSheet();

    "BOLD" var: Object = new Object();
    Bold.Color = "#000000";
    bold.fontFamily = new Yourboldfontclass (.fontName);

    regular var: Object = new Object();
    Regular.Color = "#000000";
    regular.fontFamily = new Yourregularfontclass (.fontName);

    css.setStyle (".reg", regular);
    css.setStyle (".bold", "BOLD");

    var tf:TextField = new TextField();
    tf.embedFonts = true;
    tf.styleSheet = css;
    addChild (tf);
    tf.htmlText = "Ut accumsan urna lobortis, and ullamcorper diam dictum vitae." Nullam ultrices, massa sit amet tincidunt dignissim, feugiat sem odio, nec, quam restore augue commodo eros massa. Pellentesque elementum lectus enim accumsan blandit mi. In volutpat imperdiet tincidunt. Surpassing in purus sit amet tempus auctor lectus auctor magna varius. CRAs hendrerit metus, sit amet orci faucibus eget bibendum ultricies. Proin ut odio nisl. Etiam nisi justo, ornare in, ultrices a, auctor id nulla. Mauris dictum aliquet sapien, sed dapibus enim tempor eget. Aenean tincidunt viverra nulla sollicitudin tincidunt sodales AC Vivamus imperdiet leo in ultricies vehiculasapien dolor. Integer adipiscing fitness Hall. « ;

  • How to distinguish the SQL capabilities of PL/SQL?

    I m having trouble understanding what functions is used ONLY in SQL and are used in regular expr instructions (IE, variable assignment,). Can someone show me a list of each or maybe a URL to look for?

    I have searched through the guide and reference is the developer, but could not find an indication appropriate in a place that it is clear.

    For example, I thought that I can use the CAST function in a variable assginment as follows:
    declare
     cursor myCur is SELECT Value_varchar2(1) FROM table WHERE id = 1;
     myRec myCur%ROWTYPE;
     var_a NUMBER(1);
    begin
     OPEN myCur;
     FETCH myCur INTO myRec;
     CLOSE myCur;
    
     var_a := CAST(myCur.Value_varchar2(1) AS NUMBER(1));
     DBMS_OUTPUT.PUT_LINE('var_a = ' || TO_CHAR(var_a));
    end;
    . 
    It seems that CAST function can ONLY be used in an SQL statement, but no doc has so far only?

    Edited by: HappyJay 05/12/2010 12:05

    In PL/SQL, drop the length specifier when you cast:

    SQL> exec dbms_output.put_line(cast('123' as number(5)));
    BEGIN dbms_output.put_line(cast('123' as number(5))); END;
    
                                                   *
    ERROR at line 1:
    ORA-06550: line 1, column 48:
    (blah blah blah)
    
    SQL> exec dbms_output.put_line(cast('123' as number));
    123
    
    PL/SQL procedure successfully completed.
    
  • A doubt on REG EXP

    Hi friends,

    Please specify the doubt in Reg Exp.

    Table EMP a sequel EMP_NAMEs:

    ============
    Anand
    Bala_G
    Chitra
    David_C
    Elango
    Faye
    ============

    We have a set of characters as "abcdefghijklmnopqrstuvwxyz0123456789".

    Now we must find EMP_NAMES County, whose characters (any) are not in the list of characters in the list above. In this example, the result should be 2. for example, "Bala_D" and "David_C. The query should be like:

    Declare
    v_string varchar2 (50): = "abcdefghijklmnopqrstuvwxyz0123456789";
    v_count number (6);
    Begin
    Select count (*)
    in v_count
    WCP
    where regexp_like (emp_name, v_string);

    dbms_output.put_line (v_count);

    end;

    ========================

    Thanks in advance!

    Hello

    Welcome to the forum!

    To use REGEXP_LIKE, you could say:

    WHERE     REGEXP_LIKE ( emp_name
                  , '[^abcdefghijklmnopqrstuvwxyz0123456789]'
                  )
    

    However, it will be faster not not to use regular expressions:

    WHERE   LTRIM ( emp_name
               , 'abcdefghijklmnopqrstuvwxyz0123456789'
               )          IS NOT NULL
    

    Published by: Frank Kulash on 10 October 2012 16:18
    Removed the extra single quote, after DAMorgan, below.

  • Reg: Oracle audit regular performance impact

    Dear all,

    Oracle Database 11g R2 11.2.0.1 SE1

    Currently in the development database, I activated the regular audit on SELECT, INSERT, UPDATE, DELETE for about 10 (more accessible) tables on 140

    The growth rate of aud$ table is about 100 files per minute (on average) and the DB is accessible by 20 people simultaneously.

    I also planned the DELETE task for aud$ table every night at 12:00. (Delete rule-> SYSDATE - 2)

    This audit decreases the performance of the database when I implement the same production?

    If all this, I want to stop an audit anyway, not the bug (Bug 1257564: noaudit does not turn off auditing database.) avoid me by doing this, since I've found the fixed version of the bug in oracle support.

    Guide to in this regard.

    Hi malfoy

    I suggest strongly that you to check the following documents concerning the Audit of the Oracle performance problems

    http://www.Oracle.com/technetwork/products/Audit-Vault/learnmore/TWP-security-auditperformance-166655.PDF

    However, it is very rare that someone has faced the bug you mentioned, and the only way to solve it is to raise SR Oracle support

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

    Best regards

    Kamran Aghayev has.

    Personal site removed by moderator - this is a violation of the terms of use of forums - include only personal website in your profile details *.

  • Reg: Doubt in XQuery FLWOR expression

    Hello Experts,

    I have a XML like this-

    < root >

    < Reports >

    < report >

    < ReportName > ABCM < / ReportName >

    . . . other details...

    < / report >

    < report >

    < ReportName > XYZZ < / ReportName >

    . . . other details...

    < / report >

    < report >

    < ReportName > ABCXO < / ReportName >

    . . . other details...

    < / report >

    < report >

    < ReportName > COMO < / ReportName >

    .. .other details...

    < / report >

    < / Reports >

    < / root >

    I have try it like this.

    Select x1.*

    Of

    test_xml,

    XMLTABLE)

    ' for $i in Root/reports/reports

    where $i / ReportName in ('ABCM', 'ABCXO')

    Return $i"

    in passing test_xml.dx

    columns

    slno for the ordinalite,

    path of varchar2 (15) report_name 'NomRapport. "

    sequence_number number path "SequenceNumber".

    ) x 1

    ;

    My doubt is in the red part above.

    I want to go get the details only for reports whose name start with 'ABC '. Even $i / ReportName as 'ABC%' will raise an error

    ORA-19114: XPST0003 - error during parsing of the XQuery expression:

    LPX-00801: error of XQuery syntax to "like".

    2 where $i / ReportName as 'ABC% '.

    -                                    ^

    19114 00000 - "error during the analysis of the XQuery expression: %s.

    * Cause: An error occurred during parsing of the XQuery expression.

    * Action: Check the error message for possible causes.

    Error on line: column 2:30

    Please notify.

    Thank you and best regards,

    -Nordine

    (on Oracle 11.2.0.3.0)

    I gave you example ora: matches. It is easy to change it to use fn:starts - with:

    with t as)

    Select xmltype (')

    ABCM

    1

    XYZZ

    2

    ABCXO

    3

    JULIE

    4

    xmlDoc ') of double

    )

    Select x1.*

    t,.

    XMLTable)

    "' / Root/reports/reports [fn:starts - with (ReportName,"ABC")].

    passage xmldoc

    columns

    slno for the ordinalite,

    path of varchar2 (15) report_name 'NomRapport. "

    sequence_number number path "SequenceNumber".

    ) x 1

    /

    SLNO REPORT_NAME SEQUENCE_NUMBER
    ---------- --------------- ---------------
    1 ABCM                          1
    2 ABCXO 3

    SQL >

    SY.

  • Reg: XQuery/XPath expr.

    Hi Experts,

    I was trying to learn/experience the XQuery/XPath expressions and had some doubts.

    I learn here-http://www.w3schools.com/xquery/xquery_example.asp

    Configuration script:

    CREATE TABLE a (col1 XMLTYPE);

    INSERT INTO a VALUES (XMLTYPE ("<?")) XML version = "1.0" encoding ="ISO-8859-1"? >

    < library >

    < Book category = "COOKING" >

    < title lang = "fr" > < /title > Italian newspaper

    < author > Giada De Laurentiis < / author >

    < year > 2005 < / year >

    < price > 30.00 < / price >

    < / book >

    < Book category = "CHILDREN" >

    < title lang = "fr" > Harry Potter < /title >

    < author > J K Rowling < / author >

    < year > 2005 < / year >

    < price > 29.99 < / price >

    < / book >

    < Book category = "WEB" >

    < title lang = "fr" > XQuery Kick Start < /title >

    < author > James McGovern < / author >

    < author > per Bothner < / author >

    < author > Kurt Cagle < / author >

    < author > James Linn < / author >

    < author > Vaidyanathan Nagarajan < / author >

    < year > 2003 < / year >

    < price > 49.99 < / price >

    < / book >

    < Book category = "WEB" >

    < title lang = "fr" > Learning XML < /title >

    < author > Erik T. Ray < / author >

    < year > 2003 < / year >

    < price > 39.95 < / price >

    < / book >

    ((< / book > '));

    It worked:

    RANIT@XE11GR2 > > ed

    A written file afiedt.buf

    1 Select xt.colx

    2 a, XMLTable ('/ bookstore/book[price < 40]')

    3 passage a.col1

    4 columns

    5 way XMLTYPE colx '.'

    6 *) xt

    RANIT@XE11GR2 > >.

    COLX

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

    < Book category = "COOKING" >

    < title lang = "fr" > < /title > Italian newspaper

    < author > Giada De Laurentiis < / author >

    < year > 2005 < / year >

    < price > 30.00 < / price >

    < / book >

    < Book category = "CHILDREN" >

    < title lang = "fr" > Harry Potter < /title >

    < author > J K Rowling < / author >

    < year > 2005 < / year >

    < price > 29.99 < / price >

    < / book >

    < Book category = "WEB" >

    < title lang = "fr" > Learning XML < /title >

    < author > Erik T. Ray < / author >

    < year > 2003 < / year >

    < price > 39.95 < / price >

    < / book >

    Elapsed time: 00:00:00.16

    But when tried to join another filter condition, it gives me the error:

    RANIT@XE11GR2 > > ed

    A written file afiedt.buf

    1 Select xt.colx

    2 a, XMLTable ('/ bookstore/book[< 40 year AND price < 2004]')

    3 passage a.col1

    4 columns

    5 way XMLTYPE colx '.'

    6 *) xt

    RANIT@XE11GR2 > >.

    a XMLTable ('/ bookstore/book [price < 40 year AND < 2004] ")

    *

    ERROR on line 2:

    ORA-19114: XPST0003 - error during parsing of the XQuery expression:

    LPX-00801: to "AND" XQuery syntax error

    1/bookstore/book [price < 40 year AND < 2004]

    -                           ^

    Elapsed time: 00:00:00.04

    RANIT@XE11GR2 > > ed

    A written file afiedt.buf

    1 Select xt.colx

    2 a, XMLTable ('/ bookstore/book[price < year 40, < 2004]')

    3 passage a.col1

    4 columns

    5 way XMLTYPE colx '.'

    6 *) xt

    RANIT@XE11GR2 > >.

    ERROR:

    ORA-19169: FORG0006: invalid argument in «fn:boolean()» type

    no selected line

    Elapsed time: 00:00:00.20

    Could you please help me how to add multiple condition filter here?

    Thank you

    -Nordine

    (on Oracle 11.2.0.3.0)

    There "and" lowercase:

    / bookstore/book [price<40 and=""><>

    If I may ask another site to start learning: Tutorials of XQuery

    And of course, the W3C recommendation official, always useful to get information about the base language: http://www.w3.org/TR/xquery/

    For the Oracle specifics, see DB XML Dev Guide:

    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/xdb_xquery.htm

    Also, as you should know by now, this kind of questions belong to the forum DB XML or XQuery forum (for a general discussion of the language).

  • Reg: Doubt dbms_scheduler

    Hi Experts,

    I have the script below-

    (a) Proc_2 uses CREATE_JOB to call proc_1. In this case, I don't see the exit for ' *' and ' =' in my console dbms_output. But, the good works of the Insert (insert only once).

    (b) if I Uncomment RUN_JOB, there are 2 INSERTS that passes for the same data, and I can see the outputs ' *' and ' =' in my console output - once printed.

    {package_x}

    PROC_1 {}

    I'm in (slider)

    loop

    dbms_output.put_line('***');

    INSERT INTO table_x values (i.some_value);

    dbms_output.put_line('===');

    end loop;

    commit;

    }

       proc_2 {}

    dbms_scheduler.create_job ('Task1', proc_1);

    -/ / dbms_scheduler.run_job ('job1');

    }

    }

    No idea why this phenomenon occurs? I haven't worked a lot with planners, but assumes that CREATE_JOB is called to step (a).

    Please notify.

    Thank you

    -Nordine

    (on Oracle 10.2.0.1.0)

    No idea why this phenomenon occurs? I haven't worked a lot with planners, but assumes that CREATE_JOB is called to step (a).

    Time to read the manual and then, isn't?

    RUN_JOB performs the work in an interactive way, by default in your current session. That's why you can see DBMS_OUTPUT buffer.

    -Running a task immediately. If use_current_session is TRUE the job is run the

    -the user's current session. If use_current_session is set FALSE labor is running the

    -background by a slave of dedicated work.

    PROCEDURE run_job)

    job_name IN VARCHAR2,

    use_current_session IN DEFAULT BOOLEANTRUE,

    event_message IN SYS. ANYDATA DEFAULT NULL);

    CREATE_JOB (assuming you activate it) will submit JOB1 to be run as a background process.

    If you call RUN_JOB immediately after, JOB1 still exists in the dictionary (assuming once again it is auto-dropable), and runs a second time.

  • Doubt with regular Expression

    Hi all,

    How can I get the result using regexp_replace and regexp_substr?
    with tab as
    (
    Select 'TEST( XX_XXXXXX, 12 ) ; AAAA'  txt from dual union all
    Select 'TEST( AAAAAAAAA , 67 ); 1234'  txt from dual union all
    Select 'TEST( 92233 ,   47   ); 5234'  txt from dual union all
    Select 'TEST( AAAAAAAAA , AA ); 897'   txt from dual union all
    Select 'TEST( CCCCC 25 );'             txt from dual union all
    Select 'TEST CCCCC, 45 );'             txt from dual union all
    Select 'TEST( EDCCCC, 45 ;)'           txt from dual union all
    Select 'TEST(BBBBBBBBB,12);'           txt from dual
    )
    --
    Select regexp_substr(txt, '[^.*,. *][[:digit:]][^\).*$]') from tab
    /
    
    --
    REGEXP_SUBSTR(TXT,'[^.*,.*][[:
    ------------------------------
    12
    67
    922
    897
    25
    45
    45
    
    8 rows selected
    Mandatory Criteria
    
    "TEST" And "(" And "," And ")" And ";"
    expected result
    12
    67
    47
    Null
    Null
    Null
    Null
    12
    Kind regards

    Something like:

    with tab as
    (
    Select 'TEST( XX_XXXXXX, 12 ) ; AAAA'  txt from dual union all
    Select 'TEST( AAAAAAAAA , 67 ); 1234'  txt from dual union all
    Select 'TEST( 92233 ,   47   ); 5234'  txt from dual union all
    Select 'TEST( AAAAAAAAA , AA ); 897'   txt from dual union all
    Select 'TEST( CCCCC 25 );'             txt from dual union all
    Select 'TEST CCCCC, 45 );'             txt from dual union all
    Select 'TEST( EDCCCC, 45 ;)'           txt from dual union all
    Select 'TEST(BBBBBBBBB,12);'           txt from dual
    )
    select  txt,
            case
              when regexp_like(txt,'^TEST\(.+, *\d+ *\) *;.*$') then regexp_replace(txt,'(^TEST\(.+, *)(\d+)( *\) *;.*$)','\2')
            end expected_result
      from  tab
    /
    
    TXT                          EXPECTED_RESULT
    ---------------------------- ---------------
    TEST( XX_XXXXXX, 12 ) ; AAAA 12
    TEST( AAAAAAAAA , 67 ); 1234 67
    TEST( 92233 ,   47   ); 5234 47
    TEST( AAAAAAAAA , AA ); 897
    TEST( CCCCC 25 );
    TEST CCCCC, 45 );
    TEST( EDCCCC, 45 ;)
    TEST(BBBBBBBBB,12);          12
    
    8 rows selected.
    
    SQL> 
    

    SY.

  • Reg: Doubts on knowledge Modules

    Hi all
    Please give brief idea about knowledge modules. Please do not give links.
    KNOWLEDGE MODULES
    -------------------
    RETRO-DESIGN
    Ok.
    CKM
    IKM
    JKM
    SKM

    Thank you very much in advance,
    -Combo.

    LKM - loading
    The LKM - knowledge of loading Modules - loading (or extract data) one data to another server.
    They are named as follows:
    LKM à ()

    JKM - logging
    Installing JKM - logging of knowledge Modules - logging on a store of data in a data model.
    They are named as follows:
    JKM

    Note: Logging uses triggers and views. So, technologies that do not support these functions generally do not have an associated JKM.

    IKM - integration
    The IKM - Modules of knowledge of integration - integrate data into a staging target data server. Frequently, the staging area and space target are on the same database server. The IKM can handle the insert data options (Append) or the incremental (update), etc.
    They are named as follows:
    IKM to

    Note: The option is handled by the module often indicate more complex option taken in charge in this knowledge module. For instance, a module of incremental update (update) should also be able to handle the option append, i.e. the insertion and deletion of data in the target database...

    CKM - Check
    The CKM - knowledge Check Modules - manage data quality and cleaning, static data and data flows.
    They are named as follows:
    CKM ()

    RKM - retro-engineering
    RKM - knowledge market Module - one backwards engineering model of data stored in a particular technology. By default, the standard reverse to reverse all the information and metadata in most models. It is necessary for certain technologies (e.g. files) to use a personal setback and, therefore, an RKM. They are referred to specifically.

    SKM - Services
    SKM (Service knowledge Modules) are used to generate the code required to create data services. This code (typically Java) can be automatically compiled and deployed on a web services container.

    You can get more information about several KMs of
    http://www.Oracle.com/technology/products/Oracle-data-integrator/10.1.3/htdocs/documentation/oracledi_km_reference.PDF

    There is no escape from URL :)

  • Doubt on the regular Expression ^ A - Z

    Wich kind of expression can be inserted into a field with this review of the constraint?

    ALTER table RegexTests add constraint RegTst_S1Q2A
    check (REGEXP_LIKE (S1Q2A, ' ^ A - Z'));

    I tried:

    insert into RegexTests (S1Q2A) values ('123'); -error
    insert into RegexTests (S1Q2A) values ("A123"); -error
    insert into RegexTests (S1Q2A) values ("ABCD"); -error
    insert into RegexTests (S1Q2A) values ("ABCDEFGHIJKLMNOPQRSTUVWXYZ"); -error
    insert into RegexTests (S1Q2A) values ('A'); -error
    insert into RegexTests (S1Q2A) values ('a'); -error

    Thanks to advice!
    start with the aphabitec alter table RegexTests add constraint RegTst_S1Q2A
    check (REGEXP_LIKE(S1Q2A, '^[A-Z]'));  OR [:alpha:] for all alphabetic
    SQL> create table RegexTests(S1Q2A varchar2(20));
    
    Table created.
    
    SQL> alter table RegexTests add constraint RegTst_S1Q2A
    check (REGEXP_LIKE(S1Q2A, '^A-Z'));  2
    
    Table altered.
    
    SQL> insert into RegexTests (S1Q2A) values ('A-Z1235422');
    
    1 row created.
    
    SQL> alter table RegexTests drop constraint RegTst_S1Q2A;
    
    Table altered.
    
    SQL> alter table RegexTests add constraint RegTst_S1Q2A
      2  check (REGEXP_LIKE(S1Q2A, '^[A-Z]'));
    
    Table altered.
    
    SQL> insert into RegexTests (S1Q2A) values ('A123');
    
    1 row created.
    

    Published by: Salim champion on May 16, 2009 09:12

  • Doubts on my new book

    Hi all:

    I bought a new book a few days ago. I am really satisfied with this wonderful machine. After using it for a few days, I have two doubts:

    (1) the fan in my booklet is most of the time. Is this normal?
    (2) what are the specifications of memory? I want to upgrade the RAM in my machine, but I have no reference manuals for do I have to use the memory modules.

    Thank you very much

    In case it helps to... My experience with my U100 is the fan is certainly * not * "almost all the time." For example, I went about 40 minutes before to check emails, news, etc., using the power of the battery and the default 'normal' power setting, and the fan is not switched on once. (Room temperature is 23 degrees c).

    If I use it outside in the Sun very as the case becomes hot to the touch, the fan tends to come regularly.

    If it runs on my desk from the power outlet (using the parameter 'high power' by default) and I do the work of the processor hard as when you make a disk backup or editing photos, then yes the fan are quite light. But it's just like most laptops.

    If she does everything what * and * the sun shines directly on it as well, then the fan comes on saying maybe 50% or more of the time. (A silver case would have reduced the effect of solar heating - but look very smart matte black ;-).)

    How does this compare with your experience?

    To the subject of RAM, yours came with 512 MB like mine? (I guess this would be the module PA3312U - 2M 51, as described on this site - 512 MB memory PC2700 DDR SODIMM (333 MHz)).

    Before I bought the machine the provider told me that he has that one slot RAM and that in order to upgrade the memory, I would need to take the existing 512 MB and replace it with a 1 GB module. But I have not confirmed which and there is no mention of a module of 1 GB on this site. The 512 MB so far seems sufficient, but I would be interested to know if you are able to increase the RAM on your U100.

    Kind regards
    David Tong.

    PS. It occurs to me that if you feel the need to increase the RAM, then maybe you do work pretty hard machine, in this case you expect the fan to be busy.

Maybe you are looking for