how to replace double quotes by single quotes in sql server

Answers were Sorted based on User's Feedback



how to replace double quotes by single quotes in sql server..

Answer / soorai ganesh

Try This.....

select replace('"ganesh"','"','''')

Output : 'ganesh'

Is This Answer Correct ?    21 Yes 1 No

how to replace double quotes by single quotes in sql server..

Answer / vimal

Select Replace('""','""',Char(39)+Char(39))

Is This Answer Correct ?    7 Yes 2 No

Post New Answer

More SQL Server Interview Questions

Can a rule be bound to any column of any data type?

0 Answers  


How can you stop stored procedures from recompiling?

0 Answers  


Write an SQL query to obtain the 2nd highest salary.

0 Answers   Akamai Technologies,


What is indexing and its types?

0 Answers  


Differences between logshipping and mirroring

1 Answers   Microsoft, Syntel,






What is database replicaion? What are the different types of replication you can set up in SQL Server?

3 Answers  


What are the requirements on sql server network connections?

0 Answers  


How to change the name of a database user?

0 Answers  


What is application role in sql server database security? : sql server security

0 Answers  


what is for foreign key ??

4 Answers   CarrizalSoft Technologies, Sabic,


Do you know what is bit data type and whats the information that can be stored inside a bit column?

0 Answers  


how to select 5 to 7 rows from a table, which contains 10 rows?

21 Answers   IBM,


Categories