|
|
Re: SQL - Escape character [message #345873 is a reply to message #345870] |
Fri, 05 September 2008 03:18   |
ygsunilkumar
Messages: 100 Registered: August 2008
|
Senior Member |
|
|
Thanks a lot! it's working but actually i need to pull out the qualification column values where '.' symbol is associated using escape character. It's working for other symbols('_', '%', '/' etc) but not for '.' dot. Pls give me the query using escape character.
|
|
|
|
Re: SQL - Escape character [message #345880 is a reply to message #345875] |
Fri, 05 September 2008 03:35   |
rajatratewal
Messages: 507 Registered: March 2008 Location: INDIA
|
Senior Member |
|
|
Quote: |
It's working for other symbols('_', '%', '/' etc) but not for '.' dot
|
Post It.
Quote: |
Pls give me the query using escape character.
|
Post a test Case Create Table And Insert Statements.
Regards,
Rajat
|
|
|
|
|
Re: SQL - Escape character [message #346103 is a reply to message #346101] |
Sat, 06 September 2008 00:51   |
ygsunilkumar
Messages: 100 Registered: August 2008
|
Senior Member |
|
|
Then suggest me the correct query and explain in detail. what do you mean by this?...i didn't understand (You don't need to escape '.', it is not a joker character for Oracle.)
|
|
|
|
|
Re: SQL - Escape character [message #395290 is a reply to message #346108] |
Wed, 01 April 2009 01:35   |
ygsunilkumar
Messages: 100 Registered: August 2008
|
Senior Member |
|
|
'.' is treated in the same way than say 'A'.
I am satisfied with the above answer but I have doubt why Oracle is considering '.' as character and not as symbol such as '_', '%', '/'. Is that an Oracle Bug or is there any specific reason?
|
|
|
|
|
|
|
|
Re: SQL - Escape character [message #395345 is a reply to message #395324] |
Wed, 01 April 2009 03:31  |
JRowbottom
Messages: 5933 Registered: June 2006 Location: Sunny North Yorkshire, ho...
|
Senior Member |
|
|
I strongly suspect that you did not read the text of the error message that you got:ORA-01424: missing or illegal character following the escape character
Cause: The character following the escape character in LIKE pattern is missing or not one of the escape character, '%', or '_'.
Action: Remove the escape character or specify the missing character.
I think that makes the cause of your problem pretty clear.
|
|
|