ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
what purpose does OPENXML clause have in sql server stored 
procedure?
 Question Submitted By :: Ynpradeep
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what purpose does OPENXML clause have in sql server stored procedure?
Answer
# 1
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 ?    4 Yes 0 No
P.rajesh
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
What are the different types of replication? How are they used?  3
please tell me the query to get details of the employee having the second largest salary 247Customer8
How do you check the performance of a query and how do you optimize it?  1
How to handle errors in Stored Procedures. I want to display a message to the user in the .aspx page that is calling a stored procedure in it's code behind. please help me. 247Customer1
What are the new features in SQL Server 2005? Emphasis2
What are user defined datatypes and when you should go for them?  1
What is the diff between Dynamic queries and static queries ICS-Integrated-Computer-Solutions1
As a part of your job, what are the DBCC commands that you commonly use for database maintenance? HCL1
What is BCP? When do we use it?  1
how do u do Performance tunning ? Satyam1
What is a materialized view?  2
What does it mean to have quoted_identifier on? What are the implications of having it off?  2
what is bit data type? and what are the information that can be stored inside a bit column?  2
What is an extended Stored Procedure?  1
what is the importence of the trigger in sqlserver2000? ATI1
In which year relase the 7.0& 2000 & 2005?  1
can you any body tell me suppose database is suspect mode. how can take to normal? Teledata1
Rate yourself in .NET and SQL ? Cognizent1
What is user stored procedure & it purpose? Wipro3
Which command using Query Analyzer will give you the version of SQL server and operating system?  3
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com