|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, October 26, 2011 8:44 AM
Points: 11,
Visits: 81
|
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 1:47 PM
Points: 2,118,
Visits: 2,213
|
|
I saw the same problem. You can also click the "Print This!" button at the top of the article, and the print format has the word wrap on. HTH, webrunner
------------------- "The chemistry must be respected." - Walter White
"A SQL query walks into a bar and sees two tables. He walks up to them and says 'Can I join you?'" Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: 2 days ago @ 2:58 PM
Points: 494,
Visits: 3,012
|
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Monday, July 30, 2012 10:42 AM
Points: 3,434,
Visits: 519
|
|
Andy, with WMI you have to be an admin on the server to use it.
Regards, Yelena Varshal
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Monday, April 29, 2013 11:43 AM
Points: 1,151,
Visits: 531
|
|
This is a very useful script. I have been looking for something like this. However, can you tell me how to use database mail rather than xp_sendmail since "this feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.. To send mail from SQL Server, use Database Mail." (SQL Server 2005 Books Online) Thanks!
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, October 10, 2012 8:41 AM
Points: 1,
Visits: 124
|
|
Bob,
We have a similar requirement to monitor mount points I would like to look at how you have used chkdisk and parsed the results. My email id is jullietl@yahoo.com.
thanks
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, October 01, 2007 9:22 PM
Points: 11,
Visits: 4
|
|
I am new to SQL2005. I received the following error when execute the SP
(3 row(s) affected)
Msg 15281, Level 16, State 1, Procedure xp_sendmail, Line 1
SQL Server blocked access to procedure 'sys.xp_sendmail' of component 'SQL Mail XPs' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'SQL Mail XPs' by using sp_configure. For more information about enabling 'SQL Mail XPs', see "Surface Area Configuration" in SQL Server Books Online.
Msg 15281, Level 16, State 1, Procedure xp_sendmail, Line 1
SQL Server blocked access to procedure 'sys.xp_sendmail' of component 'SQL Mail XPs' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'SQL Mail XPs' by using sp_configure. For more information about enabling 'SQL Mail XPs', see "Surface Area Configuration" in SQL Server Books Online.
I check on the Help inside the SQL2005 and it warn us not to use the SQL_Mail but use the Database Mail instead and I have successfully configurated the SMTP database Mail. However, how can I change the SP to use the Database Mail instead of the SQL sendMail
Thanks
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, October 01, 2007 9:22 PM
Points: 11,
Visits: 4
|
|
I am new to SQL2005. I received the following error when execute the SP
(3 row(s) affected)
-- Msg 15281, Level 16, State 1, Procedure xp_sendmail, Line 1
-- SQL Server blocked access to procedure 'sys.xp_sendmail' of component 'SQL Mail XPs' because this --- component is turned off as part of the security configuration for this server. A system administrator --- can enable the use of 'SQL Mail XPs' by using sp_configure. For more information about --- --
-- enabling 'SQL -- Mail XPs', see "Surface Area Configuration" in SQL Server Books Online.
-- Msg 15281, Level 16, State 1, Procedure xp_sendmail, Line 1
-- SQL Server blocked access to procedure 'sys.xp_sendmail' of component 'SQL Mail XPs' because this -
-- component is turned off as part of the security configuration for this server. A system administrator -
-- can enable the use of 'SQL Mail XPs' by using sp_configure. For more information about --
-- ng 'SQL -- l XPs', see "Surface Area Configuration" in SQL Server Books Online.
I check on the Help inside the SQL2005 and it warn us not to use the SQL_Mail but use the Database Mail instead and I have successfully configurated the SMTP database Mail. However, how can I change the SP to use the Database Mail instead of the SQL sendMail
Thanks
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, October 01, 2007 9:22 PM
Points: 11,
Visits: 4
|
|
I am new to SQL2005. I received the following error when execute the SP
(3 row(s) affected)
-- Msg 15281, Level 16, State 1, Procedure xp_sendmail, Line 1
-- SQL Server blocked access to procedure 'sys.xp_sendmail' of component 'SQL Mail XPs' because this --- component is turned off as part of the security configuration for this server. A system administrator --- can enable the use of 'SQL Mail XPs' by using sp_configure. For more information about --- --
-- enabling 'SQL -- Mail XPs', see "Surface Area Configuration" in SQL Server Books Online.
-- Msg 15281, Level 16, State 1, Procedure xp_sendmail, Line 1
-- SQL Server blocked access to procedure 'sys.xp_sendmail' of component 'SQL Mail XPs' because this -
-- component is turned off as part of the security configuration for this server. A system administrator -
-- can enable the use of 'SQL Mail XPs' by using sp_configure. For more information about --
-- ng 'SQL -- l XPs', see "Surface Area Configuration" in SQL Server Books Online .
I check on the Help inside the SQL2005 and it warn us not to use the SQL_Mail but use the Database Mail instead and I have successfully configurated the SMTP database Mail. However, how can I change the SP to use the Database Mail instead of the SQL sendMail
Thanks
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, October 01, 2007 9:22 PM
Points: 11,
Visits: 4
|
|
I am new to SQL2005. I received the following error when execute the SP
(3 row(s) affected)
-- Msg 15281, Level 16, State 1, Procedure xp_sendmail, Line 1
-- SQL Server blocked access to procedure 'sys.xp_sendmail' of component 'SQL Mail XPs' because this --- component is turned off as part of the security configuration for this server. A system administrator --- can enable the use of 'SQL Mail XPs' by using sp_configure. For more information about --- --
-- enabling 'SQL -- Mail XPs', see "Surface Area Configuration" in SQL Server Books Online.
-- Msg 15281, Level 16, State 1, Procedure xp_sendmail, Line 1
-- SQL Server blocked access to procedure 'sys.xp_sendmail' of component 'SQL Mail XPs' because this -
-- component is turned off as part of the security configuration for this server. A system administrator -
-- can enable the use of 'SQL Mail XPs' by using sp_configure. For more information about --
-- ng 'SQL -- l XPs', see "Surface Area Configuration" in SQL Server Books Online .
I check on the Help inside the SQL2005 and it warn us not to use the SQL_Mail but use the Database Mail instead and I have successfully configurated the SMTP database Mail. However, how can I change the SP to use the Database Mail instead of the SQL sendMail
Thanks
|
|
|
|