Case-insensitive -- what's a scriptor to do?

Here's my delima: (from a tcsh)
% ls
file1.txt file2.TXT file3.txt
% ls file{1,2,3}.TXT
file1.TXT file2.TXT file3.TXT
% ls *.TXT
file2.TXT
% rm *.txt
I've written hundreds of unix (csh,tcsh, perl) scripts since around 1988. I never considered that some day UNIX would ignore case in filenames.
As you can imagine, I'm going to have to re-write dozens of scripts, now that I have this case-insensitive "feature".
QUESTION 1: Is there some way to turn off the ignore-case in Apple unix? What are the consequences of such a bold act?
QUESTION 2: Is there a simple variable, switch, or something, that tells the shell (tcsh) that files are case-sensitive (e.g. *.TXT would match *.txt)? Same request goes for telling filec that is should ignore case.
PowerBook G4   Mac OS X (10.3.9)  

Hi Bill,
   I see what you're saying. When the shell passes information to the filesystem, case ceases to matter. However, C Webber is talking about the reverse situation. HFS+ is case-insensitive but it is case-preserving. Whatever case is used in the naming of a file is reproduced faithfully in read operations and shells are by default case-sensitive. C Webber's example was filename globbing. The shell reads the names of the files and looks for matches in a case-sensitive fashion. In that case, case will matter.
   I can see where this would cause problems. You might test for the existence of a file in a case-sensitive fashion, find out that it doesn't, write to the filesystem and blow away a file even though you were careful. You know that something like that happened with the Perl install script, causing it to blow away dozens of its own man pages.
C. Webber,
   I did a search of the tcsh man page and found nothing suggesting that you can turn off case-sensitivity in globbing. You can do so in completion but it appears that rewrites will be necessary. I encourage you to view this as an opportunity and switch to a more powerful shell. I agree with you that this issue is unique to Mac OS X but every flavor of UNIX has its own issues. We've all had to make changes to migrate scripts. I've certainly had to do that to migrate some of my scripts to Linux and some won't migrate at all. (I use AppleScript in many of my scripts)
Gary
~~~~
   "The glory of creation is in its infinite diversity."
   "And in the way our differences combine to create meaning and beauty."
         -- Dr. Miranda Jones and Spock, "Is There in Truth No Beauty?",
            stardate 5630.8

