Results 1 to 2 of 2

Thread: Stored Procedure that create a text file

  1. #1
    Chritian Bellavance Guest

    Stored Procedure that create a text file

    Hi!!!

    Is it possible to create a stored procedure which will create a text file (containing information from some tables) and send it via e-mail to a list of user.

    I know that I will have to configure the SQL Mail.

    If it is possible, can someone give me sample code.

    Thanks you.

  2. #2
    Jasper Guest

    Stored Procedure that create a text file (reply)

    On 8/7/98 7:16:19 AM, Chritian Bellavance wrote:
    > Is it possible to create a stored procedure which will create a
    > text file (containing information from some tables) and send it via e-mail
    > to a list of user.

    If you want send table information via email, you can use xp_sendmail. You can create a query to extract the information from the table, the specific this in the xp_sendmail command. This will send the results via email.

    Regards

    Jasper

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •