Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

@@nestlevel 2 higher than expected

Posted on 2003-11-27
4
Medium Priority
?
301 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

705 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