2
Answers

want to download xml file after the stored procedure execute

Vikas Singh

Vikas Singh

Nov 28
265
1

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

Answers (2)