Similar Messages

  • Time Machine says both of my external hard drives require reformatting to case insensitive. What do I do?

    I have been successfuly using Time Machine to back my iMac  to an external hard drive (via usb) and everything has been fine for the last year. I have been using TM to back up to a HD called Terra LaCie via usb.
    A week ago, my iMac hard drive was full--so I spulrged and bought a 6 TB external hard drive (Western Digital My Book-Thunderbolt). I set up the new Thunderbold HD to use RAID 1 (mirror) and copied most of my iMac hard drive over to the Thunderbolt HD.
    I kept my working photographs (most recent) on my iMac and felt good to know my older photographs are on my new Thunderbolt hard drive.
    For a few days, Time Machine seemed to work fine (backing up my iMac to Terra LaCie HD. I haven't been concerned with backing up the Thunderbolt drive (as I feel that mirroring is same as backing up).
    Yesterday, Time Machine indicated the lastest back-up failed (for the HD called Terra LaCie). Now, when I go into Time Machine, the dialog box indicates the following message:
    "Are you sure you want to erase the backup disk “Terra Lacie”? Erasing will destroy all information on the disk and can’t be undone.
    The disk must be erased before it can be used for Time Machine backups because a disk you are backing up is case sensitive, but the backup disk is not."
    When I open Time Machine to look at my external hard drives (I also have a third usb portable drive); two of the three drives indicate the following:
    "reformat required; case insensitive disk".
    The small, portable hard drive (that I'm also using) doesn't say it needs to be reformated (but my new Thunderbolt and my old usb HD both indicate the same message (above).
    What should I do? I just spent days transferring my photographs from my iMac to my new Thunderbolt. Should I just not use Time Machine any longer and work from my Thunderbolt drive?
    Am I to understand that my iMac suddenly become case sensitive? Sorry if this was too much information about my hard-ware set-up.
    Any help someone can provide me would be greatly appreciated. I suppose I need to understand Time Machine and perhaps my Thunderbolt better.

    Hi BDAqua,
    Bravo, you helped me solve my problem.
    The Case Sensitive Disk was the small portable hard drive that I was using termporarily.
    I just disconnected it and I started TM machine and everything seems to be working just fine.
    Thank you very much!!!!

  • What is the best way to do a case insensitive search?

    Hi Guys,
    hopefully a quick one, anyone know what the best way to perform a case-insensitive search is? at the moment many of our stored procedures perform selects against un-indexed fields (e.g. product title) and to avoid casing problems we have an UPPER around the field name and the variable e.g.
    AND (nvcproducttitle IS NULL OR
    UPPER(p.NVCTITLE) LIKE '%' || UPPER(nvcproducttitle) || '%')
    This seems to work just fine but on a large catalogue (10 million+) it can take 50-60 seconds to return.
    Any pointers would be appreciated,
    J

    user7186902 wrote:
    Hi Guys,
    hopefully a quick one, anyone know what the best way to perform a case-insensitive search is? at the moment many of our stored procedures perform selects against un-indexed fields (e.g. product title) and to avoid casing problems we have an UPPER around the field name and the variable e.g.
    AND (nvcproducttitle IS NULL OR
    UPPER(p.NVCTITLE) LIKE '%' || UPPER(nvcproducttitle) || '%')
    This seems to work just fine but on a large catalogue (10 million+) it can take 50-60 seconds to return.
    Any pointers would be appreciated,
    JYou could either ensure you have a function based index for your column e.g.
    create or replace index fn_idx on prodtable (upper(nvctitle));
    nb. syntax not checked
    or you could use regular expressions. REGEXP_LIKE allows for case insensitive like searches.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/conditions007.htm#SQLRF00501

  • Possible to do case-insensitive searches?

    G'day,
    I was wondering if it's possible to do case-insensitive searches in oracle/HTMLDB?
    I've tried what I thought would work
    "select * from application where name like '%microsoft%'", this unfortunately doesn't return any records with a capital in it(eg "Microsoft").
    If there is no way to do case-insensitive searches what is the best way around it?
    Thanks
    -Colin

    Colin,
    Yes it is possible to do case insensitive searches using SQL. Try, for example:
    select * from application where upper(name) like '%ORACLE%'
    The trick is to upper() both sides of the like operator.
    Sergio

  • Case insensitive user login

    Hi,
    I am working on a Weblogic portal application (Weblogic 10.3.2) to be deployed in a Weblogic Server 10.3.2. I want to enable case insensitive user name login for my application. Looks like by defaule user name goes for a case sensitive authentication. Is there any way to enable case insensitive authentication? Thanks.
    Regards,
    Ramakrishnan

    Hi
    By default Weblogic Login UserId is Case-InSensitive. For quick testing, open your Weblogic Console and say if your admin user id is "weblogic", just try any combination of this value like "WEBloGiC" with his password. It works and you should be able to login.
    NOW if you have any External LDAP configured, still you can login with your userid as Case InSensitive. BUT if you see that some Visitor Entilements or DAs stuff is not getting triggered or working properly, then you can do one setting. In your Weblogic Console, select your external AD Provider (like LDAP, AD etc) and click on the properties tab, where you set the host, port, userbase dn, groupbase dn etc. There you should see another property like a CheckBox named something like "Use Retrieved Username as Principal". What this means is if you say for example login as "RJegGA", the login will be successfull but the value that gets stored in the session in security subject value will be like "rjegga" where rjegga is the actual name coming from external LDAP.
    So point is, check the above check box and try again. For any users stored in the Default Weblogic Authenticator itself, it is case insensitive.
    Thanks
    Ravi Jegga

  • Search case-insensitive.

    HI All ,
    i want to create program that use search from table but case-insensitive ,
    How i can do that ?
    Regards
    James
        SELECT agr_name UP TO iv_limit ROWS
        FROM ZROLE
        INTO TABLE lt_re_role
        WHERE agr_name LIKE lv_search_value.

    Hi,
    If the definition is not case sensitive, then always the data is stored in CAPS by default.
    So what u can do it, translate your string to UPPER CASE and then select.
    Place below statement just before your select.
    TRANSLATE lv_search_value TO UPPER CASE.
    SELECT agr_name UP TO iv_limit ROWS
    FROM ZROLE
    INTO TABLE lt_re_role
    WHERE agr_name LIKE lv_search_value.
    Thanks,
    Vinod.

  • How to create case-insensitive account name report?

    We have an account report that allows users to enter part of an account name and return matching results. The prompt is case sensitive but I would like it to be case insensitive. This report uses a report prompt and not a dashboard prompt (if it makes a difference), and I can switch to dashboard prompt if necessary.
    Since the left pane search for Account Name is case-insensitive and you can select case-insensitive when creating account list views, I am hoping there is a way to apply this same functionality to a report.
    I understand I can convert Account Name to upper or lower and tell people to search that way, but that will be a last resort.
    Any suggestions on how to make the prompt value and report results for Account Name case-insensitive?
    Thanks.
    Edited by: user9530733 on Sep 30, 2010 10:51 AM

    Similarly to all this, and even what the OP is looking to accomplish, is the habit of developers attempting to coerce the database object names into the format of their language - usually .net or some such. So they create tables named something like EmpDepProjectStatus which may make their application code all look consistent, but becomes EMPDEPPROJECTSTATUS when created in the database. Why can they not adapt to the database and name the table EMP_DEP_PROJECT_STATUS so that we do not go blind trying to manage their db objects? Is it their teachers that tell them EveryThingMustBeWrittenLikeThisBecauseTheyCannotStandSeperatingTheWordsThatNameObjectsWithSpaces_WHICH_ARE_UNDERSCORES_IN_MOST_ALL_LEGACY_LANGUAGES?
    I do not think that Oracle will ever become case sensitive. Just like COBOL, IMS, IDMS, JCL, BASIC, PL/I, etc. There is just too much code out there that ignores case that it could not be done.
    Unless, of course, Oracle creates a init.ora option to set case sensitive. But I doubt (hope most sincerely) that they will never do that.

  • How to go from case-insensitive to case-sensitive HFS?

    I installed Leopard server with the case-insensitive file system. Can I go from this to the case-sensitive HFS?
    The trouble I am having is with installing Wordpress... The sign-up page does not work at all and looking in the Apache log files reveals 'child exit signal buss error (10) and turning up the logs, I get:
    [Fri Feb 08 15:29:30 2008] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7l PHP/5.2.4 configured -- resuming normal operations
    [Fri Feb 08 15:29:55 2008] [debug] modhfsapple2.c(180): [client x.x.x.x] modhfsapple: / is case-insensitive, referer: http://wordpress.domain.net/wp-signup.php
    [Fri Feb 08 15:29:55 2008] [debug] modhfsapple2.c(180): [client x.x.x.x] modhfsapple: /var/empty/ is case-insensitive, referer: http://wordpress.domain.net/wp-signup.php
    [Fri Feb 08 15:29:55 2008] [debug] modhfsapple2.c(180): [client x.x.x.x] modhfsapple: /Library/WebServer/Wordpress/ is case-insensitive, referer: http://wordpress.domain.net/wp-signup.php
    [Fri Feb 08 15:29:55 2008] [debug] modhfsapple2.c(180): [client x.x.x.x] modhfsapple: /usr/share/httpd/error/ is case-insensitive, referer: http://wordpress.domain.net/wp-signup.php
    [Fri Feb 08 15:29:55 2008] [debug] modhfsapple2.c(180): [client x.x.x.x] modhfsapple: /Library/WebServer/share/httpd/manual/ is case-insensitive, referer: http://wordpress.domain.net/wp-signup.php
    [Fri Feb 08 15:29:55 2008] [debug] modhfsapple2.c(180): [client x.x.x.x] modhfsapple: .*\\.\\.namedfork/ is case-insensitive, referer: http://wordpress.domain.net/wp-signup.php
    [Fri Feb 08 15:29:57 2008] [notice] child pid 2279 exit signal Bus error (10)
    Which indicates that Apache is bombing out because of the HFS case-insensitive problem... anyone else agree?
    So apart from getting the Wordpress people to fix this - can they? How do I go about changing the case sensitivity of the FS? Just don't tell me I have to re-install Leopard!!

    I just discovered the crash logs... Can anyone give me a clue to what is cause the bus error from this?
    Process: httpd [180]
    Path: /usr/sbin/httpd
    Identifier: httpd
    Version: ??? (???)
    Code Type: X86-64 (Native)
    Parent Process: httpd [64]
    Date/Time: 2008-02-11 13:43:41.343 +0000
    OS Version: Mac OS X Server 10.5.1 (9B18)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000100394709
    Crashed Thread: 0
    Application Specific Information:
    * single-threaded process forked *
    Thread 0 Crashed:
    0 libresolv.9.dylib 0x000000010180c2c6 resbuildstart + 213
    1 libresolv.9.dylib 0x000000010180d97c res9vinit + 128
    2 libresolv.9.dylib 0x0000000101808164 res9search + 68
    3 libphp5.so 0x00000001011e37d5 zifdns_checkrecord + 1088
    4 libphp5.so 0x00000001012a1df4 zenddo_fcall_common_helperSPEC + 2042
    5 libphp5.so 0x000000010129fccb execute + 367
    6 libphp5.so 0x00000001012a1ed9 zenddo_fcall_common_helperSPEC + 2271
    7 libphp5.so 0x000000010129fccb execute + 367
    8 libphp5.so 0x00000001012a1ed9 zenddo_fcall_common_helperSPEC + 2271
    9 libphp5.so 0x000000010129fccb execute + 367
    10 libphp5.so 0x00000001012a1ed9 zenddo_fcall_common_helperSPEC + 2271
    11 libphp5.so 0x000000010129fccb execute + 367
    12 libphp5.so 0x00000001012a1ed9 zenddo_fcall_common_helperSPEC + 2271
    13 libphp5.so 0x000000010129fccb execute + 367
    14 libphp5.so 0x00000001012848b4 zendexecutescripts + 460
    15 libphp5.so 0x000000010124696a phpexecutescript + 665
    16 libphp5.so 0x0000000101307f22 php_handler + 1220
    17 httpd 0x00000001000019d1 aprunhandler + 90
    18 httpd 0x0000000100002285 apinvokehandler + 347
    19 httpd 0x000000010002e02c approcessrequest + 103
    20 httpd 0x000000010002a9fa approcess_httpconnection + 116
    21 httpd 0x00000001000126d5 aprun_processconnection + 90
    22 httpd 0x0000000100012b24 approcessconnection + 87
    23 httpd 0x0000000100034a34 child_main + 1087
    24 httpd 0x0000000100034be0 make_child + 329
    25 httpd 0x0000000100034e78 performidle_servermaintenance + 510
    26 httpd 0x00000001000353a8 apmpmrun + 1249
    27 httpd 0x0000000100009aed main + 2879
    28 httpd 0x000000010000100c start + 52
    Thread 0 crashed with X86 Thread State (64-bit):
    rax: 0x0000000100394419 rbx: 0x0000000000000015 rcx: 0x0000000100292e8e rdx: 0x0000000000000000
    rdi: 0x0000000000000015 rsi: 0x617072612e367069 rbp: 0x00007fff5fbfc7f0 rsp: 0x00007fff5fbfc7e0
    r8: 0x00000001009c65f0 r9: 0x00000001009c667c r10: 0x00000001002a26a6 r11: 0x0000000000000246
    r12: 0x00000001003fad60 r13: 0x000000000000000f r14: 0x0000000000000001 r15: 0x0000000000000035
    rip: 0x000000010180c2c6 rfl: 0x0000000000000202 cr2: 0x00000001002ded34
    Binary Images:
    0x100000000 - 0x100056fff +httpd ??? (???) /usr/sbin/httpd
    0x10007b000 - 0x10008cff3 libaprutil-1.0.dylib ??? (???) <85e7d2d6a33dcb106ccabd76d529388f> /usr/lib/libapru
    til-1.0.dylib
    0x100094000 - 0x10011cfe7 libsqlite3.0.dylib ??? (???) <1f05db59fc71009238955b6b11b6f1ca> /usr/lib/libsqlite
    3.0.dylib
    0x100125000 - 0x100145fff libexpat.1.dylib ??? (???) <d80d701396f8870b27dda4a7166fadc0> /usr/lib/libexpat.1.
    dylib
    0x10014c000 - 0x100244fef libiconv.2.dylib ??? (???) <2b42104e7aa2da6e64f979e585af02e9> /usr/lib/libiconv.2.
    dylib
    0x10024b000 - 0x100267fef libapr-1.0.dylib ??? (???) <e739530447f1dc66d55b881d2ca19ef9> /usr/lib/libapr-1.0.
    dylib
    0x100271000 - 0x1003f0feb libSystem.B.dylib ??? (???) <a9297f52cb1431e26cd3ffd4b9ca7615> /usr/lib/libSystem.
    B.dylib
    0x10049e000 - 0x1004aaff1 libgcc_s.1.dylib ??? (???) <6fc905606335f261db4da9529c7e2711> /usr/lib/libgcc_s.1.
    dylib
    0x1004af000 - 0x1004b1fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
    0x1004b8000 - 0x1004b8fff modauthnfile.so ??? (???) /usr/libexec/apache2/modauthnfile.so
    0x1004bb000 - 0x1004bcfff modauthzhost.so ??? (???) /usr/libexec/apache2/modauthzhost.so
    0x1004bf000 - 0x1004c5fff mod_cache.so ??? (???) /usr/libexec/apache2/mod_cache.so
    0x1004c8000 - 0x1004ccfff modmemcache.so ??? (???) /usr/libexec/apache2/modmemcache.so
    0x1004cf000 - 0x1004d2fff moddiskcache.so ??? (???) /usr/libexec/apache2/moddiskcache.so
    0x1004d5000 - 0x1004d6fff mod_dumpio.so ??? (???) /usr/libexec/apache2/mod_dumpio.so
    0x1004d9000 - 0x1004dcfff modextfilter.so ??? (???) /usr/libexec/apache2/modextfilter.so
    0x1004df000 - 0x1004eafff mod_include.so ??? (???) /usr/libexec/apache2/mod_include.so
    0x1004ed000 - 0x1004effff mod_filter.so ??? (???) /usr/libexec/apache2/mod_filter.so
    0x1004f2000 - 0x1004f6fff mod_deflate.so ??? (???) /usr/libexec/apache2/mod_deflate.so
    0x1004f9000 - 0x1004fdfff modlogconfig.so ??? (???) /usr/libexec/apache2/modlogconfig.so
    0x100600000 - 0x100611ffd libz.1.dylib ??? (???) <2022cc8950afdf485ba1df76364ba725> /usr/lib/libz.1.dylib
    0x100617000 - 0x100617fff mod_logio.so ??? (???) /usr/libexec/apache2/mod_logio.so
    0x10061a000 - 0x10061afff mod_env.so ??? (???) /usr/libexec/apache2/mod_env.so
    0x10061d000 - 0x10061efff mod_expires.so ??? (???) /usr/libexec/apache2/mod_expires.so
    0x100621000 - 0x100623fff mod_headers.so ??? (???) /usr/libexec/apache2/mod_headers.so
    0x100626000 - 0x100627fff mod_ident.so ??? (???) /usr/libexec/apache2/mod_ident.so
    0x10062a000 - 0x10062bfff mod_setenvif.so ??? (???) /usr/libexec/apache2/mod_setenvif.so
    0x10062e000 - 0x10063dfff mod_proxy.so ??? (???) /usr/libexec/apache2/mod_proxy.so
    0x100642000 - 0x100647fff modproxyhttp.so ??? (???) /usr/libexec/apache2/modproxyhttp.so
    0x10064b000 - 0x10064ffff modproxybalancer.so ??? (???) /usr/libexec/apache2/modproxybalancer.so
    0x100652000 - 0x100679ffb mod_ssl.so ??? (???) /usr/libexec/apache2/mod_ssl.so
    0x100683000 - 0x1006aefef libssl.0.9.7.dylib ??? (???) <088aa0e89525fbb374d9985ba9d37178> /usr/lib/libssl.0.
    9.7.dylib
    0x1006be000 - 0x10079ffff libcrypto.0.9.7.dylib ??? (???) <c39effd87ec6fb72b9a95a5c63baca41> /usr/lib/libcry
    pto.0.9.7.dylib
    0x1007f7000 - 0x1007fafff mod_mime.so ??? (???) /usr/libexec/apache2/mod_mime.so
    0x1007fd000 - 0x1007fdfff mod_asis.so ??? (???) /usr/libexec/apache2/mod_asis.so
    0x101000000 - 0x101004fff mod_status.so ??? (???) /usr/libexec/apache2/mod_status.so
    0x101007000 - 0x10100dfff mod_autoindex.so ??? (???) /usr/libexec/apache2/mod_autoindex.so
    0x101010000 - 0x101012fff mod_info.so ??? (???) /usr/libexec/apache2/mod_info.so
    0x101015000 - 0x101019fff mod_cgi.so ??? (???) /usr/libexec/apache2/mod_cgi.so
    0x10101d000 - 0x10101efff modvhostalias.so ??? (???) /usr/libexec/apache2/modvhostalias.so
    0x101021000 - 0x101027fff mod_negotiation.so ??? (???) /usr/libexec/apache2/mod_negotiation.so
    0x10102a000 - 0x10102afff mod_dir.so ??? (???) /usr/libexec/apache2/mod_dir.so
    0x10102d000 - 0x10102ffff mod_imagemap.so ??? (???) /usr/libexec/apache2/mod_imagemap.so
    0x101032000 - 0x101032fff mod_actions.so ??? (???) /usr/libexec/apache2/mod_actions.so
    0x101035000 - 0x101036fff mod_speling.so ??? (???) /usr/libexec/apache2/mod_speling.so
    0x101039000 - 0x10103afff mod_userdir.so ??? (???) /usr/libexec/apache2/mod_userdir.so
    0x10103d000 - 0x10103efff mod_alias.so ??? (???) /usr/libexec/apache2/mod_alias.so
    0x101041000 - 0x10104efff mod_rewrite.so ??? (???) /usr/libexec/apache2/mod_rewrite.so
    0x101052000 - 0x1015d2fff libphp5.so ??? (???) <b6b01a52bcf09953aa161be044f8c01e> /usr/libexec/apache2/libph
    p5.so
    0x1017f9000 - 0x10181afff libresolv.9.dylib ??? (???) <90be5db0e9ea61eb69457958db0841ae> /usr/lib/libresolv.
    9.dylib
    0x101823000 - 0x10182ffff libexslt.0.dylib ??? (???) <b69d752e600accf6159145441f520678> /usr/lib/libexslt.0.
    dylib
    0x101835000 - 0x101878ffb libiodbc.2.dylib ??? (???) <16d614ee826d1d40799cce4b01d75a2d> /usr/lib/libiodbc.2.
    dylib
    0x101886000 - 0x1018bdfff com.apple.LDAPFramework 1.4.3 (106) <6766f8bbf5ef998722483d7caf3d6a83> /System/Lib
    rary/Frameworks/LDAP.framework/Versions/A/LDAP
    0x1018c8000 - 0x1018f8ffb libcurl.4.dylib ??? (???) <276acb990f3a40bbae7aaa39c0ae6305> /usr/lib/libcurl.4.dy
    lib
    0x101903000 - 0x1019f8fff libxml2.2.dylib ??? (???) <9b882819fde96b95972426b99ecaa22b> /usr/lib/libxml2.2.dy
    lib
    0x101a25000 - 0x101b93fff libicucore.A.dylib ??? (???) <a0360f4a6f39c2b063bb7b3bf0549819> /usr/lib/libicucor
    e.A.dylib
    0x101be7000 - 0x101ca5fff edu.mit.Kerberos 6.0.11 (6.0.11) <db4f23dfaee0767dcb621ad5e21f5d09> /System/Librar
    y/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x101cd1000 - 0x101cf8fff libxslt.1.dylib ??? (???) <edd5bcbc17be0053cc2014d045ccbe08> /usr/lib/libxslt.1.dy
    lib
    0x101d02000 - 0x101d76fe7 libstdc++.6.dylib ??? (???) <379a6a2dc6e21ba77310b3d2d9ea30ac> /usr/lib/libstdc++.
    6.dylib
    0x101dc6000 - 0x101dc6fff com.apple.Carbon 136 (136) <03d8b56572c45d8e6de756bc2fb86187> /System/Library/Fram
    eworks/Carbon.framework/Versions/A/Carbon
    0x101dca000 - 0x101dcffff com.apple.CommonPanels 1.2.4 (85) <8f5631ff238ad1bad2e031fe5e7442d2> /System/Libra
    ry/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Vers ions/A/CommonPanels
    0x101dd7000 - 0x101ddaffb com.apple.help 1.1 (36) <625c2d6bb29ee822f9dce6322d08df47> /System/Library/Framewo
    rks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x101de0000 - 0x1020c5feb com.apple.HIToolbox 1.5.0 (???) <46637338322de85c62a6a533685278ae> /System/Library
    /Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/ A/HIToolbox
    0x10220c000 - 0x102222ff9 com.apple.ImageCapture 4.0 (5.0.0) /System/Library/Frameworks/Carbon.framework/Ver
    sions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x10223e000 - 0x1022d9fe7 com.apple.ink.framework 101.3 (86) <03096cd083a6e70bc7a18ad1b81feb15> /System/Libr
    ary/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/I nk
    0x1022fa000 - 0x1022fcfff com.apple.NavigationServices 3.5.1 (161) <a5bffaee5164cca8b80082f7a8eec01b> /Syste
    m/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.f ramework/Versions/A/NavigationServices
    0x102301000 - 0x10231afff com.apple.openscripting 1.2.6 (???) <c1625319b1a114ffac2b866c3aa0ddd5> /System/Lib
    rary/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/V ersions/A/OpenScripting
    0x10232d000 - 0x10232ffff com.apple.print.framework.Print 218 (220) <23e69d8d75c4fe464508c2fe74a8ff6d> /Syst
    em/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Ver sions/A/Print
    0x102335000 - 0x102338fff com.apple.securityhi 3.0 (30817) <1112cafa6d76e27196cd0579b589d8df> /System/Librar
    y/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Version s/A/SecurityHI
    0x10233d000 - 0x102347fff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <a49d89814bff9aff6d477c00e4
    26e158> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechReco
    gnition
    0x102350000 - 0x102350ff8 com.apple.ApplicationServices 34 (34) <29a6f07deb1ef821735e2c18ef1e9fa5> /System/L
    ibrary/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x102354000 - 0x102354ffa com.apple.CoreServices 32 (32) <f1ae7e34fb008524b502ed0185b32794> /System/Library/
    Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x102358000 - 0x1025f1ff3 com.apple.Foundation 6.5.1 (677.1) <7dd0ab8f638f733f92fb404ab52a9469> /System/Libr
    ary/Frameworks/Foundation.framework/Versions/C/Foundation
    0x102810000 - 0x102904fff libobjc.A.dylib ??? (???) <2a75ad1e409456e8a3c7eeb08ecca65b> /usr/lib/libobjc.A.dy
    lib
    0x102996000 - 0x102acdfef com.apple.CoreFoundation 6.5 (476) <ff4f53a27625b5452ddd0c02ca705039> /System/Libr
    ary/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x102be0000 - 0x102c7ffe3 com.apple.ApplicationServices.ATS 3.0 (???) <9dfc9cd49821959f17751d77642d791f> /Sy
    stem/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS. framework/Versions/A/ATS
    0x102ca7000 - 0x102d72fe7 com.apple.ColorSync 4.5.0 (4.5.0) /System/Library/Frameworks/ApplicationServices.f
    ramework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x102db7000 - 0x103379fef com.apple.CoreGraphics 1.351.0 (???) <6af0f30911afe064a606954f5436a8ea> /System/Li
    brary/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphic s.framework/Versions/A/CoreGraphics
    0x103461000 - 0x1034dbff3 com.apple.CoreText 2.0.0 (???) <3f29babe3dccac95d426e71f113d88b8> /System/Library/
    Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framewor k/Versions/A/CoreText
    0x103520000 - 0x103574fe3 com.apple.HIServices 1.6.0 (???) <57f759c74c1e7eca6b934ce50d624beb> /System/Librar
    y/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.fram ework/Versions/A/HIServices
    0x10359c000 - 0x1036d7fe9 com.apple.ImageIO.framework 2.0.0 (2.0.0) <1ca4f6031de7b5aa67dc5b37342283f9> /Syst
    em/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageI O.framework/Versions/A/ImageIO
    0x103736000 - 0x1037a5ff9 com.apple.print.framework.PrintCore 5.5 (245) <bf6986a814e44613d1cb077dde368e56> /
    System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/Pr intCore.framework/Versions/A/PrintCore
    0x1037dc000 - 0x10381ffef com.apple.QD 3.11.50 (???) <550738019c21ba70e7876fc5f88819c6> /System/Library/Fram
    eworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions /A/QD
    0x103834000 - 0x103845fff com.apple.speech.synthesis.framework 3.6.59 (3.6.59) <959487d33391362535845289e644
    0d24> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/S
    peechSynthesis
    0x103855000 - 0x103b4ffe3 com.apple.CoreServices.CarbonCore 783 (783) <771f850baf0dafb0de64af0550740fa6> /Sy
    stem/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore. framework/Versions/A/CarbonCore
    0x103bb6000 - 0x103c3dff3 com.apple.CFNetwork 220 (221) <a9a6f87532b6c9fc3037feb5a17e6181> /System/Library/F
    rameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versi ons/A/CFNetwork
    0x103c78000 - 0x103cc4fe7 com.apple.Metadata 10.5.0 (398) <e11fd065380013a5ab73401c531ace51> /System/Library
    /Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Vers ions/A/Metadata
    0x103ce1000 - 0x103d8cfef com.apple.CoreServices.OSServices 210.2 (210.2) <b89b40233364ac3bf4e562037e4d4d60>
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x103de2000 - 0x103e73fff com.apple.SearchKit 1.2.0 (1.2.0) <b5dc67de31f5d81eec9cbb4a6bcc3c28> /System/Libra
    ry/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/V ersions/A/SearchKit
    0x103ebe000 - 0x103ef9fff com.apple.AE 402 (402) <7843f8c320e391d5c1ffe58966b1a561> /System/Library/Framewor
    ks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x103f13000 - 0x103fa8ffb com.apple.LaunchServices 286 (286) <227910304d217f41613dfbfe64637e3e> /System/Libr
    ary/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.frame work/Versions/A/LaunchServices
    0x103ff1000 - 0x104009fff com.apple.DictionaryServices 1.0.0 (1.0.0) <ce7135044e951deaa2b687bc8537809a> /Sys
    tem/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionarySe rvices.framework/Versions/A/DictionaryServi
    ces
    0x10401b000 - 0x104059fef com.apple.framework.IOKit 1.5.1 (???) <4b61f44558a20ceb97b15203d1f8d306> /System/L
    ibrary/Frameworks/IOKit.framework/Versions/A/IOKit
    0x104070000 - 0x104076fff com.apple.DiskArbitration 2.2 (2.2) <c0e47dd82571204334c94fbad7b4844f> /System/Lib
    rary/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x10407f000 - 0x104087ffa libbsm.dylib ??? (???) <a870a8e515e1a6407c81ddeebba21793> /usr/lib/libbsm.dylib
    0x10408d000 - 0x1040beff7 libauto.dylib ??? (???) <b24cb5456ebe26429fe58761f01d1b8a> /usr/lib/libauto.dylib
    0x1040cc000 - 0x1042cdffb com.apple.security 5.0.1 (32736) <4945ca87363b0c57b23f625022978c56> /System/Librar
    y/Frameworks/Security.framework/Versions/A/Security
    0x104425000 - 0x104461ff7 com.apple.SystemConfiguration 1.9.0 (1.9.0) <43c49a2517aaa3d4b9111451b338d576> /Sy
    stem/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfigura tion
    0x104483000 - 0x104483ffd com.apple.Accelerate 1.4 (Accelerate 1.4) /System/Library/Frameworks/Accelerate.fr
    amework/Versions/A/Accelerate
    0x104487000 - 0x10454bfe2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Version
    s/A/Frameworks/vImage.framework/Versions/A/vImage
    0x10455b000 - 0x10455bffd com.apple.Accelerate.vecLib 3.4 (vecLib 3.4) /System/Library/Frameworks/Accelerate
    .framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x10455f000 - 0x1045ccfef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/
    A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x1045d8000 - 0x1045f2fff libvDSP.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A
    /Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x1045fa000 - 0x104db7fef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A
    /Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x104e00000 - 0x1051b8fff libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions
    /A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x1051e4000 - 0x105206fff libJPEG.dylib ??? (???) <0b51f0afb5fb084ff31bbcae8e9cf342> /System/Library/Framewo
    rks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versio ns/A/Resources/libJPEG.dylib
    0x10520d000 - 0x105250fef libTIFF.dylib ??? (???) <ef7ca7cb3a458d691d950e916a58e864> /System/Library/Framewo
    rks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versio ns/A/Resources/libTIFF.dylib
    0x10525c000 - 0x105260fff libGIF.dylib ??? (???) <28ed5fa039c8b1952b429387dbdc5007> /System/Library/Framewor
    ks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Version s/A/Resources/libGIF.dylib
    0x105265000 - 0x105282fef libPng.dylib ??? (???) <d2954ec6cb33de7d57d118085d6f0609> /System/Library/Framewor
    ks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Version s/A/Resources/libPng.dylib
    0x105289000 - 0x10528bff9 libRadiance.dylib ??? (???) <8ee3b6e664d605633d85807d6aaabd92> /System/Library/Fra
    meworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Ve rsions/A/Resources/libRadiance.dylib
    0x10528f000 - 0x1052b8fff libcups.2.dylib ??? (???) <59720983b28e0acbe37d2eb3f3730d5b> /usr/lib/libcups.2.dy
    lib
    0x1052c2000 - 0x1052fffe7 com.apple.coreui 0.1 (60) /System/Library/PrivateFrameworks/CoreUI.framework/Versi
    ons/A/CoreUI
    0x105320000 - 0x1056f4fff com.apple.QuartzCore 1.5.1 (1.5.1) <37571df994ca7218ce5a3341db57dac8> /System/Libr
    ary/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x105868000 - 0x10592bfef com.apple.DesktopServices 1.4.3 (1.4.3) <c8a09b7a4b3e1f75d077f23e04975609> /System
    /Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServi cesPriv
    0x10598f000 - 0x10599efe7 com.apple.opengl 1.5.5 (1.5.5) <e0518a68235f91820bef6c18168f99b9> /System/Library/
    Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x1059a5000 - 0x1059e0ff7 libGLImage.dylib ??? (???) <02e442d055de52cc3a161e09e985ea95> /System/Library/Fram
    eworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x1059e9000 - 0x1059ebff7 libffi.dylib ??? (???) <5ccd57a3de7db7f7bffa1b6ef2217b0c> /usr/lib/libffi.dylib
    0x1059ef000 - 0x105a0cfef com.apple.CoreVideo 1.5.0 (1.5.0) <29ba8e2178713b13d6f57dac5dfd919c> /System/Libra
    ry/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x105a20000 - 0x105a84fef libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libr
    aries/libGLU.dylib
    0x105a98000 - 0x105aadff7 libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libra
    ries/libGL.dylib
    0x105ab9000 - 0x105fd5f16 libGLProgrammability.dylib ??? (???) <9c4a1b209fe5068d72abe22a3e84d2d2> /System/Li
    brary/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dyli b
    0x10611a000 - 0x10611affb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/Instal
    lServer.framework/Versions/A/InstallServer
    0x10611e000 - 0x10612ffff libsasl2.2.dylib ??? (???) <a892d65a9a2f0db3308daac62c42b9f6> /usr/lib/libsasl2.2.
    dylib
    0x106159000 - 0x10615bfff modauthapple.so ??? (???) <11144ad26b721e67ba8a4c32530afb66> /usr/libexec/apache
    2/modauthapple.so
    0x10615e000 - 0x106161fff modspnegoapple.so ??? (???) <221442ae9f81a5336be453e23231a6e5> /usr/libexec/apac
    he2/modspnegoapple.so
    0x106164000 - 0x106166fff com.apple.spnegoapache 10.5 (10.5) <1e0ed64370b3528d271b242dc0146204> /System/Libr
    ary/PrivateFrameworks/SpnegoApache.framework/Versions/A/SpnegoApache
    0x10616a000 - 0x106188ff3 com.apple.DirectoryService.Framework 3.5 (3.5) <8b37d94eea85646e896f096d4a306a94>
    /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServic e
    0x106194000 - 0x106198fff moddigestapple.so ??? (???) <fcc93ac5b54dbd9824158e533ddcb626> /usr/libexec/apac
    he2/moddigestapple.so
    0x10619c000 - 0x10619dfff modhfsapple.so ??? (???) <11e2b3485553dfc46a12d9a4b5c578a0> /usr/libexec/apache2
    /modhfsapple.so
    0x1061a0000 - 0x1061b7feb mod_WebObjects.so ??? (???) /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebO
    bjects.so
    0x7fff5fc00000 - 0x7fff5fc2e3a3 dyld 95.3 (???) <cd99d065ba4917450dca6958a854c594> /usr/lib/dyld
    0x7fffffe00000 - 0x7fffffe01780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
    0xfffffffffffec000 - 0xfffffffffffeffff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib

  • Case-Insensitive Searching on Content Server

    Hello everyone,
    I have a Content Server 10gr3 using an Oracle 11g DB. All of my searches are case sensitive, but we need case-insensitive searching. I've tried changing the DatabasePreserveCase variable in the config.cfg to 1, 0, true, and false, rebuilt the indexes in between each reboot (not sure if that's necessary or not), tried checking in new documents after making the changes and searching for those, but no matter, searches stay case sensitive.
    We have another UCM install running on a 10.2.0.3.0 DB, and case insensitivity works on that Content Server with DatabasePreserveCase=1.
    What could we be doing wrong? I've found several documents which have stated that case-insensitivity is impossible with an Oracle DB, but I think those are all old and from before Oracle's acquisition of the product (and obviously it is possible, since we have another install with it working).
    Thanks in advance for any help you can give!

    I'm not quite sure what you mean by Search Engine... we simply installed the Oracle 11g Database, then installed Content Server and configured it to run using that database. We haven't done anything with full-text search.
    Edit: Do you mean the SearchIndexerEngineName value in the config file? It's DATABASE.METADATA, though at some point we also need to get full-text up and running which to my understanding requires it to be DATABASE.FULLTEXT.
    As to the OracleCaseInsensitiveSearch component, where can I find it? Google shows up nothing, and MetaLink has one page saying that it exists but nothing more...
    Message was edited by:
    user573973

  • SELECT INTO doing case insensitive query?

    Hi all,
    I'm having a problem with a query acting as if it is case-insensitive when I do a "SELECT table.x INTO variable ...". If I do the same query, without the "INTO variable", I get one result, as expected.
    The query is similar to the following:
    SELECT table_id INTO variable FROM table WHERE table.varchar2column = 'name' AND table.integercolumn = int_variable;
    There is a unique constraint forcing the varchar2column / integercolumn values to be unique.
    If the varchar2column has two entries that differ only in case, a regular select statement returns one result. However, in the stored procedure using the INTO, I get the following error message:
    ORA-01422: exact fetch returns more than requested number of rows
    It does not get that if I remove the entry that differs only in letter-case. This is Oracle 10.2.0.1.0, if that matters.
    I need this query to be case sensitive. I'm not a DB expert, I'm just a developer trying to fix a problem. I attempted to run "ALTER session SET nls_sort = binary" in the stored procedure, but I guess I can't do that...
    Any suggestions would be appreciated.

    791307 wrote:
    SELECT table_id INTO variable FROM table WHERE table.varchar2column = 'name' AND table.integercolumn = int_variable;
    ...When you say, "...AND table.integercolumn = int_variable;" What is the name of int_variable? Does that name match some column name? Could you post the table creats and a complete sample PL/SQL block with your issue?
    One of the things that gets me every once in awhile is having a variable name that matches a column name. In that case the column name is used inside the select statement, not the variable. To avoid that issue, I use v_ for all my variables. (Others have different standard prefixes.)
    I only point this out, because it might be given results that look case insensitive on the varchar2 column, but is really an issue with the integer column matching to a variable:
    SQL> drop table T;
    Table dropped.
    SQL> create table T (id number constraint T_PK primary key
      2      , Varchar2Data varchar2(20)
      3      , NumberData number(38)
      4      , constraint T_UK1 unique (Varchar2Data, NumberData)
      5  );
    Table created.
    SQL> insert into T values (1, 'STRING', 100);
    1 row created.
    SQL> insert into T values (2, 'string', 200);
    1 row created.
    SQL> insert into T values (3, 'STRING', 300);
    1 row created.
    SQL> select * from T where Varchar2Data = 'STRING' and NumberData = 100;
            ID VARCHAR2DATA         NUMBERDATA
             1 STRING                      100
    SQL> declare
      2      NumberData number(38);
      3      Id Number;
      4  begin
      5      NumberData := 100;
      6      select Id into Id
      7      from T
      8      where T.Varchar2Data = 'STRING'
      9      and T.NumberData = NumberData;
    10      DBMS_OUTPUT.PUT_LINE(Id);
    11  end;
    12  /
    declare
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at line 6
    SQL> declare
      2      v_NumberData number(38);
      3      v_Id Number;
      4  begin
      5      v_NumberData := 100;
      6      select Id into v_Id
      7      from T
      8      where T.Varchar2Data = 'STRING'
      9      and T.NumberData = v_NumberData;
    10      DBMS_OUTPUT.PUT_LINE(v_Id);
    11  end;
    12  /
    1
    PL/SQL procedure successfully completed.
    SQL>

  • How to compare string in a case-insensitive manner using JavaScript?

    Hello everyone,
    Now I have a javascript to compare checkbox's value with user's input, but now seems it only can compare case-sensitively, does some one know if there is a function in javascript that it can compare string case-insensitively ?
    Here is my script :
    function findOffice(field)
    var name;
    name=prompt("What is the office name?");
    var l = field.length;
    for(var i = 0; i < l; i++)
    if(field.value==name)
    field[i].checked=true;
    field[i].focus();
    field[i].select();
    break;
    <input type="button" name="Find" value="Find And Select" onClick="findOffice(form1) >
    Thanks in advance !
    Rachel

    Thank you so much, I already solved the problem with your advice.
    You really have a beautiful mind, :-).
    I appreciate your help !
    Rachel

  • Change in SQL from case sensitive to case insensitive

    Hi Experts
    We have to change the collation setting for one of my clients databases (SAP doc at the time was erroneous) I am wondering if I can change at the same time the DB from being case sensitive to being case insensitive?
    thx,
    Richard

    Hi Richard,
    Are you upgrading from SQL2005 to 2008? We had this problem as it was installed w/SQL2005. What we did was install SQL2008 concurrently with 2005 so we could do a test to ensure fixing the collation would solve some problems with core functionality as well as add-ons, which it did.
    Even though all the databases were CI/case insensitive, because the server was CS/case sensitive, it caused problems. You probably have the same. And if you don't, when you upgrade to SQL2008 it seems to do this for you.
    Heather

  • Case insensitive selects with 'like'

    I use a 10g database (10.2.0.2 same behaviour with 10.2.0.1). What we want is case insensitive selects with 'like' operator in the where clause. NLS_COMP is set to 'LINGUISTIC' and NLS_SORT is set to 'BINARY_CI.
    In a table we have two columns one of type 'varchar2' one of type 'nvarchar2'. The databases national character set is set to UTF8. Case insensitive sorting works with both columns. Select statements with '.... where varchar2col like '%r%' returns also values with upper case 'R' values (that is what I expect).
    The select statements with '.... where nvarchar2col like '%r%' however does not return the row with upper case 'R' values.
    I used SQL*Plus: Release 10.2.0.3.0 and other clients and the behaviour is the same so
    I think it is not client related.
    Is that a known issue or is there any other parameter to set for UTF8 nvarchar columns?
    Any hint is very much appreciated! Here are the nls settings in database, instance and session:
    DPARAMETER      DVALUE IVALUE SVALUE
    NLS_CHARACTERSET WE8ISO8859P1
    NLS_COMP      BINARY LINGUISTIC LINGUISTIC
    NLS_LANGUAGE      AMERICAN AMERICAN AMERICAN
    NLS_NCHAR_CHARACTERSET UTF8
    NLS_RDBMS_VERSION 10.2.0.1.0
    NLS_SORT BINARY BINARY_CI BINARY_CI
    NLS_TERRITORY      AMERICA AMERICA AMERICA

    OK. Found out what the problem is. It is obviously the client.
    While using the instant client and setting the parameters (NLS_SORT=BINARY_CI and NLS_COMP=LINGUISTIC) as environment variables does not work correctly, at least not for nvarchar2 fields. The nls_session_parameters show the correct values, but selects with 'like' operators in the where clause do not return case insensitive. Issuing the 'alter session' commands and again setting the nls parameters solves the problem.
    Using the full client installation also works, in case the parameters are set in the registry on windows systems. With the full client it it not necessary to issue the 'alter session' commands again.
    So obviously the problem is instant client and nvarchar2 field related. That's too bad....

  • Case-insensitive Search with Search Form

    I am using a Search Form with a UIX Page. One of the issue that need to be resolved is to be able to do case-insensitive search for text information stored in some database columns. Please advise me how to implement case_insensitive search with JDeveloper's Search Form.
    Thanks in advance,

    Hi Qian,
    This article (below) by Steve Muench explains how you can customize Query by example behaviour of ADF BCs and if you really want, how to create your own ViewCriteriaAdapter (but you don't have to go quite that far - luckily :) ).
    http://radio.weblogs.com/0118231/2005/02/10.html#a492
    Here is what I did. I implemented the following method in my base view object class (MyBaseViewObject). Note that this code is based on a piece of code that Steve posted on his blog (http://radio.weblogs.com/0118231/stories/2003/07/11/implementingAViewCriteriaAdapterToCustomizeQueryByExampleFunctionality.html); originally an example about creating your own ViewCriteriaAdapter.
    Since applyViewCriteria(oracle.jbo.ViewCriteria) is used by the query-by-example mechanism you're able to "intercept" the ViewCriteria on "it's way in". After that the standard ViewCriteria does it's job as ususal and generated the where clause when required.
    public void applyViewCriteria(ViewCriteria vc)
         if( null == vc || vc.size() == 0 ) super.applyViewCriteria(vc);
         ViewCriteriaRow criteriaRow = (ViewCriteriaRow)vc.first();
         StructureDef def = criteriaRow.getStructureDef();
         AttributeDef[] attrs = def.getAttributeDefs();
         System.out.println(getClass().getName() + ": applyViewCriteria()");
         boolean bFirst = true;
         do{
           if(vc.hasNext() && !bFirst) criteriaRow = (ViewCriteriaRow)vc.next();
           criteriaRow.setUpperColumns(true);
           for (int j = 0, attrCt = attrs.length; j < attrCt; j++)
             String criteriaAttrVal = ((String)criteriaRow.getAttribute(j));
             if (criteriaAttrVal != null && !criteriaAttrVal.equals("") && !JboTypeMap.isNumericType(attrs[j].getSQLType()))
              criteriaRow.setAttribute(j,criteriaAttrVal.toUpperCase());
           bFirst=false;
         }while(vc.hasNext());
         super.applyViewCriteria(vc);
    NOTE that doing this makes all your views case insensitive (to vc search) you may want to implement more functionality in your base view object to set whether a view is in case insensitive mode or not.
    ALSO that flag will not be passivated (if I remember correctly - someone correct me if I'm wrong) so you'll have to add that flag to the passivated data.
    Cheers!
    Sacha

  • Order by case insensitive?

    Hello,
    What's the best (optimized) way of sorting case insensitive? Will order by lowercase(field) use an index?
    Thanks.

    Hi,
    Using lower-case() is a good choice. Whether index takes effect is due to both container indexes and query expression. If you encounter any specified performance issue please post the question or send email ([email protected]) to me. Thanks.
    Best regards,
    Rucong Zhao
    Oracle Berkeley DB XML

Maybe you are looking for

  • What is difference between Documanage and Documaker?

    Guys.. We are new to ECM, one of our customer is using both Documaker(Distributed) and Documanage for their vendor document management. So just I would like to know what would be the reason to use both? Instead can they use only documaker? Thanks in

  • "GR Non-Valuated" check box in Goods Recipt tab

    How "GR Non-Valuated" check box in Goods Recipt tab of production order gets activated. I have a ticket wherein the customer does not want this check mark to be checked but it is checked automatically Please help understand the logic behind it and ad

  • MIRACAST possible with Lumia 620

    Have anyone successfully MIRACAST with Lumia 620 (not 625, 630, 635) with Cyan Update? I know that it works for Lumia 630, however NOT SURE regarding Lumia 620?

  • Creating Attribute dimension

    Hi All, I have requirement to build a product dimension where I am thinking to opt for attribute dimension. I my current outline we have Products Product manfc Nike small medium large Rbk small medium large Ex large ETC Here Sizes small, medium are L

  • Risks involved in EHP4

    Hello, I would like to know the risks involved in implementing EHP4 for SAP ERP 6.0. Is there any document/sap note that talks about this? Also, at the moment we are installing EHP4 in DEV box and not in QA and PROD. Will this cause any issues with t