Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.ms-sqlserver    |    Notorious Rube Goldberg contraption    |    19,505 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 19,401 of 19,505    |
|    Erland Sommarskog to Anton Shepelev    |
|    Re: `sqlcmd' withholding error messages?    |
|    12 Aug 22 22:45:25    |
   
   From: esquel@sommarskog.se   
      
   Anton Shepelev (anton.txt@g{oogle}mail.com) writes:   
   > Most of the time is works as expected, but on rare oc-   
   > casion the log file will contain error entries with an   
   > empty message, e.g.:   
   >   
   > Thu 08/11/2022 13:04:12.46:   
   > Error invoking mem_bal _mem_balance.sql for SBO35:   
   > --   
   >   
   > Which means that `sqlcmd' returned an error code yet   
   > did not print any message to standard output. Do I in-   
   > voke it incorrectly?   
   >   
      
   Unfortunately without a reproducible case, this is difficult to comment on.   
   What I can say is that sometimes I get the feeling that SQLCMD does not   
   relay all errors when there are many, but I have never investigate it.   
   But have I run into no errors at all, but still it's apparent that the   
   operation falied? When I think of it, I think I have, but I don't   
   recall the details.   
      
   What's in your scripts? Loading of stored procedures and other   
   objects? Or something else? (In my case, it was most likely a stored   
   procedure.)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca