473,382 Members | 1,648 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,382 software developers and data experts.

debugging stored procedure

hi, does someone know if is it possible to debug sql server (7.0) stored
procedures with .net? when i right-click on the stored procedure in the
server explorer i've not the options edit and step into. how can i enable
them?

thanks
Nov 20 '05 #1
2 1241
The only way I know of to debug stored procedures is to run them in Query
Analyzer and set 'Print' statements where you want to see what's happening
in your procedure.

The other thing you can do is to break the procedure down into smaller
parts and see how each segment works.

If you don't have Query Analyzer there may be an equivalent function in
Visual Studio or you could download the trial version of Sql Server. It
times out after 120 days on the actual database but the peripheral tools
keep working.

Bob

"sandro72" <gf*****@pippo.com> wrote in message
news:bq**********@newsread.albacom.net...
hi, does someone know if is it possible to debug sql server (7.0) stored
procedures with .net? when i right-click on the stored procedure in the
server explorer i've not the options edit and step into. how can i enable
them?

thanks

Nov 20 '05 #2
It is possible to debug SQL7.0 stored procedures using Visual Studio .Net,
but you will need to have the Enterprise edition of VS .Net for this
functionality. You most probably have either the Professional or Standard
edition of Visual Studio .Net and hence the reason you cannot see the
options 'Edit' or 'Step Into'.

Thanks!
Srinivas Kanakapally
Visual Studio .Net Data Tools, MSFT

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
"sandro72" <gf*****@pippo.com> wrote in message
news:bq**********@newsread.albacom.net...
hi, does someone know if is it possible to debug sql server (7.0) stored
procedures with .net? when i right-click on the stored procedure in the
server explorer i've not the options edit and step into. how can i enable
them?

thanks

Nov 20 '05 #3

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...
3
by: kd | last post by:
Hi All, How to debug a stored procedure? Thanks, kd
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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

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.