RE: Sending query results to a text file
From: Deepankar (anonymous_at_discussions.microsoft.com)
Date: 03/30/04
- Next message: Deepankar: "RE: Joining 2 timestamps in one row"
- Previous message: SQL Apprentice: "linkserver error"
- In reply to: TM: "Sending query results to a text file"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Mar 2004 14:16:06 -0800
You can do the following.
Fire the update statement in a stored procedure.
Use @@rowcount to get the no. of rows updated and return it as output parameter to the stored procedure.
Capture the above retuned value in a front end application like vb /asp and
use a mail app to send mail.
You can send mail using sql server too but I guess there are some issues with them.
- Next message: Deepankar: "RE: Joining 2 timestamps in one row"
- Previous message: SQL Apprentice: "linkserver error"
- In reply to: TM: "Sending query results to a text file"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|