Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

@@nestlevel 2 higher than expected

Posted on 2003-11-27
4
Medium Priority
?
307 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

876 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