CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2001
    Posts
    56

    Single quote in Oracle

    Hi Gurus,

    In SQL Server we double the single quote character in a string before sending to SQL Server, is this required also in Oracle?
    For example in Text Area input of ASP page, I am concern of whether I will strip off the single quote character or double it before sending it Oracle database. Please help

    Thank you very in advance.
    MsJane


  2. #2
    Join Date
    Aug 2000
    Location
    England
    Posts
    185

    Re: Single quote in Oracle

    I think you will need to double it up, i.e

    '''some text'''

    Oracle tends to be funny about single quotes otherwise.


  3. #3
    Join Date
    Mar 2001
    Posts
    56

    Re: Single quote in Oracle

    Hi Andrew_Fryer,

    Thank you very much.

    MsJane


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured