Showing posts with label hii. Show all posts
Showing posts with label hii. Show all posts

Monday, March 19, 2012

e-mail notifications

Hi!
I'm a beginner in SQL Server. Sorry in this a stupid question but I dont have a clue.

I'm sending an e-mail when a backup ends and I want to know how can I change the subject and the body text of this notifications.

Is that possible? How can I do it?

Thanx in advance!is this backup a scheduled job? is there anyway for you to know how this backup is being done? using a DTS package??|||Yes, is a scheduled job. Why? Is this a problem?
Is better to use a DTS package? I haven't worked with this before...|||You can add a step in the job that uses xp_sendmail - passing the subject/body you want.|||Originally posted by rnealejr
You can add a step in the job that uses xp_sendmail - passing the subject/body you want.

because the backup is a job it uses the SQL server agent mail system, which is different from SQL Mail. by setting up the operator to get a msg you are useing the SQL Sever Agent mail system, which is very limited. To get greater flexability you need to use SQL mail, and the only way to get access to that is to use the xp_sendmail procedure in connection with a DTS package.
Jim|||Jim,

You don't need to use a dts package - you can run xp_sendmail within a step.|||Originally posted by rnealejr
Jim,

You don't need to use a dts package - you can run xp_sendmail within a step.

Very true didnt even think about that
Jim|||THANK YOU ALL!!
I'm going to try that way. I hope this works... :-\

Email Notification

Hi
I run a query against sysjobs table to turn off the email notification, but
still i am getting notification from jobs. Do I need to update any other
table while updating the sysjobs. I had the same issue when i was running a
query against sysjobschedules to reset the active start time . Any
suggestions are appreciable
Regards
Swami
Dont know what you did to SysJobs for this, but you probably need to go to
each job and delete the entry from the notifications tab.
"Swami" <Swami@.discussions.microsoft.com> wrote in message
news:FB94A9AA-62EE-402C-9A2F-9399A30724F9@.microsoft.com...
> Hi
> I run a query against sysjobs table to turn off the email notification,
> but
> still i am getting notification from jobs. Do I need to update any other
> table while updating the sysjobs. I had the same issue when i was
> running a
> query against sysjobschedules to reset the active start time . Any
> suggestions are appreciable
> Regards
> Swami

Email Notification

Hi
I run a query against sysjobs table to turn off the email notification, but
still i am getting notification from jobs. Do I need to update any other
table while updating the sysjobs. I had the same issue when i was running
a
query against sysjobschedules to reset the active start time . Any
suggestions are appreciable
Regards
SwamiDont know what you did to SysJobs for this, but you probably need to go to
each job and delete the entry from the notifications tab.
"Swami" <Swami@.discussions.microsoft.com> wrote in message
news:FB94A9AA-62EE-402C-9A2F-9399A30724F9@.microsoft.com...
> Hi
> I run a query against sysjobs table to turn off the email notification,
> but
> still i am getting notification from jobs. Do I need to update any other
> table while updating the sysjobs. I had the same issue when i was
> running a
> query against sysjobschedules to reset the active start time . Any
> suggestions are appreciable
> Regards
> Swami

Friday, March 9, 2012

EM snap in

Hi
I'm not sure if this is possible but does anyone know if there is a way to
create a MMC snap in for EM and only have certain features of EM showing in
that snap in e.g. not let the user see DTS jobs etc.
I know you can restrict access so the user won't have the rights to run
certain things but is it possible to set up so they don't even see certain
things when opening the snap in. I have had a look and can't see how this ca
n
be done so any suggestions would be welcome.
Thanks
JonjoYou would have to do that on your own, quering the sql server via SQLDMO.
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de
--
"jonjo" <jonjo@.discussions.microsoft.com> schrieb im Newsbeitrag
news:5EAB76B4-016A-41F9-84D5-C2A405220C62@.microsoft.com...
> Hi
> I'm not sure if this is possible but does anyone know if there is a way to
> create a MMC snap in for EM and only have certain features of EM showing
> in
> that snap in e.g. not let the user see DTS jobs etc.
> I know you can restrict access so the user won't have the rights to run
> certain things but is it possible to set up so they don't even see certain
> things when opening the snap in. I have had a look and can't see how this
> can
> be done so any suggestions would be welcome.
> Thanks
> Jonjo|||... or also using the SQL.NS API (should save some work compared to only us
ing DMO)
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Jens Smeyer" <Jens@.Remove_this_For_Contacting.sqlserver2005.de> wrote in
message
news:uVJC6oJXFHA.3348@.TK2MSFTNGP14.phx.gbl...
> You would have to do that on your own, quering the sql server via SQLDMO.
> --
> HTH, Jens Suessmeyer.
> --
> http://www.sqlserver2005.de
> --
> "jonjo" <jonjo@.discussions.microsoft.com> schrieb im Newsbeitrag
> news:5EAB76B4-016A-41F9-84D5-C2A405220C62@.microsoft.com...
>

Wednesday, February 15, 2012

Editor

Hi!

I like a new sql editor instead of the query analyzer.
The QA dont show the outlining, bracket injuctions and intellilist.
Help!
Wich editor able this functions?

Try the SQL Buddy:

http://sqlbuddy.sourceforge.net/

HTH, Jens Suessmeyer.

|||Thanks!

The buddy is a good, but dont able the outlining and bracket conjunctions!

Another?