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
AnuLakshmi M
NA
12
3.4k
How Cn insert Multiple Item Using XML
Sep 10 2014 10:41 AM
EXEC sp_xml_preparedocument @i OUTPUT, @xml_OrderPurchItems
insert into OrderPurchItems
SELECT
PurchIDNo as PurchIDNo,
@k as PurchNo,
ItemCode AS ItemCode,
ItValue as ItValue
FROM
OPENXML(@i, '/NewDataSet/Table1', 1)
WITH (
PurchIDNo VARCHAR(11) 'PurchIDNo',
PurchNo VARCHAR(20) 'PurchNo',
ItemCode VARCHAR(30) 'ItemCode' ,
ItValue VARCHAR(30) 'ItValue'
)
EXEC sp_xml_removedocument @i
This Code not working
Reply
Answers (
1
)
Selecting all data from view where forign key = null
How to retrieve the historical value in SSAS Cube