Example of Creating XML File Using T-SQL

SELECT
(
 SELECT 'ProjectID' AS ProjectID,
'ProjectName' AS ProjectName
FOR
XML PATH('Project'),
TYPE
)
FOR XML PATH(''),
ROOT('MyProjectXML')

Comments

Popular posts from this blog

Executing PowerShell scripts from C#

HOW TO Use the NumericUpDown Control

Exposing Agile Software Development Myths