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 the differences between INNER JOIN, LEFT JOIN and RIGHT JOIN in SQL Server?

1136


What is nonclustered index on computed columns?

960


Distinguish between commit and rollback?

963


What is exporting utility?

1022


Tell me what is the significance of null value and why should we avoid permitting null values?

985


Do you know what is openxml in sql server?

1069


How to use group functions in the select clause in ms sql server?

1055


Explain the various types of concurrency problem. I.e. Lost or buried updates, uncommitted dependency, inconsistent analysis, phantom read?

952


What are the database objects? : SQL Server Architecture

1052


What happens when transaction log is full?

928


What is it unwise to create wide clustered index keys?

1007


What are four major operators that can be used to combine conditions on a where clause?

1054


Explain the dirty pages?

1008


What is difference between delete and truncate commands?

1084


What are the 10 characteristics of data quality?

956