How to search a string in clob field?
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: How to search a string in clob field?

  1. #1
    Join Date
    Sep 2000
    Posts
    305
    How do I search in clob field please explain me with some example.


    Thanks in advance
    Shailendra

  2. #2
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    Simple:

    Assume the table T1 has the clob column called C1 and we want to search for the string 'shailendra'.

    Code:
    select * from T1 where dbms_lob.instr(C1,'shailendra')>0;

  3. #3
    Join Date
    Sep 2000
    Posts
    305
    Thanks julian

    it is working I have two more problem can u please tell me

    1) When I insert data in clob field by sql loder it is not uploding the whole file only a limited part is coming is there any problem with the file or there is some limitation of sql loder.

    2) is search is casesentive in clob field?

    thanks

  4. #4
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    1) Set the SQL Plus environment variables

    long and longchunksize

    to a higher value.

    2) I think so.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width