want to download xml file when stored procedure executes.
when i am executing this procedure it returns output in xml format. I want it automatically download xml file after execution.
Create PROCEDURE GetEmployeeData
AS
BEGIN
SELECT * FROM tblemployee
FOR XML Path('Employee'), ROOT('EmployeesDetails'), ELEMENTS
END