Microsoft Business Intelligence
This blog provides SQL and MSBI stuff along with Interview Questions.
Pages
Home
MDX
Interview Questions
Friday, July 10, 2015
how to deal quotes in strings in sql
Handling single quote's in strings.
For example if we want to print string
like
Lakshmi's ,
We can use two single quotes in place of one single quote like below.
select
'lakshmi''s'
Output: lakshmi's
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment