By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,575 Members | 1,968 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,575 IT Pros & Developers. It's quick & easy.

batch file to send email

P: 29
Hi,

I am a developer, but my client asked me to write a SQL batch file to send emails at the end of the day. This email should be sen to all the people who make changes to the database table name tblXYZ. I mean update the table for that particular day.
I am using SQLServer2000 database and .net framework.

I need the help really urgent.

Any help would be really appreciated.

Thanks :confused:
May 30 '06 #1
Share this Question
Share on Google+
1 Reply


P: 4
priya0123,

Have you tried xp_cmdshell ???

This is an extended stored proc that allows you to shell out. You could write a batch file wrapper for a simple smtp client - something like bmail.
Jul 12 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.