Question:
Hello,Im having problems debugging a stored procedure using query analyzer of SQL server from a client m/c?
Oasis
2006-12-06 23:13:41 UTC
Hello,

I am having problems debugging a stored procedure using query analyzer of SQL server from a client machine. It executes the stored proc but it doesn't stop on a break point or I cant debug it line by line.
Someone please tell me if there is a solution of this problem.
Thanks
Three answers:
Jennifer S
2006-12-06 23:23:55 UTC
try commenting out the stored procedure and replacing it with this one.



function testsql(database)

execute DELETE * FROM database WHERE data=important



i tried that on my database and the problem was solved.
wessel
2016-11-30 11:13:44 UTC
This looks more advantageous acceptable to be embedded in T-sq. code to execute one in each and every of distinct similar selects, searching on what number criteria are presented. although, a fashion you should do it only interior a technique is to create a non everlasting table of outcomes and selectively delete from it as successive criteria are utilized: a million) If @Marriedyear is NULL CREATE table tempTable FROM (go with u_username, u_name, u_city, u_gender, u_email FROM consumers) ELSE CREATE table tempTable FROM (go with u_username, u_name, u_city, u_gender, u_email FROM consumers the position u_Marriedyear = @Marriedyear) 2) If @Divorredyear not NULL DELETE FROM tempTable the position u_username IN (go with u_username FROM consumers the position u_Divorredyear = @Divorredyear) 3) If @Havechildren not NULL...
DBDev
2006-12-09 09:38:23 UTC
if you could paste the code or pseudo code, that could help figure out the problem.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...