Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

XML Data

$
0
0
[b]I have the below data as XML from WebRequest :[/b]Success1<![CDATA[ Id, Name 72711, Top Banner Asset ]]> <![CDATA[ Id, Name 4798, test123 ]]> <![CDATA[ Id, Name 72711, Media Zone ]]> <![CDATA[ Id, Name 5411, 733ce4a0-ec1f-11e5-b6d9-715951b926b4 ]]> <![CDATA[ Id, Title, Type 4906, 13, Image 4909, 16, Image ]]> <![CDATA[ Id, ContentId, PlayoutStart, PlayoutEnd, FullPlayout, Type, PlayerId, ApplicationId, ScheduleId, MediaZoneId, ComponentId 2664619, 4906, 3/27/2016 5:59:18 PM, 3/27/2016 5:59:30 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664620, 4906, 3/27/2016 5:59:30 PM, 3/27/2016 5:59:42 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664627, 4906, 3/27/2016 5:59:42 PM, 3/27/2016 5:59:54 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664628, 4906, 3/27/2016 5:59:54 PM, 3/27/2016 6:00:06 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664635, 4906, 3/27/2016 6:00:06 PM, 3/27/2016 6:00:18 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664636, 4906, 3/27/2016 6:00:18 PM, 3/27/2016 6:00:30 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664644, 4906, 3/27/2016 6:00:30 PM, 3/27/2016 6:00:42 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664659, 4906, 3/27/2016 6:01:21 PM, 3/27/2016 6:01:33 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664662, 4909, 3/27/2016 6:01:42 PM, 3/27/2016 6:01:54 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664663, 4906, 3/27/2016 6:01:55 PM, 3/27/2016 6:02:07 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664670, 4909, 3/27/2016 6:02:07 PM, 3/27/2016 6:02:19 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664671, 4906, 3/27/2016 6:02:20 PM, 3/27/2016 6:02:32 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664679, 4909, 3/27/2016 6:02:33 PM, 3/27/2016 6:02:45 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664680, 4906, 3/27/2016 6:02:46 PM, 3/27/2016 6:02:58 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664689, 4909, 3/27/2016 6:03:21 PM, 3/27/2016 6:03:33 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664690, 4906, 3/27/2016 6:03:34 PM, 3/27/2016 6:03:46 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664723, 4909, 3/27/2016 6:03:47 PM, 3/27/2016 6:03:59 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664724, 4906, 3/27/2016 6:04:00 PM, 3/27/2016 6:04:12 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664734, 4909, 3/27/2016 6:04:44 PM, 3/27/2016 6:04:56 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664735, 4906, 3/27/2016 6:04:57 PM, 3/27/2016 6:05:09 PM, False, Custom, 5411, 4798, 248, 72711, 72711 ]]> 5001[b]I need to store the below part into table :[/b]Id, ContentId, PlayoutStart, PlayoutEnd, FullPlayout, Type, PlayerId, ApplicationId, ScheduleId, MediaZoneId, ComponentId 2664619, 4906, 3/27/2016 5:59:18 PM, 3/27/2016 5:59:30 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664620, 4906, 3/27/2016 5:59:30 PM, 3/27/2016 5:59:42 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664627, 4906, 3/27/2016 5:59:42 PM, 3/27/2016 5:59:54 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664628, 4906, 3/27/2016 5:59:54 PM, 3/27/2016 6:00:06 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664635, 4906, 3/27/2016 6:00:06 PM, 3/27/2016 6:00:18 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664636, 4906, 3/27/2016 6:00:18 PM, 3/27/2016 6:00:30 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664644, 4906, 3/27/2016 6:00:30 PM, 3/27/2016 6:00:42 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664659, 4906, 3/27/2016 6:01:21 PM, 3/27/2016 6:01:33 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664662, 4909, 3/27/2016 6:01:42 PM, 3/27/2016 6:01:54 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664663, 4906, 3/27/2016 6:01:55 PM, 3/27/2016 6:02:07 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664670, 4909, 3/27/2016 6:02:07 PM, 3/27/2016 6:02:19 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664671, 4906, 3/27/2016 6:02:20 PM, 3/27/2016 6:02:32 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664679, 4909, 3/27/2016 6:02:33 PM, 3/27/2016 6:02:45 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664680, 4906, 3/27/2016 6:02:46 PM, 3/27/2016 6:02:58 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664689, 4909, 3/27/2016 6:03:21 PM, 3/27/2016 6:03:33 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664690, 4906, 3/27/2016 6:03:34 PM, 3/27/2016 6:03:46 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664723, 4909, 3/27/2016 6:03:47 PM, 3/27/2016 6:03:59 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664724, 4906, 3/27/2016 6:04:00 PM, 3/27/2016 6:04:12 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664734, 4909, 3/27/2016 6:04:44 PM, 3/27/2016 6:04:56 PM, False, Custom, 5411, 4798, 248, 72711, 72711 2664735, 4906, 3/27/2016 6:04:57 PM, 3/27/2016 6:05:09 PM, False, Custom, 5411, 4798, 248, 72711, 72711

Viewing all articles
Browse latest Browse all 3145

Trending Articles