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
Mansoor Mohammed
NA
126
0
I want to replace THREE sp charaters in Name, Age column upon select.
Aug 7 2020 5:15 PM
WITH XMLNAMESPACES(DEFAULT 'http://schemas.datacontract.org/2004/07/myData.SharedData.ViewModels.MyData')
SELECT
x.inf.value('(Name)[1]','nvarchar(225)') as NAME,
x.inf.value('(Age)[1]','nvarchar(225)') as AGE,
x.inf.value('(Gender)[1]','nvarchar(225)') as GENDER
FROM MYTABLE as t cross apply (select cast(t.TEST_DATA as xml) as BOND_PAYLOAD) as ca
cross apply ca.TEST_DATA.nodes('/WarehouseBondMyDataModel') as x(inf) where t.EmpId in('07302018433486048145')
Reply
Answers (
1
)
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_
how to use trigger when specified table column update in mysql