Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to generate XML out of QUERY?

Answer Posted / mahendra raja

select * from [table name] for xml auto (or)
select * from [table name] for xml raw

But if there is any binary field column in table then this
query wont work.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are horizontal and vertical scaling?

170


How to search for a string in all stored procedure in sql server?

949


How many levels of sp nesting are possible?

957


Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?

2440


User wants only to display only pdf as export option in report manager. How to achieve this?

247


your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration

925


What is table valued function and scalar valued functions?

985


How global temporary tables are represented and its scope?

904


Explain acid?

1015


How many types of stored procedures are there in sql server?

950


How many types of the database links?

1021


How to list all columns in a table using odbc_columns()?

934


How do you handle datasets larger than 50 gb?

162


What is the difference between executequery () and executeupdate ()?

963


Explain few of the new features of sql server 2008 management studio

858