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 |
What is the difference between upgrade and migration in sql server?
How to modify the underlying query of an existing view?
what is the diffrence between Snap Shot and Transaction Replication
What are the recovery models in sql server 2000?
What is the difference between local table and global table
1 Answers CarrizalSoft Technologies, Polaris,
What is the advantage of sql server?
Find columns used in stored procedure?
Can Having clause be used without Group by clause?
6 Answers CarrizalSoft Technologies, CSC, CTS,
Consider a table with 8 rows 4 rows contains value 0 and 4 rows contains value 1.Now write a single update query to make all 0's as 1 and all 1's as 0
7 Answers PMAM IT Services, TCS,
What is row-level compre?
how to delete duplicate rows in sql server2005
7 Answers Cisco, CTS, HCL, IBM,
What is data source view or dsv? : sql server analysis services, ssas
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)