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?



how to generate XML out of QUERY?..

Answer / 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

More SQL Server Interview Questions

Explain triggers?

0 Answers  


What is Files and Filegroups in SQL Server & it's implementation.

1 Answers   Zenith,


Difference between aggregate functions of sql?

0 Answers   EXL,


Which language is supported by sql server?

0 Answers  


What is the use of =,==,=== operators?

0 Answers  


How to display a past time in days, hours and minutes?

0 Answers  


How to use values from other tables in update statements in ms sql server?

0 Answers  


How to create indexed view?

0 Answers  


What are the types of resultset?

0 Answers  


What is join and name different type of joins?

0 Answers  


What is query processing?

0 Answers  


What is an index. What are the types?

0 Answers  


Categories