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: Database Administration >> Tell me What the following SQL command retrieve

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: Tell me What the following SQL command retrieve
 Naga  Posted: Feb 13, 2008 04:30:00 AM

 Total Post: 6
 Joined: Feb, 2008






 
select * from Emp where ename LIKE '%o%o%'

I know that it would search the ENAME coloum containing two '0' and retrieve that row .

If suppose you want to search two '%' in Ename how you write SQL

 Naga
Posted: Feb 13, 2008 04:36:02 AM  

 Total Post: 6
 Joined: Feb, 2008






 
I can not able to get information even in google search.

 Guddu
Posted: Feb 13, 2008 11:22:54 PM  

 Total Post: 1
 Joined: Feb, 2008






 

SELECT * FROM Emp WHERE ename LIKE '%\%%\%%' ESCAPE '\'





 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 Khokhar814
  Mohammed Taj704
  Jayanta Sur479
  positive fanatic416
  Vigyan Kaushik386
  Gitesh Trivedi322
  Gopu Gopi242
  neeraj sharma231
  Ramesh Jois226
  Bishal Khetan196






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