Can I Index a String with Quotes. How is Men's indexed

HI!
I want to know that when i index a column which has a string with quotes how is it indexed ie., if there is a string "men's" then how is this indexed? because i am not able to search for men's,and when i search as "men_s" nothing is returned how to do that?
regards
JD

Use the printjoins lexer attribute -
http://technet.oracle.com/doc/oracle8i_816/inter.816/a77063/cdatadi5.htm#35052

Similar Messages

  • How can i read a string with nextToken() of StreamTokenizer

    I need for my class paper to read a string from a file and i used the StreamTokenizer's method nextToken but i can not read a string with it. my code is:
    StreamTokenizer st = new StreamTokenizer(the code that gets the input from the file)
    String line;
    while ((line !=br.readLine()) != null) {
    String surname = (st.nextToken()).trim();
    but it gets me some error of:
    int can not be dereferenced
    what should I do to get the string i need?

    Look at the API for java.io.StreamTokenizer. In particular, look at the return type for nextToken().
    Good luck.

  • Question about expressions that result in strings with quotes

    Without jumping into too many of the details, I want to do something like this:
    <h:outputLink onclick="someJSFunc('#{somebean.someVal}')" />
    When the expression results in a string that contains apostrophes, the code naturally fails. Pre-JSF, I simply used a JSP scriptlet that took the value and passed it to a method that encoded it (quotes became an HTML code, etc). However, I don't know how I can achieve the same results with JSF...
    Any ideas???

    Are you using the latest RI? I'm looking at the source code, and the default response writer seems to escape quotes as """ when writing attributes, as it should for HTML.
    If you do have the latest RI, what sort of error are you getting?
    Garret

  • Insert string with quotes or apostrophies

    Hi,
    This seems like a simple problem, but I can't seem to find the answer.
    If I want to insert a string into an oracle database that contains an apostrophy, for example:
    "She's...."
    How would I insert something like this when you normally surround your string with single quotes?
    Thanks,
    Annette

    Use 2 single quotes to create one in your data.
    select 'She''s' from dual;
    returns She's
    null

  • Owa_text.vc_arr: can't handle the string with more than 4000 characters?

    In the Oracel Web Application Server 4.0 documment, it says
    about owa_text.vc_arr :Type vc_arr is table of varchar2(32767)
    index by binary_integer.
    I amusing PL_SQL with Oracle8i and OWA4.0 web server.I want to
    use owa_text.vc_arr to pass the multple line texts in my form.
    If the text length is less than 4000 characters, everything works
    fine.However when the texts are longer than 4000 characters but
    less than the max length 32767 characters, I got this error
    message:
    OWS-05101: Execution failed due to Oracle error 2005
    ORA-02005: implicit (-1) length not valid for this bind or define
    datatype.
    Owa_text.vc_arr is supposed to handle the string with more
    than 4000 characters, is it true? Could anyone tell me why? Any
    help will be greatly appreciated!!!
    Thanks very much.
    Helena Wang
    Here is the pl_sql procedure to create my form:
    PROCEDURE myform
    IS
    BEGIN
    htp.p('
    <form action="'||service_path||'helena_test.saveform3"
    method=post>
    <input type=hidden name=tdescription value="X">
    Input1: <textarea name=tdescription rows=50 cols=70
    WRAP=physical></textarea>
    Input2: <textarea name=tdescription rows=50 cols=70
    WRAP=physical></textarea>
    <input type=submit name=WSave value="Save">
    </form>
    END;
    /***** here is the pl_sql procedure which I use to save the
    form***/
    procedure saveform3(tdescription in owa_text.vc_arr,
    WSave in varchar2 default 'No')
    is
    len pls_integer;
    begin
    for i in 2..tdescription.count loop
    len := length(tdescription(i));
    htp.p(len);
    htp.p(tdescription(i));
    end loop;
    end;

    Helena, I think you might get a better response either from the SQL-PL/SQL forum, or perhaps the Portal Applications forum - both of these tend to have folks very familiar with PL/SQL and the OWA packages.
    This forum is on Web services based on SOAP, WSDL and UDDI. These can be PL/SQL based but typically don't use the mod_psql or OWA web solution.
    As a pointer, I suspect you may already be familiar with, but just in case, you can always take a look at chapter 3 of the OAS documentation, "Developer's Guide: PL/SQL and ODBC Applications" where they go through a number of examples using parameters. See:
    http://technet.oracle.com/doc/appsrvr4082/guides/plsql.pdf
    Hope this or folks from the other list can help.
    Mike.

  • Can I encrypt a string with RSA encryption using DBMS_CRYPTO?

    We have an web application that does a redirect thru a database package to a 3rd party site. They would like us to encrypt the querystring that is passed using RSA encryption. The example that they've given us (below) uses the RSA cryptographic service available in .NET. Is it possible to do this using DBMS_CRYPTO or some other method in Oracle?
    Below are the steps outlined to use the key to generate the encrypted URL
    2.1 Initialize Service
    The RSA cryptographic service must be initialized with the provided public key. Below is sample code that can be used to initialize the service using the public key
    C#
    private void InitializeRSA( string keyFileName )
    CspParameters cspParams = new CspParameters( );
    cspParams.Flags = CspProviderFlags.UseMachineKeyStore;
    m_sp = new RSACryptoServiceProvider( cspParams );
    //Load the public key from the supplied XML file
    StreamReader reader = new StreamReader( keyFileName );
    string data = reader.ReadToEnd( );
    //Initializes the public key
    m_sp.FromXmlString( data );
    2.2 Encryption method
    Create a method that will encrypt a string using the cryptographic service that was initialized in step 2.1. The encryption method should convert the encryption method to Base64 to avoid special characters from being passed in the URL. Below is sample code that uses the method created in step 2.1 that can be used to encrypt a string.
    C#
    private string RSAEncrypt( string plainText )
    ASCIIEncoding enc = new ASCIIEncoding( );
    int numOfChars = enc.GetByteCount( plainText );
    byte[ ] tempArray = enc.GetBytes( plainText );
    byte[ ] result = m_sp.Encrypt( tempArray, false );
    //Use Base64 encoding since the encrypted string will be used in an URL
    return Convert.ToBase64String( result );
    2.3 Generate URL
    The query string must contain the necessary data elements configured for you school in Step 1. This will always include the Client Number and the Student ID of the student clicking on the link.
    1.     Build the query string with Client Number and Student ID
    C#
    string queryString = “schoolId=1234&studentId=1234”;
    The StudentCenter website will validate that the query string was generated within 3 minutes of the request being received on our server. A time stamp in UTC universal time (to prevent time zone inconsistencies) will need to be attached to the query string.
    2.     Get the current UTC timestamp, and add the timestamp to the query string
    C#
    string dateTime = DateTime.UtcNow.ToString(“yyyy-MM-dd HH:mm:ss”);
    queryString += “&currentDT=” + dateTime;
    Now that the query string has all of the necessary parameters, use the RSAEncrypt (Step 2.2) method created early to encrypt the string. The encrypted string must also be url encoded to escape any special characters.
    3.     Encrypt and Url Encode the query string
    C#
    string rsa = RSAEncrypt(querystring);
    string eqs = Server.UrlEncode(rsa);
    The encrypted query string is now appended to the Url (https://studentcenter.uhcsr.com), and is now ready for navigation.
    4.     Build the URL
    C#
    string url = “https://studentcenter.uhcsr.com/custom.aspx?eqs=” + eqs

    The documentation lists all the encyrption types:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_crypto.htm#ARPLS664

  • How can I substitute a string with another string in a file

    I have a file. I have a substitute a keyword with another string in all the occurences of a file. How can I do this?

    I'm gonna give you the benifit of the doubt and assume you didn't mean to double post your question.
    As to substitute a keyword with a string one way is to read in the file and run it through a StreamTokenizer class to break it into words. Pull one word at a time, check it, and stick it into a StringBuffer. Once your done with the file overwrite it with what is in the StringBuffer.
    Another way might be to use the RandomAccessFile class, but I'm not really familiar with that because I hardly ever use it.

  • How can I parser a String with javax.xml.parsers.DocumentBuilder?

    Normally the DocumentBuilder can parse files, InputSource,InputStream or uri. but what if I want to parse an editing String the user created in an EditPane or JTextComponent?

    new InputSource(new StringReader(theString))

  • How do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA certfificate i can't open web pages with this, how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC CA certfificate i can't open web pages with this

    how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA ?

    Hi
    I am not suprised no one answered your questions, there are simply to many of them. Can I suggest you read the faq on 'how to get help quickly at - http://forums.adobe.com/thread/470404.
    Especially the section Don't which says -
    DON'T
    Don't post a series of questions in  a single post. Splitting them into separate threads increases your  chances of a quick answer.
    PZ
    www.pziecina.com

  • Can't find some strings with the Find function in LV2012

    Hi
    I got a problem with the "Find function" in LV2012.
    The Find function can't find the text "IniFile: WriteKeys" in the string constant in the innercase.
    Why is that?
    I have tried to plase a copy of the constant(se next picture)  and then it can only find the one marked with yellow!
    regards Bjarne

    Hi Anders.
    Thank you
    I have tried the things you suggested and my strings are exactly the same and it didn't work to put the outside-string(that could be found) inside the case.
    Here is the VI but be aware the broken arrow, because the sub VIs is not incorporated
    By the way, my name is Bjarne, not Bjarke
    Regards Bjarne
    Attachments:
    VASPMain.vi ‏674 KB

  • Maill.App can no longer send mail with quotes

    Hello,
    Just recently mail.app can no longer reply / send mail that has quotes. In the activity monitor it successfully connects but stops at "Sending data 100% done".
    Can anyone please help?
    Cheers,
    Dan.

    Well, it happened again.
    This morning I was sending out a bunch of emails and around the 10th one they started kicking back.
    This time I did not fool with any of the settings on my computer.
    I turned off both the modem and router.  Started them back up and the problem still exists.
    The last time this happend, about a week ago, it started working again within an hour.
    This problem ony crops up when I am sending many emails at the same time
    Throughout the rest of the week it works fine.
    This time I by-passed the router and the mail will go out.
    So it looks like someting is going on with the router.
    Whenver I hook the router back up, outgoing mail will not work.
    It says it cannot send mail using my server.
    I double checked all of my mail setings and nothing has changed
    I also did a hard rest on the router, but it did not help.
    Again this problem is with 2 computers. 
    I have an early version of Airport Extreme Model A1143.
    It's around 5 years old.
    Whenever I call my ISP they claim everything checks out on their end and they don't offer any help.
    I am sure if I leave the router unplugged for a day or so, it will start working again.
    Is there any way a router can break down and allow incoming mail and internet but not outgoing mail?
    I am am at wits end with this problem.
    I would be willing to go out and get the latest Airport Extreme if I knew for sure it would cure this problem.

  • Can't send sms messages with jabber, how to fix that?

    I've never really used ichat before and apparently sms messages can't be sent using jabber. Is there anything i can use or change on my ichat so that i'm able to send sms messages ?

    Hi,
    As you have somewhat found out it can only be AIM Buddies (Or rather US Phones via the AIM service).
    The Computer has to be set to "be In" the United States (See th Language and Text pane in Lion or International in earlier OS versions.
    The Phone then has to be on a Carrier that also takes the AIM SMS forwarding service.
    Search the App store for SMS apps and Utilities
    11:23 PM      Friday; February 3, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Generating a String with Quotes

    Hi,
    I have a table TABLEA
    when i select :select code from tablea:
    i want the output as:
    create table tablea(code varchar2(1));
    insert into tablea values('a');
    insert into tablea values('b');
    insert into tablea values('c');
    insert into tablea values('d');
    commit;
    'a','b','c','d'
    Any help will be needful for me

    hoek wrote:
    2 from ( select rownum rnSince there is no particular order in relational tables, yoy are not guaranteed to get 'a','b','c','d':
    SQL> select ltrim(sys_connect_by_path(''''||code||'''', ','), ',') str
      2  from ( select rownum rn
      3         ,      code
      4         from   tablea
      5       )
      6  where connect_by_isleaf=1
      7  start with rn=1
      8  connect by rn=prior rn+1;
    STR
    'd','b','a','c'You should use analytic row_number:
    select ltrim(sys_connect_by_path(''''||code||'''', ','), ',') str
    from ( select row_number() over(order by code) rn
           ,      code
           from   tablea
    where connect_by_isleaf=1
    start with rn=1
    connect by rn=prior rn+1
    STR
    'a','b','c','d'
    SQL> SY.

  • Can the Neo FIS2R cope with hardware Real(tm) men use?

    These are some vital components of a dream machine I want to make a reality.
    MSI 875p Neo-FIS2R
    3GHz Intel P4 (800MHz FSB)
    PowerColour ATI Radeon 9800 Pro
    2 X Geil 512MB PC3500 DDR (433Mhz) CL2 Memory with Platinum Copper Plate
    2 X Seagate Barracuda V 80GB 7200RPM Serial ATA150 HDD in RAID 0 formation.
    Neither the RAM nor the peripherals are mentioned anywhere in MSI's hardware compatibilty lists which really does justify a beheading except that I'm actually in a half decent mood today.  Has anyone tried the above RAM, graphics card or HDDs on this motherboard?
    Sir Honky.

    Hi Sir Honky,
    Well, I'm also not very sure on the compatibility of these RAMs to the 875NEO mobo, but I've seen an article on these rams before(Taiwan Article), these RAMs are said to be a fierce competitor in the "High Performances RAMs" market and has proved good signs in both Graphics and PC benchmarks...
    If to say for normal rams, Kingston will be the stable product.
    P.S. What I've mentioned above does not represent any agreement or alias with MSI, it is juz a personal point of view
    All the Best... :D!!!

  • How to Search strings with and without quotes

    Hello,
    I need to search a string with quote and without quote the same way
    Ex: Wendy's
    If user enters wendys without ' also need to return all the Wendy's..!
    I appreciate any help...!
    Thanks
    RG

    Hi,
    RG wrote:
    Hello,
    I need to search a string with quote and without quote the same way
    Ex: Wendy's
    If user enters wendys without ' also need to return all the Wendy's..!
    I appreciate any help...!So you want to ignore single-quotes, is that it?
    Here's one way:
    INSTR ( REPLACE (big_string,       '''')
          , REPLACE (substring_sought, '''')
          )  > 0 
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

Maybe you are looking for

  • Why wont itunes open on my macbook?

    hey, i just recently downloaded itunes 11.1.3 and it wont open on my macbook. i have mac OS X 10.6.8. please help!

  • Blank Line in an ALV Grid on screen

    Hello, I have added one ALV grid on a custom screen and appended it to the Opportunity Management transaction in CRM. The issue is that as soon as i toggle from display to change mode in the transaction, a blank line is itself appended to the ALV gri

  • 2D Pie Charts losing assigned custom color

    APEX 3.0 I have a 2D PieChart with custom colors of Green, Yellow and Red. It is made up up 3 series, series #1 counts new orders (Green), #2 - orders in jeopardy (Yellow) and #3 - orders that missed their shipped date (Red). If each series returns a

  • How to Analyse  Trace Files?

    Hi, Can anybody let me know how to analyse the downloaded tracefile. (From ST05). Any links or materials on this matter will be of great help as analysis of trace file is a urgent need for me. -B S B Points assured for useful tips.

  • When updating apps, old email pops up... tried logging in and out in 'featured tab'

    Hello all! When i try to update my apps on the app store, my old email pops up not allowing me to edit to the new one. I went on other forums and they have been posting to try and go to the featured tab and scroll down ... log out and in. it shows my