Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Symbols under oracle?

Status
Not open for further replies.

Whitebat

Technical User
Jun 19, 2001
47
0
0
DE
how do i tell Oracle to display a name like this : O'Donnell ? the problem is the ' in the name
thanks for your help
 
In PL/SQL - 'O''Donnell' or in SQL - "O'Donnell".

Note in PL/SQL all the quotes are single '
in SQL the start in finish are doubles ".

Steve
 
thats not working in my version
but its working like this :
'O'||''''||'Donnell'
 

How about this one?

SELECT 'O''Donnel'
FROM sys.dual;
 
Hi,
If u want like above u can use below synatax.

select 'O'||chr(39)||'Donnel' from dual;

regards,
kumar.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top