Results 1 to 2 of 2
  1. #1
    Join Date
    May 2004
    Posts
    2

    Question Unanswered: Single Quote in PLSQL

    Hi all
    I am new to this group and have a question.
    I have to select name from database with SELECT query. Buy if ther is single quote in name I have to ignore it.

    eg. if name is Vijay'Garg it should appear vijay garg (' replaced with space)

    Can you give me solution like
    SELECT convert(name, ''', '') from Table

  2. #2
    Join Date
    Dec 2003
    Location
    Noida, India.
    Posts
    171
    Code:
    SQL> select * from a;
    
    SCH
    ----------
    see'ma
    
    SQL> select replace(sch,'''',' ') from a;
    
    REPLACE(SC
    ----------
    see ma
    Oracle can do wonders !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •