query batch completed with errors

Posted on 2006-06-02
Last Modified: 2008-02-26
I ran a SP in query analyzer. In the status bar on the bottom it shows this "query batch completed with errors" but I do not see any errors messages pane. How can I find the details of the errors so I can troubleshoot whatever the problem is?

Question by:lunchbyte
    LVL 15

    Accepted Solution

    Run a Profiler Trace taking all the "Error and Warnings" section.
    This may give you an indication to the nature of the error (last statement executed before the error warning)
    LVL 20

    Assisted Solution

    in QA you can also debug a stored procedure. Right click on SP in object pane and choose debug.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    The steps for moving the system databases to a new location are documented in the following technical article: However sometimes after the moving process is finished, though SQL i…
    Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
    This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
    Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now