Skip navigation

Retrieving XML from a Stored Procedure

One of the great new features with SQL Server 2000 is that it can directly output XML from a stored procedure. The code below makes it easy to get xml from a stored procedure or an SQL statement using "FORM XML AUTO" at the end.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish