Solved

@@nestlevel 2 higher than expected

Posted on 2003-11-27
4
295 Views
Last Modified: 2008-03-17
We're using MS SQL Server with Tomcat and Java (MS JDBC driver) and the nestlevel in called stored procedures is 2 higher than when making the same calls not thru tomcat.

any ideas?
0
Comment
Question by:objects
  • 2
  • 2
4 Comments
 
LVL 34

Accepted Solution

by:
arbert earned 500 total points
ID: 9835309
I would suggest running SQL Server profiler  to capture the SQL Statements being executed.  This way, you can see what the 2extra levels are.
0
 
LVL 92

Author Comment

by:objects
ID: 9916984
I haven't forgotten about this. The DBA is currently overseas, when he gets back we'll see what profiler can tell us.
0
 
LVL 34

Expert Comment

by:arbert
ID: 9918182
Sounds good!
0
 
LVL 92

Author Comment

by:objects
ID: 10239192
he still hasn't returned yet so i'll close this and ask for more info if needed when he returns.

Thanks :)
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Abstract Express Replacement Software 12 25
Sql server insert 13 29
How to search for strings inside db views 4 27
SQL Count issue 24 15
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
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.

770 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