TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vamsi k
NA
296
46k
Replace function
Jan 1 2019 11:29 PM
Hi everyone,
I had a doubt in replace function in SQL.
In our C# code we are passing 2 values like OCRTYZ-DYZ and D007654 by using concation separting with semicolumn
OCRTYZ-DYZ;D007654
In the Sql script we have written the below replace function to replace the ; to ,
set @val = ''''+replace (@value,';',''',''')+''''
The above all are single quotes. Can anyone please explain what does the above line tells.
I understood ; is replaced with , but why those single quotes after that , also.
Thanks
Reply
Answers (
2
)
Thousand decimal point problem
Sql query need to develop