what purpose does OPENXML clause have in sql server stored
procedure?
Answer / p.rajesh
OPENXML, a Transact-SQL keyword, provides a rowset over in-
memory XML documents that is similar to a table or a view.
OPENXML allows access to XML data as though it is a
relational rowset. It does this by providing a rowset view
of the internal representation of an XML document. The
records in the rowset can be stored in database tables.
OPENXML can be used in SELECT and SELECT INTO statements
wherever rowset providers, a view, or OPENROWSET can appear
as the source. For information about the syntax of OPENXML,
see OPENXML (Transact-SQL).
To write queries against an XML document by using OPENXML,
you must first call sp_xml_preparedocument. This parses the
XML document and returns a handle to the parsed document
that is ready for consumption. The parsed document is a
document object model (DOM) tree representation of various
nodes in the XML document. The document handle is passed to
OPENXML. OPENXML then provides a rowset view of the
document, based on the parameters passed to it.
| Is This Answer Correct ? | 6 Yes | 0 No |
hi friends please answer this question ASAP:- how to count the no. of employee in a each department or no. of employee in each location by using emp/dept table
What is the maximum size of sql server database?
What is public role in sql server?
Security Question- SQL DBA exparts, need your help...
What are the recovery models in sql server 2000?
What are different types of replication in sql server?
What is the need for indexing?
if you encounter this kind of an error message, what you need to look into to solve this problem? : Sql server database administration
What are the benefits and tasks of object explorer? : sql server management studio
What is the datatype returned by count(*)
22 Answers 247Customer, Asian CERC,
What is a database in ms sql server?
Why do we need different type of parameter?
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)