chokka
asked on
How to export sql to csv using BCP?
How to export sql to csv using BCP?
1) My sql server does not have office. So we are not planning to use SSIS package.
2) I have a stored procedure which has input parameter of getting the file name.
SP returns 25 columns. We wanted to save the data in a csv file. We will have another SP which will send email alert with this csv file attached to the email distribution list.
How to export a stored procedure which has input parameter to csv file?
1) My sql server does not have office. So we are not planning to use SSIS package.
2) I have a stored procedure which has input parameter of getting the file name.
SP returns 25 columns. We wanted to save the data in a csv file. We will have another SP which will send email alert with this csv file attached to the email distribution list.
How to export a stored procedure which has input parameter to csv file?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just trying to pass a stored procedure with paramater ..