DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Urgent :)

  1. #1
    Join Date
    May 2005
    Location
    Boracay
    Posts
    681

    Urgent :)

    hi friends,

    Is there a function to count how many words does a varchar2 column contains?

    Thanks
    Behind The Success And Failure Of A Man Is A Woman

  2. #2
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    The answer is nope.

    However depending upon your data you can try to use the avaliable string functions like length replace etc to get what you want.

    regards
    Hrishy

  3. #3
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    Number of spaces + 1?

    Compare length of original string with length of string with spaces removed. Maybe regexp could do it also
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  4. #4
    Join Date
    May 2005
    Location
    Boracay
    Posts
    681
    thanks hunnies
    Behind The Success And Failure Of A Man Is A Woman

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