Formatting of the GUID string.

Dear gurus, I already get good help for other problem. I hope to follow guidelines this time.
In our firm we have to deal with the GUID. Now, the GUID come in 3 formats (see the other posting
of the GUID in this newsgroup). I have the several GUIDS as below
with mydata as (
select '77DB966B620D4FEBB9959D016E0BD590' as guid from dual union
select '159F25C035E845CFA95CFF4F3365B330' from dual union
select '0485FA87A2FF445E965333B6980EC176' from dual)
select guid from mydata;Now, instead of the phrase "select guid from mydata" what I wish for is to have the
select regexp_replace(guid, xxxxxxxxxxxx, yyyyyyyyyyyy, zzzzzzzzzzz) from mydata for the following of the result.
desired result
select regexp_replace(guid, xxxxxxxxxxxx, yyyyyyyyyyyy, zzzzzzzzzzz) from mydata;
77DB966B-620D-4FEB-B995-9D016E0BD590
159F25C0-35E8-45CF-A95C-FF4F3365B330
0485FA87-A2FF-445E-965333B6980EC176
and also desired result - difference in expression
{77DB966B-620D-4FEB-B995-9D016E0BD590}
{159F25C0-35E8-45CF-A95C-FF4F3365B330}
{0485FA87-A2FF-445E-965333B6980EC176}the needing is as the follows: put the - (hyphen charachter) at 8, 12, 16, 20 in the GUID string
and also possible choose add the bracket cureley { } at beginning end of string. I am not very strong
(still doing the learning) of the regular expressions. If any guru can help, I would be most grateful.
Jehangir.

Hi, Jehangir,
Here's how to do that using REGEXP_REPLACE:
SELECT  guid               AS raw_guid
,     REGEXP_REPLACE ( guid
                 , '{\1-\2-\3-\4}'
                 )     AS formatted_guid
FROM    mydata
;Results, given the sample data you posted:
RAW_GUID                         FORMATTED_GUID
0485FA87A2FF445E965333B6980EC176 {0485FA87-A2FF-445E-965333B6980EC176}
159F25C035E845CFA95CFF4F3365B330 {159F25C0-35E8-45CF-A95CFF4F3365B330}
77DB966B620D4FEBB9959D016E0BD590 {77DB966B-620D-4FEB-B9959D016E0BD590}In the 3rd argument to REGEXP_REPLACE, the curly brackets have no special meaning. You can use them like any plain character.
You could also get the same results using SUBSTR, which will probably be a little more efficient.
Jehangir Khan wrote:
Dear gurus, I already get good help for other problem. I hope to follow guidelines this time.
In our firm we have to deal with the GUID. Now, the GUID come in 3 formats (see the other posting
of the GUID in this newsgroup).Copy the relevant information into this thread, or at least post a link.
I have the several GUIDS as belowSorry, I don't understand. What is the difference between the 3 formats? All the strings you posted seem to have the same format.
>
with mydata as (
select '77DB966B620D4FEBB9959D016E0BD590' as guid from dual union
select '159F25C035E845CFA95CFF4F3365B330' from dual union
select '0485FA87A2FF445E965333B6980EC176' from dual)
select guid from mydata;Now, instead of the phrase "select guid from mydata" what I wish for is to have the
select regexp_replace(guid, xxxxxxxxxxxx, yyyyyyyyyyyy, zzzzzzzzzzz) from mydata for the following of the result.
desired result
select regexp_replace(guid, xxxxxxxxxxxx, yyyyyyyyyyyy, zzzzzzzzzzz) from mydata;
77DB966B-620D-4FEB-B995-9D016E0BD590
159F25C0-35E8-45CF-A95C-FF4F3365B330
0485FA87-A2FF-445E-965333B6980EC176the needing is as the follows: put the - (hyphen charachter) at 8, 12, 16, 20 in the GUID stringThe last row only has 3 hyphens in the output. Why is that one different? Is that an example of a different one of the 3 formats?
Edited by: Frank Kulash on Jul 16, 2012 10:41 AM

