Insert with ' Symbol

  • Hi Team.

    Insert into table_Name values (1,'Text') -- Done.

    Insert into table_Name values (2,'Text's') - -- Unclosed quotation mark after the character string ')

    How to insert a value with ' Symbol.

    Please help..

  • In order to have a string with an apostrophe, you need to use two apostrophes together, eg

    Insert into table_Name values (2,'Text''s')

    Follow me on twitter @EvoDBACheck out my blog Natural Selection DBA[/url]

  • Thank You 🙂

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply