Solved

select sql from normal column and xml  datatype

Posted on 2011-02-28
1
270 Views
Last Modified: 2012-05-11
Hi EE,

I have following table format and using xmlreader to query data on asp.net app. But I can not access the value of ID column?
how to handle such issue?

sql = select ID, Data from TBL

Column  Name  DataType
ID                      int
Data                  XML

Thanks
0
Comment
Question by:saloj
1 Comment
 
LVL 9

Accepted Solution

by:
mayank_joshi earned 500 total points
ID: 35004197
XML reader is used for reading only xml content.
use data reader or data adapter for reading the ID column.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question