473,387 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Debugging a stored procedure

kd
Hi All,

How to debug a stored procedure?

Thanks,
kd
Nov 21 '05 #1
3 3447
This really doesnt have anything to do with VB, did you post in the SQL, or
to the oracle or DB people for the product you use?
Its different for each of them.

you need to be a dba to do it(security wise).

"kd" <kd@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
Hi All,

How to debug a stored procedure?

Thanks,
kd

Nov 21 '05 #2
kd
Hi,

Sorry, I should've been more clear.

I would like to debug a stored procedure from the vb.net development
environment. I am executing 'ExecuteNonQuery' (which in turn executes a
stored procedure) from my vb code and I want to be able to step into the
stored procedure and debug it. I have heard of SQL debugger, but don't know
to enable it in the vb.net environment in order to be able to step into a
stored procedure.

Regards,
kd.

"DevNick" wrote:
This really doesnt have anything to do with VB, did you post in the SQL, or
to the oracle or DB people for the product you use?
Its different for each of them.

you need to be a dba to do it(security wise).

"kd" <kd@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
Hi All,

How to debug a stored procedure?

Thanks,
kd


Nov 21 '05 #3
You cannot debug a stored procedure by executing the stored procedure from
the 'ExecuteNonQuery' method.
You can only debug the stored procedure directly from the IDE. To debug the
stored procedure, you have to set the breakpoints in a stored procedure by
opening the procedure from the server explorer, and then right-click the
stored procedure in the server explorer, and click "Step Into Stored
Procedure".

"kd" wrote:
Hi,

Sorry, I should've been more clear.

I would like to debug a stored procedure from the vb.net development
environment. I am executing 'ExecuteNonQuery' (which in turn executes a
stored procedure) from my vb code and I want to be able to step into the
stored procedure and debug it. I have heard of SQL debugger, but don't know
to enable it in the vb.net environment in order to be able to step into a
stored procedure.

Regards,
kd.

"DevNick" wrote:
This really doesnt have anything to do with VB, did you post in the SQL, or
to the oracle or DB people for the product you use?
Its different for each of them.

you need to be a dba to do it(security wise).

"kd" <kd@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
Hi All,

How to debug a stored procedure?

Thanks,
kd


Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
3
by: Rhino | last post by:
I've spent the last couple of hours trying to figure out how to debug a Java stored procedure and am just going in circles. The last straw came when I got "Cannot open input stream for default"...
0
by: Raquel | last post by:
UDB PE 8.1 on XP. Have developed a simple java stored procedure using Development Center. Performed a "Build for Debug". Now, how do I actually perform the debugging? There 'is' a "Debug" option...
3
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
2
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
0
by: harry | last post by:
Hi, I'm getting an exception when I debug stored procedure on SQL2005 System.InvalidOperationException was unhandled Message="The requested operation requires a SqlClr context, which is only...
3
by: nikhilbhavsar | last post by:
Hi Frnds , I want to debug a stored procedure. It is written in SQL. I am using Developement center for creating stored procedures. I built the stored procedure with Debug option and also...
2
by: rodchar | last post by:
hey all, is there possibly a way to step into a stored proc while debugging in asp.net? thanks, rodchar
0
by: DR | last post by:
Unable to start TSQL Debugging. Could not attach to SQL Server Process on 'srvname'. The RPC server is unavailable. I get this error when I try to run a SQL Server Project with a CLR stored...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.