Similar Messages

  • Format of the initialization string does not conform to specification starting at index 97 while uploading .xlsx file

    Format of the initialization string does not conform to specification starting at index 97.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 97.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    Since your post is off-topic, I am moving it to the
    off topic forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Format of the string when rs.getString(

    I want to retrieve TIMESTAMP WITH TIME ZONE field from Oracle using JDBC..
    I have to retrieve it as String (using rs.getString not rs.getDate) so that I can have the Time Zone information, otherwise I lose tz..
    String sql = "SELECT field1 , to_char(field1) FROM table";
    rs.getString(1) returns string : "2004-8-8 9.0.0.123457000 US/Eastern"
    rs.getString(2) returns string formatted according to the property NLS_TIMESTAMP_TZ_FORMAT in Oracle.. in this case i retrieve "08/08/2004 09:00:00 -04:00" when my NLS_TIMESTAMP_TZ_FORMAT is MM/DD/YYYY HH24:MI:SS TZH:TZM
    I have no control over the SQL string so I can't use "to_char( ..)" in SQL.. so I have to retrieve the date using rs.getString(1)...
    Where is the FORMAT of the string returned by rs.getString(1) defined?
    Can it be manipulated? If not is it guranateed that it will always come in this format?
    I would appreciate any information regarding the format of the string returned when I retrieve date using rs.getString instead of rs.getDate...
    Thanks

    Presumably you understand that the timezone will bethat of the database and >will have nothing at all to
    do with where the time was entered.
    So why do you want the timezone of the database?TIMESTAMP WITH TIME ZONE is a data type in Oracle
    which holds timestamp and timezone in one field
    altogether... it has nothing to do with timezone of
    the database...I see.
    Then other databases do not matter because other databases do not do this.
    And as I suggested you should use to_char() to return the format you want. You should also be prepared to do something with that timezone in your own application, since presumably there is a business reason for that field. And the Java API is not going to deal with that.
    >
    >
    You can format you strings to use to_char() andspecify the format you want
    I have no control over the SQL string... I my program
    I will just get the ResultSet of some sql that
    retrieves the Timestamp With Time Zone field in
    Oracle..
    so I cant use to_char (...) ... For that reason I
    have to receive it as String...
    To be able to process that string I need to know if
    there is a set format for date when one retreves it
    by getString(....)As I already said, there is no set format.
    Given that someone is giving you the SQL then I suggest you also require that they give you the timestamp format.

  • Just FYI, Windows Server 2012 R2 and Windows Server 2012 BranchCache Deployment Guide in Word format in the TechNet Gallery

    The Windows Server 2012 R2 and Windows Server 2012 BranchCache Deployment Guide is now available for download in Word format in the TechNet Gallery at
    http://bit.ly/1pYZT3F
    Thanks -
    James McIllece

    hello again,
    meanwhile I was lucky to find this article about Idenity Mapping in TechNet in the Storage Team Blog:
    http://blogs.technet.com/b/filecab/archive/2012/10/09/nfs-identity-mapping-in-windows-server-2012.aspx
    Likely to be overseen at the end of one paragraph it says:
    "Client for NFS does not support NFS V4.1 in Windows 8 or Windows Server 2012"
    Question : Is this an official statement and is it still valid with most recent
    Windows Server 2012 R2 that NFS client does NOT support NFSv4.x  ??
    thanks - Rainer

  • The time string has a valid format but it corresponds to the future time

    First all, I want to thank richwolf ... without his Woolamaloo.. I don't know if I can every have this to work---> for a person that is not a programmer, that application really helps a lot.
    When I use the debug function in Woolamaloo, it gave me the information about that time string has a valid format but it corresponds to the future time. And, because of that only "all" access is allowed.
    If we can't change the server time setting, is there any way I can modify the script to correct this? I place the modified itunesu (from the apple sample code, shell folder) file to the cgi-bin folder on the server. Any help will be really appreciated thank you all.
    Trouble R.

    First of all, thank you for using Woolamaloo. You are too kind.
    The time token is used to create your signature token ... and you need the signature to have a valid token string. So I can't see a way for you to do what you ask.
    Is there any way you can use the server that you don't control to do authentication only ... and generate the token string on a server whose time you can set?

  • Getting Excel to interpret the return string of a WEBSERVICE() function using a WCF REST service.

    I am using the WEBSERVICE() function in Excel and a WCF REST service is called through this function.  
    The web service returns a string value of true or false when invoked.  E.g. <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">True</string>
    This has been confirmed through debugging and it seems to be working fine when invoked through a client application or browser.
    However, the result shown in the cell in the Excel sheet is #VALUE!. This particular cell has a custom format (set using the Format Cells ... option) that displays "Yes" or "No". (The
    custom format is "Yes" ; "Yes" ; "No".)  Is this the correct way of interpreting the results of a Web Service method called in Excel? Does a #VALUE! result actually imply a formatting issue or some other interpretation
    error? Is there anything missing? Can somebody suggest ideas?
    Any help would be appreciated.
    Many thanks,
    Keith
    R K Howard

    Hi Keith,
    Have you used the formula FILTERXML(xml, xpath) function to extract single pieces of data from the XML string?
    If not, please follow the blog below, the author will guide you to get data from Webservice.
    http://blogs.office.com/2013/03/21/use-webservice-functions-to-automatically-update-excel-2013-spreadsheets-with-online-data/
    Best Regards
    Lan 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem with SOAP Adapter receiver not receiving the proper string

    Hi friends
    I have a very simple scenario as follows using SOAP Syncronous Call
    SENDING SCENARIO
    ================
    ExternalClient --> SOAP ADAPTER --> XI -> RFC ADAPTER --> ZBAPI
    RECEIVING SCENARIO
    ==================
    ZBAPI  --> RFC ADAPTER   --> XI    -->   SOAP ADAPTER  --> ExternalClient
    Here External Client is sending a search ID and ZBAPI searches for that record and send the FirstName and LastName.
    I am using external Definitions in XSD format as follows.
    INPUT XSD is
    =========================================
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://cincom.com/xi/socrates/customerSearch" targetNamespace="http://cincom.com/xi/socrates/customerSearch">
         <xsd:element name="ZBAPI_GET_NAME">
              <xsd:complexType>
                   <xsd:all>
                        <xsd:element name="ID" type="xsd:integer" minOccurs="0" />
                   </xsd:all>
              </xsd:complexType>
         </xsd:element>
    </xsd:schema>
    ===========================================
    Reciving XSD file has
    ==============================================
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:socrates.cincom.com" targetNamespace="urn:socrates.cincom.com">
         <xsd:element name="ZBAPI_GET_NAME_RESPONSE">
         <xsd:complexType>
         <xsd:all>
         <xsd:element name="ADDRESSDATA" minOccurs="0">
         <xsd:complexType>
         <xsd:sequence>
         <xsd:element name="FNAME" minOccurs="0">
              <xsd:simpleType>
                   <xsd:restriction base="xsd:string">
                        <xsd:maxLength value="20" />
                   </xsd:restriction>
              </xsd:simpleType>
         </xsd:element>
         <xsd:element name="LNAME" minOccurs="0">
              <xsd:simpleType>
                   <xsd:restriction base="xsd:string">
                        <xsd:maxLength value="20" />
                   </xsd:restriction>
              </xsd:simpleType>
         </xsd:element>
         </xsd:sequence>
         </xsd:complexType>
         </xsd:element>
         </xsd:all>
         </xsd:complexType>
         </xsd:element>
    </xsd:schema>
    =========================================================
    I HAVE TESTED THE ZBAPI AND IT WORKS WELL ON ITS OWN. ALSO I HAVE TESTED THAT THE MESSAGE SENT FROM OUTSIDE CLIENT IS REACHING BAPI. HOWEVER WHEN I GOTO 'SXMB_MONI' AND CHECK THE
    XML STRING THAT THE RECIEVER IS GETTING, I SEE JUST THE FOLLOWING TWO LINES
    ===================================
      <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:ZBAPI_GET_NAME_RESPONSE xmlns:ns1="urn:socrates.cincom.com" />
    ======================================
    IF YOU NEED ANY FURTHER INFO, PLEASE LET ME KNOW.
    HOPE SOME ONE CAN GUIDE ME WITH THIS PROBLEM.
    THANKS IN ADVANCE
    RAM

    Ram
    Can you pls. confirm whether the mapping of your XSD fields & BAPI fields are in same sequence. I mean hierarchy is same or not.
    Just to verify, as you said you are using Sync scenario that means you are using ONE Sender Soap & ONE Reciever RFC adapter.
    Regards
    Lalit

  • Problem with the number format in the graph axis with Report Generation Toolkit.

    Hi!
    I'm trying to use the Report Generation Toolkit to plot some graphs in Excel.
    My first problem is that I don't know how to configure the number format in the Excel Set Graph Font.vi so that my numbers are correctly displayed in the graph's axis. The only given option is general (0,0) but this is not enough for me, my numbers can get really small so I need engineering notation or fraccional format.
    Second: I also insert a table with the graph source data, but the numbers are not correctly displayed either: for example: 
    0,75 is shown as: 
    0,750000
    but 1,25  is shown as: 
    1!250!000
    My guess is I am making to much or wrong string to number conversions or Excel is getting it wrong but I can't find my way...
    Can someone help me with this?
    Thanks,
    Isabel

    Here is my VI, it's just a trial so it can look messy...
    Thanks,
    Isabel
    Message Edited by Isa_pm on 01-22-2007 01:12 PM
    Attachments:
    Create report.vi ‏96 KB

  • How can I change the numeric format of the cursor coordinates display in LV 8.2

    Since LV 8.0 or so the cursor display window of a graph indicator seems to be a tree control. I couldn't find where to change the numeric format of the numbers displayed in that control. What did I miss?

    lecroy wrote:
    Maybe I'm not clear on what your looking for but I just use a property node and route the raw cursor data out to what ever function I want to run on it, then display it in a seperate field.  The nice thing with the property node is you can have multiple graphs linked together by one set of cursors all with different readouts. 
    Yes, of course that's an option and I guess I'll have to do it that way.
    The point is that I converted a pre-LV-8.x program to LV 8.5. In the program I had used the coordinates display field in the cursor legend to display the position, just the was the cursor legend is supposed to be used, IMO. And in pre-LV-8.x days it was possible to customize the numeric format property of the cursor legend (either directly or by property nodes). It seems that with LV 8.x NI chose to use a treeview control for the cursor legend. With that 'improvement' the numeric formatting flexibility was lost since now the conversion to the string content in the cursor legend's treeview is happening somewhere 'under the hood'.
    <rant> Why do they (NI) always try to 'improve' things (where nothing needs be improved) and sacrifice functionality on the way....? </rant>

  • How to manage Locale info in the URL path, but not the query string

    We are building an application using Struts 1.1 and Tiles, on Oracle Application Server 10.1.3.3...
    I know this is a strange question... but we have a requirement to represent the locale info in the URL string using one of the following options:
    option 1: /eng/page.do?id=2 for english.../fra/page.do?id=2
    option 2: /page-eng.do?id=2 for english.... and /page-fra.do?id=2 for french
    We need to represent the 3 letter ISO lang code either in the directory structure, or suffix the page name (in our case, the struts action name)... we cannot replicate this using a parameter in the query string. I know this is odd, but that is what we are told to implement.
    Is there any robust way of implementing either option in Struts 1.1, JSP, JSTL etc...?
    Currently, we are looking at using a servlet filter to intercept the HTTP requests, parse the URL string, and extract the ISO lang value, and set locale and forward on the request.
    This poses a few problems... adding additional action mappings (page-eng... page-fra... page) to our struts-xml.config file to handle lang permuations... but the biggest issue is all the embedded html:link action values throughout our code...
    Because all our public facing URLs must comply with the rule, we need to change the html:link action to point to a different action, based on locale.
    Very inefficent, and I'm sure not industry standard best practice... we are using Tiles, and resource bundles for all our labels etc... but fall short in meeting this rule with regards to URLs and locale.
    Any advice or tips etc.. is greatly appreciated.

    The filter option sounds like a good solution. So it can receive the urls and parse them appropriately.
    You just need to take it one step further.
    Additional actionmappings in your struts-config should not be necessary.
    Filter:
    - analyses the url and sets the appropriate locale
    - adjusts the url such that the next level of the chain does not have to know anything about the locale being encoded in the url string.
    Thus your struts classes and mappings can remain unchanged
    /eng/page.do or /fra/page.do once through the filter should just look like /page.do to struts.
    That should get rid of half of your headache.
    Next the issue of generating urls.
    There are two approaches I can see here
    1 - use the filter approach again, this time with some post processing. Gather the generated HTML in a buffer, and do a find/replace on any urls generated, to put the locale encoding into them.
    2 - Customise struts to produce urls in this format. This would involve the html:link tag, and the html:form tag at the least (maybe others?). Get the source code for struts, and grab the html:link tag code. Extend that class to generate urls as you want them to be generated. I think you would need to extend the class org.apache.struts.taglib.html.LinkTag and override the protected method calculateURL. You would then have to edit/modify the struts-html tld to point the link tag at your classes rather than the standard ones.
    Option 1 is architecturally good because it gives you a well defined layer/border between having the locale encoded in the url, and not having it there. However it involves doing a find/replace on every html going out. This would catch all urls, whether generated by html:link tag or not.
    Option 2 requires customising struts for your own requirements, which may be a bit daunting, but has the advantage of generating the urls correctly without the extra overhead involved with option 1. Of course you would have to ensure that ALL urls are generated with the html:link tag.
    On reflection, I think option 1 is preferable, as both easier and quicker to implement, and doing a better separation in the architecture.
    Cheers,
    evnafets

  • How to retrieve the specific string and store in a seperate table

    hi all,
    i have the following long text store in a internal table field.
    "AAA1"
    "AAA1"*********************************************
    "AAA1"INSTRUCTIONS FOR STAGING TO PRINT PANEL LABEL
    "AAA1"*********************************************
    "AAA1" STAGING TO PRINT THE PANEL LABELS
    "BBB1" (REQUIRED QTY. AS PER LOT TRVELER)
    "BBB1" PANEL LABEL MUST BE A THERMAL LABEL
    "CCC1" USING FOLLOWING SPECIFICATIONS:
    "CCC1" *USE LABEL SIZE:1.25"X0.25"
    "AAA1" *USE ZEBRA PRINTER(MODEL:90XI 11)
    "BBB1" *USE FILE NAME:L:\BARONE\FORMATS\PANEL.lbl
    "AAA1" Staging to apply labels on
    "CCC1" breakaway tab of the panel
    please advise the logic to retrieve only the "xxxx" field for this long text field so that i can store it in a separte field/table. we can do a sorting on the fields accordingly later.
    the " " actually is open and close bracket in the system, i'm not able to get it display in the post here.
    thanks.
    Edited by: Reetha Pitchee Maridas on Jul 15, 2009 10:27 AM
    Edited by: Reetha Pitchee Maridas on Jul 15, 2009 10:28 AM

    Hi ,
    Try using logical expression CA .
    Below is a sample code
    data :index1 type sy-fdpos ,
          g_f_text type char255 ,
          g_f_text2 type char255,
          index2 type sy-fdpos .
    g_f_text = '(AAA1)INSTRUCTIONS FOR STAGING TO PRINT PANEL LABEL'.
    if g_f_text CA '('.
       index1 = sy-fdpos .
    endif.
      if g_f_text CA ')'.
       index2 = sy-fdpos .
    endif.
    index2 = index2 - index1 - 1.
    index1 = index1 + 1 .
    g_f_text2 = g_f_text+index1(index2).
    write g_f_text2.
    Please note that this is with the assumption that we need to take the first string enclosed in ( ).
    Regards,
    Arun

  • I'm trying to install OS 10.6 onto my Macbook, which currently has OS 10.5.8. I clicked install (on the DVD) and selected my Macintosh HD drive. I was given the message that that disk cannot be used because it does not have the GUID partition????

    I'm trying to install OS 10.6 onto my Macbook, which currently has OS 10.5.8. I clicked install (on the DVD) and selected my Macintosh HD drive. I was given the message that that disk cannot be used because it does not have the GUID partition. In order to have a GUID partition, it suggested I go to disk utility and make the change. I couldn't see the partition tabs in the disk utility application. So how do I accomplish the GUID partition?

    The problem is, reformatting the partition may require you erase the hard drive.   Normally Intel Macs are preformatted GUID.    The fact that yours is not, says someone who initially installed the system on your Mac did you a disservice.   Regardless, you should backup your data before you upgrade.  GUID formatted drives generally are not compatible with iBooks (pre-2006 consumer notebooks by Apple) Powerbooks, and PowerMacs, and iMac G5s.    So if you indeed have machine with the MacBook name on the screen frame, it was not properly formatted from the beginning.  

  • Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    1. Use the mouse to select the field and then press the space bar.
    2. A null string is the same as zero. What is the result for division by zero?

  • How can I use LabVIEW to send the equivalent of a CTRL D (in VT 100 format) out the serial port of my computer?

    I am trying to write a vi that interfaces with a piece of OEM equipment that is set up to talk with a VT 100 terminal. I can't seem to locate the ASCII equivalent string (if there is such a thing) of a CTRL D. Is there a vi that emulates VT 100 commands?

    If I recall, CTRL-D is EOF on most ASCII tables.
    You'd probably have to use an escape sequence
    or if you can use an unsigned 8-bit that might be
    easier.
    In article <[email protected]>, TLS
    wrote:
    > How can I use LabVIEW to send the equivalent of a CTRL D (in VT 100
    > format) out the serial port of my computer?
    >
    > I am trying to write a vi that interfaces with a piece of OEM
    > equipment that is set up to talk with a VT 100 terminal. I can't seem
    > to locate the ASCII equivalent string (if there is such a thing) of a
    > CTRL D. Is there a vi that emulates VT 100 commands?

  • How to get where the search string appears in the results

    Hi every one
    i am new to Oracle Text
    this is my project environment "EJP 3.0+seam+JSF"
    in my part i need to implement smart searches within large text objects.
    So i planed to use Oracle text with context type indexing.
    I my search part i need to display where the search string appears in the results
    i don't know how to archive it,
    is it achived by CTX_DOC.GIST ?
    this is my table format
    Tbl_Book
    book_id Book_Title Book_description
    Tbl_Author
    author_id book_id author_name
    in my first table i index the Book_Title and Book_description columns
    EXEC CTX_DDL.DROP_PREFERENCE ('expert_concat_datastore')
    drop index Tbl_Book_Index force;
    BEGIN
    CTX_DDL.CREATE_PREFERENCE
         ('expert_concat_datastore', 'MULTI_COLUMN_DATASTORE');
    CTX_DDL.SET_ATTRIBUTE
         ('expert_concat_datastore', 'COLUMNS', 'Book_Title,Book_description');
    END;
    alter table Tbl_Book add (dummy varchar2(1))
    begin
    Ctx_Ddl.Drop_Section_Group
    group_name => 'my_section_group'
    exception
    when others then
    /* OK if DRG-12203: section group MY_SECTION_GROUP does not exist */
    if instr ( SQLERRM, 'DRG-12203' ) != 0 then null;
    else raise_application_error ( -20000, SQLERRM ); end if;
    end;
    begin
    Ctx_Ddl.Create_Section_Group
    group_name => 'my_section_group',
    group_type => 'basic_section_group'
    Ctx_Ddl.Add_Field_Section
    group_name => 'my_section_group',
    section_name => 'title',
    tag => 'Book_Title'
    Ctx_Ddl.Add_Field_Section
    group_name => 'my_section_group',
    section_name => 'description',
    tag => 'Book_description'
    end;
    create index Tbl_Book_Index on Tbl_Book ( dummy )
    indextype is ctxsys.context parameters (' datastore expert_concat_datastore section group my_section_group');
    begin
    Ctx_Ddl.Drop_Section_Group
    group_name => 'my_section_group'
    end;
    in my second table i index the author_name column
    drop index Tbl_Author_Index force;
    create index Tbl_Author_Index on Tbl_Author (author_name) indextype is ctxsys.context parameters('filter ctxsys.null_filter section group ctxsys.html_section_group');
    begin
    Ctx_Ddl.Optimize_Index (
    idx_name => 'Tbl_Author_Index',
    optlevel => Ctx_Ddl.optlevel_fast
    end;
    my search result is only in my Tbl_Book.
    Because it is my primary one.
    So this is my query in EJP 3.0
    select t from Tbl_Book t LEFT JOIN t.AuthorCollection c wherecontains(t.dummy, 'java within title or(java within description)',10) > 0 or contains(c.author_name ,'thiagu',20) > 0 ) ORDER BY SCORE(10), SCORE(20)
    here i need to get single SCORE how to do that ?
    i dont know how to highlight the search string in the result ?
    is it archived by CTX_DOC.MARKUP ?
    please any one help me
    By
    Thiagu.m

    Weird.  I have multuple monitors and the boot stuff always appears on my main monitor.
    See if smc and pram reset clears the problem.
    I have multiple screens on my Mac Pro. A normal screen, a projector and a USB-to-DVI converter.
    What video card are you using?  And USB-to-DVI is not the usual way for connecting monitors.  I wonder if that is confusing things.  So out of curiousity what happens if that monitor is not connected?

Maybe you are looking for

  • Help: FORMS based on stored procedures

    I am working on a FORM based on stored procedures. This particular FORM performs a query and generates say, customer_name, item1_sale, item2_sale and sum of the item1_sale and item2_sale. I'd like to know if there are ways that the query procedure re

  • Problem in registering the java server proxy interface...

    Hi All, I have created a java server proxy(in PI 7.1) using the below mentioned blog: /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy But the problem comes when i am trying to register the interface( on non central j2ee adap

  • Identity Asserter - programmatically

    Can i assert an identity from a component(say MDB1) programmatically and let the container propagate the principal when MDB1 calls EJB2?

  • Forms runtime user doco

    Friends, I'm developing a simple DBMS windowing solution for my customer. The system will use forms runtime environment (menu module is DEFAULT&SMARTBAR) without customization. I'd like to find some clear, concise user documentation I could touch up

  • How to uninstall photoshop?

    how do i uninstall photoshop?