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 |
Send this thread to your friend |
|
|
|
|
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 Khokhar | 814 |
| Mohammed Taj | 704 |
| Jayanta Sur | 479 |
| positive fanatic | 416 |
| Vigyan Kaushik | 386 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 242 |
| neeraj sharma | 231 |
| Ramesh Jois | 226 |
| Bishal Khetan | 196 |
|
|