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

I create a separate index on each column of a table. What are the advantages and disadvantages of this approach? : Sql server database administration

1076


What is a matrix in ssrs?

151


What are the differences between local and global temporary tables?

1068


How to change server name in sql server?

1172


What is named calculation? : sql server analysis services, ssas

966


What is a user-defined function in the sql server and what is its advantage?

1087


What is the name of the Database which IBM mainframe uses?

975


Can you please explain the difference between primary keys and foreign keys?

1098


Difference between Sql server reporting services and Crystal reports?

168


Can we create clustered index on composite key?

1065


What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?

1163


What is the difference between lock, block and deadlock? : sql server database administration

1032


Suppose you want to implement the one-to-many relationships while designing tables. How would you do it?

953


What is set nocount on and what is set nocount off?

930


What do you understand by the analysis services in sql server?

933