| Author |
Topic |
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2007-07-15 : 05:28:08
|
| how can i check using a Select queryif a certin Maintenance plan had succeded if failedwithought the need to to connect to the server and check itthnajs ibn advancepelegIsrael -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-07-15 : 20:45:54
|
| QUERY msdb..sysjobhistory. |
 |
|
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2007-07-16 : 02:00:30
|
| thnaks1 more question :how can i get the description for an error wuth given sql_message_id ?i found that master.dbo.sysmessages give somr of them but not allon a maintainance failure with error 22029couldnt be find on that table - any idea where?thnaks i nadvancepeleg |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-07-16 : 22:34:33
|
| Eusure the string for the target folder (the folder specified to store the database backup, or the one used for the transaction log backup or the one used for reports) in a maintenance plan doesn't contain "-S". For example, the directory path "C:\Db-Save" contains an "-S" string. |
 |
|
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2007-07-17 : 02:12:02
|
| didnt understand u can u explain again please?Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-07-17 : 13:19:07
|
| Check knowledge base article 'Maintenance job fails on named instances of SQL Server 2000 with Error 22029' for details. |
 |
|
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2007-07-18 : 01:58:06
|
| hi rmiaothe main idea of my original Question wasdnt to know the specific problem of the errorbut rather to check the get a description of the problem (the example of error 22029 was just to show that i cant find the description for this error in the master.dbo.sysmessages )Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-07-18 : 12:01:01
|
| Sysmessages table only stores sql engine related messages by default. |
 |
|
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2007-07-18 : 15:57:32
|
| so from where does the erro message that i get?Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-07-18 : 17:37:58
|
| May from mdac. |
 |
|
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2007-07-18 : 17:51:18
|
| mdac?Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-07-18 : 18:26:12
|
| Microsoft data connection components, odbc and ole db are part of mdac. |
 |
|
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2007-07-19 : 01:32:51
|
| but i dont use them when the maintainance plan runsso why should i check there errrors?Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-07-19 : 10:57:49
|
| Sql uses them since sql runs maintenance job with .exe program as I know. |
 |
|
|
|