Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: SQL*Plus and PL/SQL >> Validate string for special characters.

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Validate string for special characters.
 Amar  Posted: Nov 28, 2005 02:58:01 PM

 Total Post: 1
 Joined: Nov, 2005






 Hi,
I need some assistance with writing a pl/sql procedure to validate a string for special characters. I have Oraccle 9i database and am using oracle 9.0.2 client. I have read about regular expressions validation in 10g but need to implement a task in oracle 9i database. Any ideas would be helpful.

I tried creating a lookup table with the list of all valid characters and then parsing the string one character at a time to see if it belongs to the valid characters list. this works fine but is not elegant so was checking if there was a way of doing regular expression type check in oracle 9i.

Thanks

 Vigyan
Posted: Nov 28, 2005 04:51:38 PM  

 Total Post: 386
 Joined: May, 2001






 
I don't think, you can use another method except storing these special characters somewhere in the database or in pl/sql array and comparing it.

Hope it helps.

Vigyan




 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi333
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software