Job skips certain queries?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve

    Job skips certain queries?

    Has this happened to anyone else?

    I have a large job and all the queries run fine when used
    individually, but in the job, SQL says completed with success but in
    two cases the queries did not run. One of them is even ridiculously
    simple: DROP TABLE tblMyTable, etc.
  • Erland Sommarskog

    #2
    Re: Job skips certain queries?

    Steve (go2toa@hotmail .com) writes:[color=blue]
    > Has this happened to anyone else?
    >
    > I have a large job and all the queries run fine when used
    > individually, but in the job, SQL says completed with success but in
    > two cases the queries did not run. One of them is even ridiculously
    > simple: DROP TABLE tblMyTable, etc.[/color]

    Are these individual job steps, or are the part of a larger batch?
    It is quite difficult to give any assistance with that minimum of
    information.


    --
    Erland Sommarskog, SQL Server MVP, sommar@algonet. se

    Books Online for SQL Server SP3 at
    SQL Server 2025 redefines what's possible for enterprise data. With developer-first features and integration with analytics and AI models, SQL Server 2025 accelerates AI innovation using the data you already have.

    Comment

    Working...