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
How to create a user name in a database?
Why I am getting "the microsoft .net framework 2.0 in not installed" message?
What is a rownum?
What is “asynchronous” communication in sql server service broker?
Can we use pragma autonomous_transaction in trigger?
What is scan table/view and seek table/view when its occurs? : sql server database administration
What stored by the msdb? : sql server database administration
explain different types of constraints? : Sql server database administration
What is outer join in sql server joins?
What are SSL and TSL protocols?
What are the differences in Clustering in SQL Server 2005 and 2008 or 2008 R2?
What is field with example?
How to create a view with data from multiple tables?
What are the advantages of user defined function?
What is cursor in ms sql server?